-
Notifications
You must be signed in to change notification settings - Fork 894
feat(coderd): connect dbcrypt package implementation #9523
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 34 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
fb953e4
feat(coderd): add dbcrypt package
johnstcn 3b8140b
feat(coderd): plumb through dbcrypt package
johnstcn 55b93e7
fix indentation
johnstcn f340cba
fixup! fix indentation
johnstcn feae634
check for primary key revocation on startup
johnstcn 381f078
retry insert active key on tx serialization failure
johnstcn c42e6a6
fixup! retry insert active key on tx serialization failure
johnstcn 6a50a43
use database.IsSerializedError
johnstcn 46b1ff4
encryptFields: check for nil field or digest
johnstcn 9c18168
rm insertDBCryptKeyNoLock
johnstcn 6c28ce5
Merge branch 'cj/dbcrypt_redux_1' into cj/dbcrypt_redux_2
johnstcn c54b64a
Update enterprise/cli/dbcrypt_rotate.go
johnstcn 5959b34
Update enterprise/coderd/coderd.go
johnstcn b1546b1
add unit test for ExtractAPIKeyMW
johnstcn 3859e03
add unit test for cli.ConnectToPostgres
johnstcn a4f93c5
Merge remote-tracking branch 'origin/main' into cj/dbcrypt_redux_2
johnstcn 55a0fd0
DON'T PANIC
johnstcn cce0244
debug log user_ids
johnstcn d51ec66
dbcrypt-rotate -> server dbcrypt rotate
johnstcn aa39fcc
refactor: move rotate logic into dbcrypt
johnstcn e69e3ef
add decrypt/delete commands
johnstcn ebf4eef
fixup! add decrypt/delete commands
johnstcn 2de6cc3
beef up unit tests, refactor cli
johnstcn 7774811
update golden files
johnstcn 35ca78f
Update codersdk/deployment.go
johnstcn 3a92a7d
Merge remote-tracking branch 'origin/main' into cj/dbcrypt_redux_2
johnstcn 8b1f43c
revoke all active keys on dbcrypt delete
johnstcn 270cdc1
fixup! Merge remote-tracking branch 'origin/main' into cj/dbcrypt_red…
johnstcn 2514ffe
update docs
johnstcn cd351af
fixup! update docs
johnstcn 2f5c112
fixup! update docs
johnstcn 2450d13
soft-enforce dbcrypt in license
johnstcn e56b639
do not add external token encryption keys by default (as it will alwa…
johnstcn 441fcbf
update golden files
johnstcn ba14128
log encryption status on startup
johnstcn 2ae45c6
modify CLI output
johnstcn 13451f0
Merge remote-tracking branch 'origin/main' into cj/dbcrypt_redux_2
johnstcn b3ff024
rm unused golden file
johnstcn 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
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.