Module keys

Source
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_HsTimePeriodKeySpecifier 🔒
Implement HsTimePeriodKeySpecifier for a struct with nickname and period

Structs§

BlindIdKeypairSpecifier
The blinded signing keypair.
BlindIdKeypairSpecifierInfoExtractor 🔒
BlindIdKeypairSpecifierPattern
Pattern matching some or all BlindIdKeypairSpecifier
BlindIdPublicKeySpecifier
The blinded public key.
BlindIdPublicKeySpecifierInfoExtractor 🔒
BlindIdPublicKeySpecifierPattern
Pattern matching some or all BlindIdPublicKeySpecifier
DescSigningKeypairSpecifier
The descriptor signing key.
DescSigningKeypairSpecifierInfoExtractor 🔒
DescSigningKeypairSpecifierPattern
Pattern matching some or all DescSigningKeypairSpecifier
HsIdKeypairSpecifier
The long-term identity keypair of the service.
HsIdKeypairSpecifierInfoExtractor 🔒
HsIdKeypairSpecifierPattern
Pattern matching some or all HsIdKeypairSpecifier
HsIdPublicKeySpecifier
The public part of the identity key of the service.
HsIdPublicKeySpecifierInfoExtractor 🔒
HsIdPublicKeySpecifierPattern
Pattern matching some or all HsIdPublicKeySpecifier
IptKeySpecifier 🔒
Specifies an intro point key
IptKeySpecifierInfoExtractor 🔒
IptKeySpecifierPattern 🔒
Pattern matching some or all IptKeySpecifier

Enums§

IptKeyRole 🔒
Denotates one of the keys, in the context of a particular HS and intro point

Traits§

HsTimePeriodKeySpecifier 🔒
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