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

feat: increase scrypt parameters #470

Conversation

Zenithar
Copy link
Contributor

@Zenithar Zenithar commented Mar 10, 2023

Fixes #467

Release Notes:

Increase the default scrypt KDF parameters to a more recent parameter set.

Types of changes:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected).

Description of the changes being introduced by the pull request:

Provides backward compatibility to for legacy parameter set, and provides more recent parameter based on various recommendations (Scrypt Author / OWASP).

  • Legacy settings (2^15, 8, 1)
  • Standard recommended settings (2^16, 8, 1) => Targeting ~100ms
  • OWASP recommended settings (2^17, 8, 1)

Please verify and check that the pull request fulfills the following requirements:

  • Tests have been added for the bug fix or new feature
  • Docs have been added for the bug fix or new feature

@Zenithar Zenithar marked this pull request as ready for review March 10, 2023 11:36
Zenithar added 3 commits July 3, 2023 18:21
Signed-off-by: Thibault Normand <me@zenithar.org>
Signed-off-by: Thibault Normand <me@zenithar.org>
Signed-off-by: Thibault Normand <me@zenithar.org>
@rdimitrov rdimitrov force-pushed the zenithar/security_increase_scrypt_parameters branch from badc5d9 to bfacef0 Compare July 3, 2023 15:21
@rdimitrov
Copy link
Contributor

@trishankatdatadog @znewman01 @mnm678 - hey, can you have a look so we can move this forward?

@znewman01 znewman01 merged commit 6aa3072 into theupdateframework:master Jul 5, 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.

Should the scrypt parameters be updated?
4 participants