-
Notifications
You must be signed in to change notification settings - Fork 11
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
Mutations/tony/decrypt encrypt strat #1043
base: mutations/mutations
Are you sure you want to change the base?
Mutations/tony/decrypt encrypt strat #1043
Conversation
Detected changes to the release files or to the check-files action |
Changes to the release files or the check-files action requires 2 approvals from CODEOWNERS |
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.
Some comments that will get thrown away later.
@@ -291,6 +291,111 @@ module {:options "/functionSyntax:4" } KMSKeystoreOperations { | |||
return Success(reEncryptResponse); | |||
} | |||
|
|||
method VerifyViaDecryptEncryptKey( |
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.
Praise: this is great.
Having a KMS Configuration means we can use it for VersionKey in the future.
You have raised the bar.
AwsCryptographicMaterialProviders/dafny/AwsCryptographyKeyStore/test/Fixtures.dfy
Show resolved
Hide resolved
"Key Store Items are authenticated and re-wrapped via a Decrypt and then Encrypt request. | ||
This is two separate requests to Key Management, as compared to one. | ||
But the Decrypt requests will use the Decrypt KMS Client (and Grant Tokens), | ||
while the Encrypt requests will use the Encrypt KMS Client (and Grant Tokens). | ||
This option affords for different credentials to be utilized, | ||
based on the operation. | ||
When Generating new material, | ||
KMS GenerateDataKeyWithoutPlaintext will be executed against | ||
the Encrypt option.") |
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.
We need to revise this documentation to detail how Verify works.
@texastony and @texastony, I noticed you are updating the smithy model files. |
Issue #, if available:
Description of changes:
Squash/merge commit message, if applicable:
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.