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

pkcs5: Wrong error type in decrypt function #1634

Open
balderk opened this issue Jan 14, 2025 · 0 comments
Open

pkcs5: Wrong error type in decrypt function #1634

balderk opened this issue Jan 14, 2025 · 0 comments

Comments

@balderk
Copy link

balderk commented Jan 14, 2025

The cbc_decrypt function in pbes2/encryption.rs returns an Error::EncryptFailed on error, but Error::DecryptFailed seems more appropriate.

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