Skip to content

fix: validate entire ciphertext has been processed before returning #191

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

Merged
merged 2 commits into from
May 26, 2020

Conversation

WesleyRosenblum
Copy link
Contributor

Issue #, if available:

Description of changes:

Validate that the entire ciphertext has been processed before returning

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check any applicable:

  • Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

@@ -13,16 +13,15 @@

package com.amazonaws.encryptionsdk.internal;

import java.util.Arrays;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Why the noop diff?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My IDE reordered them alphabetically

Copy link
Contributor

@seebees seebees left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the nit, this LGTM.

@WesleyRosenblum WesleyRosenblum requested review from a team May 26, 2020 19:11
Copy link
Member

@mattsb42-aws mattsb42-aws left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks like it's doing and testing the right things.

@WesleyRosenblum WesleyRosenblum merged commit a6d6309 into master May 26, 2020
@WesleyRosenblum WesleyRosenblum deleted the empty branch May 26, 2020 20:25
acioc added a commit that referenced this pull request Aug 6, 2020
* Revert "Merge pull request #173 from aws/keyring"

This reverts commit 015fc3c, reversing
changes made to dcbc562.

* Revert "Add an example for replicating the behavior of the AWS KMS MKP with the AWS KMS keyring (#178)"

This reverts commit 676407a.

* Revert "Updating changelog for version 1.7.0 (#174)"

This reverts commit f18c383.

* Updating Changelog for version 1.6.2

*Description of changes:*

Updating Changelog for version 1.6.2

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

# Check any applicable:
- [ ] Were any files moved? Moving files changes their URL, which breaks all hyperlinks to the files.

* fix: validate entire ciphertext has been processed before returning (#191)

* fix: validate entire ciphertext has been processed before returning

* Updating changelog

* Updating version for 1.6.2 release (#192)

* Revert "Merge pull request #189 from mattsb42-aws/revert"

This reverts commit bd4da5b, reversing
changes made to d88fe8b.

* Replace failing Assert.fails with assertThrows per earlier PR changes

Co-authored-by: mattsb42-aws <[email protected]>
Co-authored-by: Wesley Rosenblum <[email protected]>
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

Successfully merging this pull request may close these issues.

4 participants