-
Notifications
You must be signed in to change notification settings - Fork 16
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
Change password encoder for bcrypt to pbkdf2 #424
Comments
btkobayashirun
added a commit
that referenced
this issue
Aug 22, 2018
btkobayashirun
added a commit
that referenced
this issue
Aug 27, 2018
btkobayashirun
added a commit
that referenced
this issue
Aug 27, 2018
yoshikawaa
pushed a commit
that referenced
this issue
Aug 29, 2018
btkobayashirun
added a commit
that referenced
this issue
Sep 7, 2018
btkobayashirun
added a commit
that referenced
this issue
Sep 12, 2018
btkobayashirun
added a commit
that referenced
this issue
Sep 20, 2018
btkobayashirun
added a commit
that referenced
this issue
Sep 27, 2018
btkobayashirun
added a commit
that referenced
this issue
Sep 28, 2018
bttanakaysd
pushed a commit
that referenced
this issue
Sep 28, 2018
bttanakaysd
added a commit
that referenced
this issue
Sep 28, 2018
btkobayashirun
added a commit
that referenced
this issue
Oct 1, 2018
bttanakaysd
pushed a commit
that referenced
this issue
Oct 2, 2018
@btkobayashirun @yoshikawaa |
btkobayashirun
added a commit
that referenced
this issue
Mar 12, 2019
btkobayashirun
added a commit
that referenced
this issue
Mar 13, 2019
btkobayashirun
added a commit
that referenced
this issue
Mar 13, 2019
yoshikawaa
pushed a commit
that referenced
this issue
Mar 13, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Change the bean of the PasswordEncoder defined in applicationContext.
https://github.com/terasolunaorg/terasoluna-gfw-web-multi-blank/blob/master/projectName-web/src/main/resources/META-INF/spring/applicationContext.xml#L12
The changed password encoder calls
Pbkdf2PasswordEncoder
viaDelegatingPasswordEncoder
.Possible Solutions
1, Create a PasswordEncoder's FactoryBean
2, Set DelegatingPasswordEncoder to be encoded by Pbkdf2 algorithm to FactoryBean.
3, Define bean in
applicationContext.xml
Affects Version/s
Fix Version/s
Final Solution
Password encoder that can be used with
DelegatingPasswordEncoder
is determined to be less than recommended by OWASP.Pbkdf2PasswordEncoder
(Encoding and matching)BCryptPasswordEncoder
(matching only)SCryptPasswordEncoder
(matching only)Note :
SCryptPasswordEncoder
only Comment out as dependency needs to be added.https://www.owasp.org/index.php/Password_Storage_Cheat_Sheet#Impose_infeasible_verification_on_attacker
Migrating Guide
Issue Links
The text was updated successfully, but these errors were encountered: