-
Notifications
You must be signed in to change notification settings - Fork 728
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
security: Encrypt region boundary keys, Part 1 - helper functions #2931
Merged
Conversation
This file contains 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
Signed-off-by: Yi Wu <[email protected]>
yiwu-arbug
commented
Sep 9, 2020
Signed-off-by: Yi Wu <[email protected]>
Signed-off-by: Yi Wu <[email protected]>
HunDunDM
reviewed
Sep 9, 2020
Yisaer
reviewed
Sep 9, 2020
Signed-off-by: Yi Wu <[email protected]>
Signed-off-by: Yi Wu <[email protected]>
Signed-off-by: Yi Wu <[email protected]>
Signed-off-by: Yi Wu <[email protected]>
Signed-off-by: Yi Wu <[email protected]>
comments addressed or answered. PTAL. |
Signed-off-by: Yi Wu <[email protected]>
Signed-off-by: Yi Wu <[email protected]>
Signed-off-by: Yi Wu <[email protected]>
Signed-off-by: Yi Wu <[email protected]>
Signed-off-by: Yi Wu <[email protected]>
Signed-off-by: Yi Wu <[email protected]>
Yisaer
approved these changes
Sep 16, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
HunDunDM
reviewed
Sep 17, 2020
ti-chi-bot
pushed a commit
that referenced
this pull request
Nov 13, 2020
* Encrypt region boundary keys, Part 2 - server changes Signed-off-by: Yi Wu <[email protected]> * update errno and config template Signed-off-by: Yi Wu <[email protected]> * fix typo Signed-off-by: Yi Wu <[email protected]> * fix tests Signed-off-by: Yi Wu <[email protected]> * fix tests Signed-off-by: Yi Wu <[email protected]> * fix tests Signed-off-by: Yi Wu <[email protected]> * fix tests Signed-off-by: Yi Wu <[email protected]> * address comment in #2931 Signed-off-by: Yi Wu <[email protected]> * fix loadRegion Signed-off-by: Yi Wu <[email protected]> * rename encryption_key_manager package Signed-off-by: Yi Wu <[email protected]> * fix lint Signed-off-by: Yi Wu <[email protected]> * fix lint Signed-off-by: Yi Wu <[email protected]> * fix comments Signed-off-by: Yi Wu <[email protected]> * fix comment Signed-off-by: Yi Wu <[email protected]> * use option pattern Signed-off-by: Yi Wu <[email protected]> * move loadRegion and saveRegion Signed-off-by: Yi Wu <[email protected]> * revert changes Signed-off-by: Yi Wu <[email protected]> * fix doc Signed-off-by: Yi Wu <[email protected]> * address comment Signed-off-by: Yi Wu <[email protected]> * key manager Signed-off-by: Yi Wu <[email protected]> * add test and refactor Signed-off-by: Yi Wu <[email protected]> * make EncryptionKeysPath a const Signed-off-by: Yi Wu <[email protected]> * fix region_crypter key manager nil check Signed-off-by: Yi Wu <[email protected]> * save conflict test Signed-off-by: Yi Wu <[email protected]> * sanity check keys revision Signed-off-by: Yi Wu <[email protected]> * kms Signed-off-by: Yi Wu <[email protected]> * test set ciphertextKey Signed-off-by: Yi Wu <[email protected]> * test set ciphertextKey Signed-off-by: Yi Wu <[email protected]> * clone region only when needed Signed-off-by: Yi Wu <[email protected]> * add test for config Signed-off-by: Yi Wu <[email protected]> * update errors Signed-off-by: Yi Wu <[email protected]> * fix lint Signed-off-by: Yi Wu <[email protected]> * fix lint Signed-off-by: Yi Wu <[email protected]> * make errdoc Signed-off-by: Yi Wu <[email protected]> * address comment Signed-off-by: Yi Wu <[email protected]> * fix error type Signed-off-by: Yi Wu <[email protected]> * fix test Signed-off-by: Yi Wu <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Signed-off-by: Yi Wu [email protected]
What problem does this PR solve?
This is part 1 for adding TDE support to PD. pingcap/tidb#18262 It contains helper methods for encryption.
What is changed and how it works?
This PR adds utility types and functions:
Check List
Tests
Related changes
Release note