backup commit

This commit is contained in:
Dorian
2026-03-17 00:03:08 +00:00
parent 9156eee017
commit 32f89fa8d5
43 changed files with 9514 additions and 308 deletions

View File

@@ -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())