feat(crypto): add pbkdf2 support (#6303)

This change brings pbkdf2 support for password hashing and verification.
This commit is contained in:
Tim Möhlmann
2023-08-02 14:27:18 +03:00
committed by GitHub
parent dd480f8a8d
commit 4d09409328
5 changed files with 288 additions and 4 deletions

View File

@@ -383,7 +383,12 @@ SystemDefaults:
# Hasher:
# Algorithm: "scrypt"
# Cost: 15
# Hasher:
# Algorithm: "pbkdf2"
# Rounds: 290000
# Hash: "sha256" # Can be "sha1", "sha224", "sha256", "sha384" or "sha512"
# Verifiers enable the possibility of verifying
# passwords that are previously hashed using another
# algorithm then the Hasher.
@@ -402,6 +407,7 @@ SystemDefaults:
# - "bcrypt"
# - "md5"
# - "scrypt"
# - "pbkdf2" # verifier for all pbkdf2 hash modes.
Multifactors:
OTP:
# If this is empty, the issuer is the requested domain