Skip to content
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

Feature request: add option to immediately validate ciphertext by decrypting it #235

Open
farleyb-amazon opened this issue Nov 16, 2021 · 0 comments

Comments

@farleyb-amazon
Copy link
Contributor

farleyb-amazon commented Nov 16, 2021

When encrypting data to create an encrypted message, some customers may want to immediately attempt a decryption of the data before returning it in order to confirm that the ciphertext is valid and can be decrypted. We could offer this as a built-in option of the ESDK; during encrypt, we internally decrypt the encrypted message before returning it.

We'll have to think a bit about the API here to come up with something that works for all supported languages. See one possible approach here: aws/aws-encryption-sdk-java#402

See also: aws/aws-encryption-sdk-java#279

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant