Skip to main content

Module group_key

Module group_key 

Source
Expand description

Controller-managed hybrid group epochs for record-backed fan-out.

Epoch secrets are fresh random values and are sealed independently to every admitted member’s accepted-state-bound HyKEM recipient with COSE_Encrypt0. Relays receive only ordinary encrypted MOQT object bytes; epoch grants are control-plane objects and MUST NOT be published on a relay track.

Membership changes use an explicit prepare/commit transaction. Preparing a change creates and seals the next epoch but does not expose it as current. Committing swaps membership version, epoch, key, and member set atomically. A crash before commit therefore leaves the prior committed epoch intact.

Structs§

BlindedMember
Subscriber-side unlinkable presentation retained from the prior blinded-DH protocol. It is intentionally not a KEX key in the hybrid construction.
ControllerBinding
State that identifies the controller and the accepted CID512/did:at9p view.
DenyAllResolver
EncryptedEvent
Encrypted event payload. publisher_pubkey is an anchored Ed25519 key id; signature is a mandatory hybrid COSE composite (Ed25519 + ML-DSA-65).
EpochGrant
GroupKeyRegistry
GroupMembership
A member admission resolved from authenticated policy/record state.
GroupRef
PreparedEpoch
RotationResult
WrappedKeyEntry

Enums§

MembershipChange
RekeyPolicy

Constants§

DEFAULT_ROTATION_INTERVAL
GRACE_PERIOD
MAX_KEY_LIFETIME

Traits§

MembershipResolver
The TCB membership gate. Implementations validate accepted state, capability, expiry and the current #mesh-kem recipient before returning a binding.

Functions§

open_epoch_grant
recipient_key_id