Skip to content

Update Argon2PasswordEncoder defaults to match OWASP Recommendations for 2023. #12954

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

Open
breser opened this issue Mar 31, 2023 · 0 comments
Open
Labels
status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement

Comments

@breser
Copy link

breser commented Mar 31, 2023

Expected Behavior

Argon2PasswordEncoder should have defaults that match OWASP Cheat Cheat Recommendations.

Current Behavior

Current behavior is close but the cheat cheat has been updated from
15 MiB to 19 MiB of memory. This based on the memory bandwidth of modern GPUs as explained in the comment on the pull request from @Sc00bz linked above.

Context

Was evaluating Spring Security's defaults against OWASP's Cheat Sheet Recommendations for Argon2 usage. It seems that you made a similar update in 2022 via gh-10506.

@breser breser added status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement labels Mar 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

1 participant