Expand description
Node cryptographic identity — the node’s persisted signing + WireGuard keys.
A NodeIdentity holds two 32-byte secrets:
ed25519_secret— the ed25519 signing key used to sign connection identifiers and challenge responses (its public half is the node’s stable identity pubkey).wg_secret— the Curve25519 secret for this node’s WireGuard keypair, from which the overlay address is derived.
The identity is persisted as pretty-printed JSON at
app_meta_dir()/node_identity.json and loaded (or freshly generated) via
NodeIdentity::load_or_create. Generation uses the OS CSPRNG.
Structs§
- Node
Identity - The node’s persisted cryptographic identity.