Expand description
Membership operations: get members, invite, and revoke.
These are the high-level orchestration functions that download the membership chain from the storage, perform the operation, and upload the results.
Structs§
- Member
Info - A member as seen by the caller.
- Membership
OpsError - Membership operations error.
Functions§
- apply_
key_ rotation - Apply the effects of a member removal: update keyring, config, and encryption service. Rotate the in-use encryption key: persist it to the keyring and swap the live encryption service. Returns the new key’s fingerprint for the host to record in its own config — coven never writes the host’s config.
- get_
members - Read the membership chain from the sync storage and return the current members.
- invite_
member - Invite a member to the shared library.
- remove_
member - Remove a member from the shared library.
- sync_
authorized_ keys - Write individual
auth/keys/{pubkey}files for each current member.