Allow upgrading between different BCrypt encodings#7042
Allow upgrading between different BCrypt encodings#7042larsgrefer wants to merge 3 commits intospring-projects:masterfrom
Conversation
rwinch
left a comment
There was a problem hiding this comment.
Thanks for the PR @larsgrefer! I have provided comments inline
...to/src/main/java/org/springframework/security/crypto/password/DelegatingPasswordEncoder.java
Show resolved
Hide resolved
crypto/src/main/java/org/springframework/security/crypto/bcrypt/BCryptPasswordEncoder.java
Show resolved
Hide resolved
|
I'm not sure what the default behavior for invalid inputs should be.
The default of How should |
|
Good question @larsgrefer
|
07130ee to
1e05294
Compare
|
Thanks for the updates @larsgrefer. It appears that the tests fail. |
1e05294 to
f96bcd3
Compare
f96bcd3 to
a875499
Compare
|
@rwinch The tests are fixed now |
|
Thanks for all your work on this PR @larsgrefer! This is now merged into master via d3d6a87 I added a little polish to the tests via 742df2c |
This will allow the upgradeEncoding mechanism to upgrade from a lower-strength bcrypt to a higher-strength bcrypt encoding.