-
Notifications
You must be signed in to change notification settings - Fork 161
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
Hasher configuration alway defaults to Base64 #320
Comments
Hey, @samograsic! Could you provide more details? I don't think that's true, the relevant pieces are these:
It is true that the hashed password, including everything among which is the salt, is base64 encoded, but the salt itself may be either utf8 or base64 when passed. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am having an issue using the PBKDF2 hasher and this configuration option:
auth_opt_hasher_salt_encoding utf-8 # salt encoding, either base64 (default) or utf-8
After some debugging I found out that the utf-8 case in the pbkdf2.go always uses the default value
The text was updated successfully, but these errors were encountered: