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

Increase the number of PBKDF2 iterations to 600k #48

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

maraino
Copy link

@maraino maraino commented May 31, 2023

This commit increases the number of PBKDF2 iterations used in PBES2 from 100k to 600k. In past few months the new password recommendations are to use at least 600k with SHA-256.

See https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2

PS: I implemented PBES2 support in the original square/go-jose a few years ago.

This commit increases the number of PBKDF2 iterations used in PBES2 from
100k to 600k. In past few months the new password recommendations are to
use at least 600k with SHA-256.

See https://cheatsheetseries.owasp.org/cheatsheets/Password_Storage_Cheat_Sheet.html#pbkdf2

Signed-off-by: Mariano Cano <mariano.cano@gmail.com>
@aarongable aarongable merged commit f5e055d into go-jose:v3 Jun 29, 2023
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.

4 participants