Skip to main content

Module pk

Module pk 

Source
Expand description

This module is where all relay related keys are declared along their key specifier for the KeyMgr so some of them can be stored on disk.

Structs§

RelayIdentityKeypair
[KP_relayid_ed] Long-term identity keypair. Never rotates.
RelayIdentityPublicKey
Public key component of this keypair. Useful if we move the public key around, it then keeps it semantic with the name and less prone to errors.
RelayIdentityRsaKeypair
[KP_relayid_rsa] Legacy RSA long-term identity keypair. Never rotates.
RelayIdentityRsaPublicKey
Public key component of this keypair. Useful if we move the public key around, it then keeps it semantic with the name and less prone to errors.
RelayLinkSigningKeypair
[KP_link_ed] Short-term signing keypair for link authentication. Rotated frequently.
RelayLinkSigningPublicKey
Public key component of this keypair. Useful if we move the public key around, it then keeps it semantic with the name and less prone to errors.
RelayNtorKeypair
[KP_ntor] Medium-term keypair for the circuit extension handshake. Rotated periodically.
RelayNtorKeys
The relay’s ntor key set contains both the current key and the previous one, allowing it to handle clients or relays that may be using different consensus views.
RelayNtorPublicKey
Public key component of this keypair. Useful if we move the public key around, it then keeps it semantic with the name and less prone to errors.
RelaySigningKeypair
[KP_relaysign_ed] Medium-term signing keypair. Rotated periodically.
RelaySigningPublicKey
Public key component of this keypair. Useful if we move the public key around, it then keeps it semantic with the name and less prone to errors.