backup commit
This commit is contained in:
@@ -61,6 +61,11 @@ impl NodeIdentity {
|
||||
})
|
||||
}
|
||||
|
||||
/// Access the signing key (for key derivation, e.g. mesh encryption).
|
||||
pub fn signing_key(&self) -> &SigningKey {
|
||||
&self.signing_key
|
||||
}
|
||||
|
||||
/// Public key as hex string (for ServerInfo, Nostr, etc.)
|
||||
pub fn pubkey_hex(&self) -> String {
|
||||
hex::encode(self.signing_key.verifying_key().as_bytes())
|
||||
|
||||
Reference in New Issue
Block a user