Expand description
Keys: device and master key custody, the sealed-secret files that hold them, and the cipher every encrypted Coven object is sealed with.
This crate owns the key-bearing primitives — signing keys, sealed-box keys, the AEAD cipher, the passphrase KDF, and the platform keyring — so the layers above it hold custody objects rather than raw key material.
envelope and keyring_backend are private: the passphrase vault and the
keyring-store installer are how custody and the key service do their work,
not something a caller composes.
Modules§
- custody
- Master-key custody: where the store’s master keyring is unlocked from,
where a newly established or rotated one is written, and how it is
removed.
KeyCustodyis the policy a host selects on the builder;KeyCustody::resolveturns it into theMasterKeyCustodytrait object coven drives the rest of the sync engine through. - encryption
- identity_
custody - A store’s device-identity custody: where its signing keypair is unlocked
from, where a newly established one is written, and how it is removed.
IdentityCustodyis the policy a host selects on the builder, next tocrate::custody::KeyCustody;IdentityCustody::resolveturns it into theDeviceIdentityCustodytrait object the identity-establishing call sites (create, join, restore) drive. - keys