Expand description
A collection’s keys on a machine, and how they reach another member (SPEC_USER_DATA_SYNC_LAYER §3.1). A collection
has one key for each key epoch it has been in. A key is made on the machine that founds the collection or removes a
member, kept by a KeyStore, and handed to another member sealed to that member’s box key (the key its install
offers for sealing, derived from its WAN seed and signed into the membership chain), one sealed key for each epoch,
so a new member can open what was written before it joined. A key is never sent unsealed, and a machine that is not
a current member is given none.
The Kanban’s keys are kept in the shared store beside the board they protect (SqlKeys). A collection with
secrets of its own (a Vault) supplies a KeyStore that keeps its keys under its own protection.
Structs§
- SqlKeys
- Keys kept in the shared store, for collections whose data is in that store anyway.
- Store
Keys - This install’s side of key delivery over a
KeyStore: seals what it holds to a member, makes the key of a new epoch, and opens keys another member sealed to it.
Traits§
- KeyStore
- Where a machine keeps the keys of the collections it is a member of.
Functions§
- mint
- Makes and keeps the key for an epoch if there is none: false if it could not be made or kept.
- open_
sealed - The key a sealed one holds, opened with this install’s WAN seed; none if it was sealed to another key, for another collection or epoch, or altered.
- ring
- The keys a machine holds for a collection, one per epoch, to seal and open records with.
- seal_to
keysealed to a member’s box key, for this collection and epoch only: it opens nowhere else.