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

Unpad should throw Error if input in Invalid #32

Open
GoogleCodeExporter opened this issue Apr 1, 2015 · 1 comment
Open

Unpad should throw Error if input in Invalid #32

GoogleCodeExporter opened this issue Apr 1, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

The unpad operation should verify that the padding bytes are as expected and 
throw an Error if they are not, rather than assuming the bytes are correct. 

Use of the wrong cipher key or specification will cause invalid padding so this 
is a common mode of failure and we should check for this to alert developers to 
the real problem.

Original issue reported on code.google.com by great...@gmail.com on 7 Apr 2012 at 2:50

@GoogleCodeExporter
Copy link
Author

Changes related to this issue have been release in v2.5.4. Please update this 
issue if all the requirements have been met.

Original comment by Jeff.Mott.OR on 30 May 2012 at 2:16

  • Added labels: ****
  • Removed labels: ****

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

No branches or pull requests

1 participant