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

Fix 3DES-CBC #47

Merged
merged 1 commit into from
Sep 27, 2023
Merged

Fix 3DES-CBC #47

merged 1 commit into from
Sep 27, 2023

Conversation

qmuntal
Copy link
Member

@qmuntal qmuntal commented Sep 26, 2023

NewCBCEncrypter and NewCBCDecrypter implementations for 3DES are broken, we are passing the incorrect algorithm identifier when constructing the BCrypt algorithm handle.

This PR fixes it and adds some tests to ensure there are no regressions.

@qmuntal qmuntal merged commit 4de4807 into main Sep 27, 2023
25 checks passed
@qmuntal qmuntal deleted the desfix branch September 27, 2023 10:19
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.

3 participants