Expand description
Federation signing-key storage, acquisition, signing, and verification.
The service loads the local Ed25519 identity, caches remote current and old verify keys, fetches missing keys from origins or configured notaries, and supplies the cryptographic operations used by federation event handling.
Modulesยง
- acquire ๐
- Best-effort acquisition of missing federation verify keys.
- get ๐
- Retrieval of cached and remote federation verify keys.
- keypair ๐
- Local Ed25519 keypair persistence and initialization.
- request ๐
- Federation requests for origin and notary signing-key documents.
- sign ๐
- Local signing and event-ID generation helpers.
- verify ๐
- Event-ID derivation and federation signature verification.
Structsยง
Functionsยง
- extract_
key ๐ - key_
exists ๐ - merge_
old_ ๐keys
Type Aliasesยง
- PubKey
Map - Public keys grouped first by server name and then by key ID.
- PubKeys
- Public keys for one server, indexed by textual key ID.
- Verify
Keys - Verify keys indexed by Matrix server signing-key ID.