Skip to main content

Module codes

Module codes 

Source
Expand description

Restore, invite and pairing codes keep every owned secret buffer zeroizing (§13).

Structs§

InviteCode
A one-time invitation; the secret permits a join request, not store access.
KeychainRestoreCode
A restore code as coven saves it in iCloud Keychain or Block Store: the store’s name as the saving device had it, the slot that set that name, and the code (D13). The name is a label for the person’s list; the code’s store id finds the store.
PairingCode
A pairing code: what the person’s new device needs to find the store and to send a request its showing device can open. It holds no keys (§13.2, D13).
RestoreCode
A person’s keys and the store’s identity and location (§13.1).

Enums§

InviteAdmits
Who an invite code admits, fixed when the admin makes it (§13.2, §13.3): the byte the code carries. It decides which person a join request may name (objects::Joiner); the joining device reads it from the decoded code.