This repository has been archived by the owner on Oct 8, 2024. It is now read-only.
Replies: 1 comment 3 replies
-
Hi, Stalwart uses RustCrypto's pbkdf2 library. Make sure that the password hashes generated by your app begin with |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there - am the process of writing a web based admin app in Elixir & Phoenix for User admin - and I have implemented the secret hashing using this library --> https://hex.pm/packages/pbkdf2_elixir -- it's using the standard pbkdf2 algorithm and the salting is done by default with SHA-512 -- when authenticating with this user stalwart spits out "Invalid password hash" -- just to verify that there was not something else going on - I updated the secret using "openssl passwd -6" to generate a SHA512 hash with the same password and I could authenticate ok.... am left wondering whether the Rust implementation of PBKDF2 is not compatible with the ELIXIR (Erlang) version ? Any idea why that would not be compatible..? I also tried this library (https://github.com/thomas9911/password-rs) - as it uses a rustler based nif - and it causes the same log / error -- your feedback would be very much appreciated - thanks
Beta Was this translation helpful? Give feedback.
All reactions