Expand description
BeeKEM: a concurrent variant of TreeKEM for Continuous Group Key Agreement.
This crate provides the core CGKA (Continuous Group Key Agreement) state machine used by Keyhive. It manages encryption group membership, key rotation, and the group secrets that per-content application secrets are derived from.
§no_std support
This crate is no_std-compatible with alloc. The std feature (enabled by
default) gates HashMap/HashSet usage; in no_std mode the crate falls back
to BTreeMap/BTreeSet.
Modules§
- cgka
- Exposes CGKA (Continuous Group Key Agreement) operations like producing the group secret for new content, rotating keys, and adding and removing members from the group.
- collections
- Conditional collection types that use
HashMap/HashSetwhenstdis enabled, and fall back toBTreeMap/BTreeSetforno_stdenvironments. - content_
addressed_ map - Verified statements keyed by their digest.
- encrypted
- Secrets sealed to a share key, with their public metadata: BeeKEM node secrets and the root secrets wrapped by an invitation.
- error
- Error types for CGKA operations.
- id
- Identity newtypes for BeeKEM tree members and documents.
- keys
- Share key management for CGKA tree nodes.
- node_
versions - The versions of a value at a tree node, each tagged with the operations that generated it.
- operation
- CGKA operations and their causal graph.
- pcs_key
- The root secrets of a BeeKEM tree, which are the CGKA group secrets.
- predecessors
- The immediate causal predecessors of a CGKA operation.
- secret_
store - The secret store an update writes at an inner tree node.
- transact
- Fork/merge traits for transactional operations.
- tree
- BeeKEM tree: a concurrent variant of TreeKEM for Continuous Group Key Agreement.
- treemath