-
Notifications
You must be signed in to change notification settings - Fork 721
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
security: Encrypt region boundary keys, Part 4 - KMS (#3141)
* 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>
- Loading branch information
yiwu-arbug
authored
Nov 13, 2020
1 parent
7ca7645
commit 3c62563
Showing
9 changed files
with
292 additions
and
55 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
Oops, something went wrong.