Currently passwap does not support Django pbkdf2 hashes.
Example: pbkdf2_sha256$100000$eWZncb8EO0lM$HddIrL/Yuvg91JrroQWqLk4kIJRzD25olN2+0UM8MoQ=
- Issue: zitadel/passwap does not support the Django format. Ref:
|
const ( |
|
IdentifierSHA1 = "pbkdf2" |
|
IdentifierSHA224 = IdentifierSHA1 + "-sha224" |
|
IdentifierSHA256 = IdentifierSHA1 + "-sha256" |
|
IdentifierSHA384 = IdentifierSHA1 + "-sha384" |
|
IdentifierSHA512 = IdentifierSHA1 + "-sha512" |
|
|
|
Prefix = "$" + IdentifierSHA1 |
|
) |
. This leads to a "internal server error" when logging in.
- Issue: Just updating the format from
pbkdf2_sha256$100000$eWZncb8EO0lM$HddIrL/Yuvg91JrroQWqLk4kIJRzD25olN2+0UM8MoQ= to pbkdf2-sha256$100000$eWZncb8EO0lM$HddIrL/Yuvg91JrroQWqLk4kIJRzD25olN2+0UM8MoQ= results in a password incorrect when logging in.
Originally posted by @schettn in zitadel/zitadel#8491 (comment)
Currently passwap does not support Django pbkdf2 hashes.
Example:
pbkdf2_sha256$100000$eWZncb8EO0lM$HddIrL/Yuvg91JrroQWqLk4kIJRzD25olN2+0UM8MoQ=passwap/pbkdf2/pbkdf2.go
Lines 27 to 35 in f5db279
pbkdf2_sha256$100000$eWZncb8EO0lM$HddIrL/Yuvg91JrroQWqLk4kIJRzD25olN2+0UM8MoQ=topbkdf2-sha256$100000$eWZncb8EO0lM$HddIrL/Yuvg91JrroQWqLk4kIJRzD25olN2+0UM8MoQ=results in apassword incorrectwhen logging in.Originally posted by @schettn in zitadel/zitadel#8491 (comment)