-
Notifications
You must be signed in to change notification settings - Fork 720
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 <yiwu@pingcap.com>
yiwu-arbug
commented
Sep 9, 2020
yiwu-arbug
changed the title
Encrypt region boundary keys, part 1
Encrypt region boundary keys, Part 1
Sep 9, 2020
Signed-off-by: Yi Wu <yiwu@pingcap.com>
HunDunDM
reviewed
Sep 9, 2020
Yisaer
reviewed
Sep 9, 2020
Signed-off-by: Yi Wu <yiwu@pingcap.com>
Signed-off-by: Yi Wu <yiwu@pingcap.com>
Signed-off-by: Yi Wu <yiwu@pingcap.com>
comments addressed or answered. PTAL. |
yiwu-arbug
changed the title
Encrypt region boundary keys, Part 1
Encrypt region boundary keys, Part 1 - helper functions
Sep 15, 2020
Signed-off-by: Yi Wu <yiwu@pingcap.com>
Signed-off-by: Yi Wu <yiwu@pingcap.com>
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
yiwu-arbug
changed the title
Encrypt region boundary keys, Part 1 - helper functions
security: Encrypt region boundary keys, Part 1 - helper functions
Sep 16, 2020
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 <yiwu@pingcap.com> * update errno and config template Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix typo Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix tests Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix tests Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix tests Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix tests Signed-off-by: Yi Wu <yiwu@pingcap.com> * address comment in #2931 Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix loadRegion Signed-off-by: Yi Wu <yiwu@pingcap.com> * rename encryption_key_manager package Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix lint Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix lint Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix comments Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix comment Signed-off-by: Yi Wu <yiwu@pingcap.com> * use option pattern Signed-off-by: Yi Wu <yiwu@pingcap.com> * move loadRegion and saveRegion Signed-off-by: Yi Wu <yiwu@pingcap.com> * revert changes Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix doc Signed-off-by: Yi Wu <yiwu@pingcap.com> * address comment Signed-off-by: Yi Wu <yiwu@pingcap.com> * key manager Signed-off-by: Yi Wu <yiwu@pingcap.com> * add test and refactor Signed-off-by: Yi Wu <yiwu@pingcap.com> * make EncryptionKeysPath a const Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix region_crypter key manager nil check Signed-off-by: Yi Wu <yiwu@pingcap.com> * save conflict test Signed-off-by: Yi Wu <yiwu@pingcap.com> * sanity check keys revision Signed-off-by: Yi Wu <yiwu@pingcap.com> * kms Signed-off-by: Yi Wu <yiwu@pingcap.com> * test set ciphertextKey Signed-off-by: Yi Wu <yiwu@pingcap.com> * test set ciphertextKey Signed-off-by: Yi Wu <yiwu@pingcap.com> * clone region only when needed Signed-off-by: Yi Wu <yiwu@pingcap.com> * add test for config Signed-off-by: Yi Wu <yiwu@pingcap.com> * update errors Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix lint Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix lint Signed-off-by: Yi Wu <yiwu@pingcap.com> * make errdoc Signed-off-by: Yi Wu <yiwu@pingcap.com> * address comment Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix error type Signed-off-by: Yi Wu <yiwu@pingcap.com> * fix test Signed-off-by: Yi Wu <yiwu@pingcap.com>
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 yiwu@pingcap.com
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