Skip to main content

Module rekey

Module rekey 

Source
Expand description

Bounded traffic-key update (E02.4).

Rekey and replayed cached PolicyOutcome::Allow do not renew service authority. Drain: Active → Draining is permitted; application from Draining is rejected except closure. Old-key retention is current plus MAX_OLD_KEYS previous generations with actual secret material. Packages remain open.

CRY-02.11: a traffic-key update is not fresh hybrid recovery.

Structs§

RekeyTable
Owner of traffic secrets. Not Copy: generations without keys are not a rotation.
TrafficKeySlot

Enums§

KeyPhase

Constants§

MAX_OLD_KEYS
Bounded old-key retention (current + 2 old).

Functions§

admit_after_rekey
Drain: Active → Draining is ok; application from Draining is Unauthorized except closure.
rekey_renews_service_authority
Rekey never renews service authority (NET-05.12).
replayed_cached_allow_renews_grant
Replayed cached Allow does not become a current grant.
traffic_update_is_hybrid_recovery
CRY-02.11: key update ≠ fresh hybrid recovery.