Expand description
KeySpecifier implementations for hidden service keys.
Some of these KeySpecifiers represent time-bound keys (that are only valid
as long as their time period is relevant). Time-bound keys are expired (removed)
by expire_publisher_keys.
If you add a new key that is not a per-service singleton, you also need to
make arrangements to delete old ones.
For TP-based keys, that involves deriving HsTimePeriodKeySpecifier
and adding a call to remove_if_expired! in expire_publisher_keys.
Macrosยง
- derive_
deftly_ ๐template_ HsTime Period KeySpecifier - Implement
HsTimePeriodKeySpecifierfor a struct withnicknameandperiod
Structsยง
- Blind
IdKeypair Specifier - The blinded signing keypair.
- Blind
IdKeypair ๐Specifier Info Extractor - Blind
IdKeypair Specifier Pattern - Pattern matching some or all
BlindIdKeypairSpecifier - Blind
IdPublic KeySpecifier - The blinded public key.
- Blind
IdPublic ๐KeySpecifier Info Extractor - Blind
IdPublic KeySpecifier Pattern - Pattern matching some or all
BlindIdPublicKeySpecifier - Desc
Signing Keypair Specifier - The descriptor signing key.
- Desc
Signing ๐Keypair Specifier Info Extractor - Desc
Signing Keypair Specifier Pattern - Pattern matching some or all
DescSigningKeypairSpecifier - HsId
Keypair Specifier - The long-term identity keypair of the service.
- HsId
Keypair ๐Specifier Info Extractor - HsId
Keypair Specifier Pattern - Pattern matching some or all
HsIdKeypairSpecifier - HsId
Public KeySpecifier - The public part of the identity key of the service.
- HsId
Public ๐KeySpecifier Info Extractor - HsId
Public KeySpecifier Pattern - Pattern matching some or all
HsIdPublicKeySpecifier - IptKey
Specifier ๐ - Specifies an intro point key
- IptKey
Specifier ๐Info Extractor - IptKey
Specifier ๐Pattern - Pattern matching some or all
IptKeySpecifier
Enumsยง
- IptKey
Role ๐ - Denotates one of the keys, in the context of a particular HS and intro point
Traitsยง
- HsTime
Period ๐KeySpecifier - Keys that are used by publisher, which relate to our HS and a TP
Functionsยง
- expire_
publisher_ ๐keys - Expire publisher keys for no-longer relevant TPs