Conversation
matoszz
commented
Jul 31, 2026
Member
- Token signing keys now rotate automatically off certificate lifetimes - the signer with the most remaining validity wins, new keys wait for JWKS propagation before signing, and no key signs tokens it can't outlive
- Rotation happens live in the running server with no restart, no dropped sessions, and no stale JWKS (knocks on wood) - consumers holding the token manager see new keys immediately, and failed reloads retry with backoff
- Public keys of retired signers are archived in redis and served for verification across all deployment replicas, so tokens signed before a rotation keep verifying until they naturally expire
- Existing tokens and sessions survive the upgrade with zero config: keys named by the old ULID convention keep verifying under the kid embedded in outstanding tokens, in either deploy order between infra and core
- Key identity now derives from the key material itself (RFC 7638 thumbprint) rather than filenames, so kids stay stable no matter how or where keys are mounted
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


