Repository navigation
Store tokens and client secrets as digests (D1 of 3: read by digest, plaintext fallback) #3192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+1,436
−255
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
a81e727
Store tokens and client secrets as digests, reading by digest first
jeremy c5f94f0
Write a healed token's digest to the primary, even when it was found …
jeremy 7babdf8
Point the conformance record at #3192
jeremy 265889c
Keep a revealed token out of Turbo's snapshot cache
jeremy b2fdb14
Fall back to plaintext for prefixed tokens too, and only on an exact …
jeremy c777f06
Count a client secret's randomness as #3163 now draws it
jeremy 9051278
Present the superseded-replay pin's refresh token from memory, as dig…
jeremy cdb518f
Tell Kamal operators to list OAUTH_TOKEN_PEPPER in env.secret too
jeremy 297b091
Keep the token form page out of Turbo's cache, so Back fetches a fres…
jeremy c53c060
Present and compare the bare-Basic pin's credentials as digests require
jeremy 2d1cb3a
Present the read-only grant pin's token from memory, as digests require
jeremy ca60227
Send grants' raw tokens in the challenge pins, which sent none since …
jeremy 4cfbbd2
Authenticate an undigested token outside the primary datacenter witho…
jeremy 09523ad
Advertise the issuer without a trailing slash, as bc3 does
jeremy 617edb8
Keep identity_access_tokens.refresh_token until it can go with token
jeremy 227b388
Refuse an OAuth parameter that arrives as a list where one value is m…
jeremy 6fd18cd
Merge pull request #3236 from basecamp/oauth-scalar-params
jeremy da3f593
Merge main into oauth-token-digests
jeremy 52d49bc
Bring main's tests up to this branch: Ruby 4, webhook attribution, to…
jeremy 0fb6c23
Filter the code parameter by its whole name, so code_challenge stays …
jeremy 0cfe381
Redact retired refresh tokens from logged SQL
jeremy 474f65f
Merge oauth-delegate-resources: its migrations can be run again after…
jeremy 9fd6aac
Make this branch's migrations safe to run again after stopping partway
jeremy 56ceee4
Merge oauth-delegate-resources
jeremy 4e5c365
Merge oauth-delegate-resources into oauth-token-digests
jeremy 2732e69
Merge oauth-delegate-resources into oauth-token-digests
jeremy 4fa5587
Merge oauth-delegate-resources into oauth-token-digests
jeremy 1e5bf0f
Merge oauth-delegate-resources into oauth-token-digests
jeremy 6dc3f6f
Merge oauth-delegate-resources into oauth-token-digests
jeremy b910454
Merge oauth-delegate-resources into oauth-token-digests
jeremy e713ba8
Merge oauth-delegate-resources into oauth-token-digests
jeremy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.