Expand description
KeySpecifier
implementations for hidden service keys.
Some of these KeySpecifier
s 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
HsTimePeriodKeySpecifier
for a struct withnickname
andperiod
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
- hsid_
keypair_ 🔒key_ specifier_ ctor_ path - The
CTorPath
of HsIdKeypairKeySpecifier - hsid_
public_ 🔒key_ specifier_ ctor_ path - The
CTorPath
of HsIdPublicKeySpecifier