Unable to import PBKDF2 passwords #4355
-
|
Hello, I'm experimenting with Ory Kratos, using the quick start and I'm trying to import pbkdf2 passwords (which is what my existing users are stored in) but I can't get it to work. I'm running locally using the command from the guide: I've successfully imported a clear text password and an md5 password following the documentation but can't get pbkdf2 to work. Here is my post request to The password is When I try to login within the credentials, I'm just receiving:
Do you have any pointers of what I doing wrong? My input seems to match the spec as per the import identities doc Thank you in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
Update:I got this working in the end. My working request became: Also I noticed a bug in the E2E test as well:
The derived length in octets is listed as 128, when the length is actually 16 (128 bits). |
Beta Was this translation helpful? Give feedback.
Update:
I got this working in the end.
For some reason, as exemplified by the E2E test, you need to remove the
=padding from the base64 encoded hash and salt. This should probably be in the documentation for importing hashed passwords as this pretty unintuitive.My working request became:
Also I noticed a bug in the E2E test as well:
The de…