Securecookie Session/State cookies + leader-authored Cookie key #39
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lab/authz-bridge!39
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "t33-securecookie"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #33
Migrate the Session and State/nonce cookies to signed+encrypted
gorilla/securecookieblobs, keyed by a single bridge-level Cookie key (an HMAC hashKey + an AES blockKey) shared across all replicas. The key is BYO (a pre-existing Secret is used as-is, so cluster managers can create/rotate it) with a leader-generated create-if-absent fallback; every replica's mirror carries the codec in the Snapshot (no serving-path K8s read).{id_token, refresh_token}; State blob{app_key, nonce, return_to}(pkce_verifieris added in #36).Stacked on #32. Part of the public-client + trio effort (spec #31).