You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ADR 006: No client notification mechanism for epoch key rotation #68
When server_secret rotates, all outstanding epoch keys become invalid. The ADR states: "server_secret rotation invalidates all outstanding epoch keys and sealed envelopes, forcing all clients to re-request."
Problem:
Clients cache epoch keys in memory only. There's no broadcast notification mechanism — clients discover the rotation only when decryption fails. This means:
Client receives a sealed envelope for epoch N
Client tries to unseal with cached epoch key
Decryption fails (key was derived from old server_secret)
Client must re-request the epoch key from the app server
All in-flight content delivery fails silently until the client catches up
Impact:
Every server_secret rotation causes a burst of decryption failures across all active clients, with no graceful degradation path.
Recommendation:
Specify a rotation signal mechanism:
App server pushes a KeyRotated { new_epoch_id } event via the existing WebSocket/SSE connection
Clients proactively re-request the epoch key upon receiving the signal
Define a grace period where both old and new epoch keys are valid (dual-key overlap)
Activity
docs: fix encryption and governance issues (#76, #68, #26, #16, #78, #65