-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Check BCrypt hashes of byte array passwords #7662
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
Check BCrypt hashes of byte array passwords #7662
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the PR @rafahop!
I've left a couple of comments inline.
crypto/src/test/java/org/springframework/security/crypto/bcrypt/BCryptTests.java
Outdated
Show resolved
Hide resolved
crypto/src/test/java/org/springframework/security/crypto/bcrypt/BCryptTests.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple of small things left @rafahop and then we should be good to merge.
crypto/src/main/java/org/springframework/security/crypto/bcrypt/BCrypt.java
Show resolved
Hide resolved
crypto/src/main/java/org/springframework/security/crypto/bcrypt/BCrypt.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rafahop All looks good, except there are some conflicts that are preventing me from merging.
Could you please squash your commits into one and rebase on the latest master branch to fix any conflicts?
All done @eleftherias ! 👍 |
Thanks for the PR @rafahop! This is now merged into master. |
BCrypt: add missing overloaded version of
checkpw
accepting a byte array.Fixes gh-7661