To enhance password security #12205
rktyt
started this conversation in
Feature Requests & Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Currently (as of v3.35.1), it's not easy to customize password validation (password policy).
To do it properly, you need to enable the disableLocalStrategy option and implement a custom strategy.
But that's not really what we're aiming for — it should be supported out of the box.
I also think the password hashing algorithm should be configurable out of the box, without having to override the entire auth strategy.
PBKDF2 is currently used for password hashing, but the iterations and digest settings are hardcoded, making them non-configurable.
Our organization is required to follow the OWASP guidelines (see: OWASP Password Storage Cheat Sheet), and as such, the current implementation of password hashing doesn't meet our requirements.
In some cases, we may also prefer to use Argon2id instead of PBKDF2.
Additionally, the strength requirements for password hashes are reviewed annually.
Related issues or discussions:
I think it would be ideal if it could be specified as follows.
Beta Was this translation helpful? Give feedback.
All reactions