Fixes #26996: Add argon2id support for local hash
https://issues.rudder.io/issues/26996
- The way the migration currently works prevent users from modifying the hash algorithm used for new passwords as the value is overridden at each file load. I just updated the tests to hardcoded
argon2idvalue instead of bcrypt as it should be transparent for users. - Removing
verifyHashwhich does not appear to be used, and I don't see any reason to do this kind of check. - Improved a bit the tests. Especially check that wrong passwords are not accepted.
- Centralize configuration values in
PasswordEncoderType.
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
PR updated with a new commit
LGTM, appart the magnitude factor in the memory parameter in argon algo
PR updated with a new commit
PR updated with a new commit
OK, squash merging this PR