-
Notifications
You must be signed in to change notification settings - Fork 980
feat: add cache abstraction for fetching signing keys #14777
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
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
c6fdfe6
feat: add keychain abstraction for fetching rotated keys
sreya f9bff68
Refactor DBKeyCache to DBCache with clock support
sreya 46503b6
Refactor CryptoKey handling to use codersdk package
sreya c63020a
Refactor CryptoKey conversion to use db2sdk package
sreya 3e723ce
make gen
sreya 201347f
Refactor key verification with db2sdk conversion
sreya 5f9744b
pr comments
sreya 5803092
Refactor error message for key fetching
sreya ea659b0
Refactor DBKeyCache with robust invalidation timing
sreya fe0b4e4
Add leak detection to dbkeycache tests
sreya 430e1c2
Add mutex lock to DBCache Close method
sreya 4dfdd4f
Add closed state to DBCache for safe shutdown
sreya 5078c2a
Optimize timer reset in fetch method
sreya 280d521
Refactor DBCache to remove unused timer function
sreya 05dec8a
finale
sreya 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
Refactor CryptoKey handling to use codersdk package
Refactored the CryptoKey handling logic to leverage the codersdk package. This enhances consistency and modularity by centralizing CryptoKey management and related operations. The refactoring also includes renaming functions to better reflect their functionality and using the db2sdk package for database to SDK conversions.
- Loading branch information
commit 46503b66b3e1a5e27bf1958cd393cfdb25363712
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.