Replies: 1 comment 3 replies
-
The passwords should just work after the migration. That's why there are multiple hashers in the list to support older methods (and migrate them to the new one upon login).
|
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
Uh oh!
There was an error while loading. Please reload this page.
-
Migrating from an old Centos 7 server to Rocky 9. I installed the same exact version of Weblate 4.8 on the new server. Copied over my data, home, and settings. Backed up and restored the DB. I can see the users in the DB, they are using the pbkdf2_sha256 algo. I verified that that the algo is set in the Hashers (its handled by the PBKDF2PasswordHasher class).
But no user can login. I reset the admin password and can get in with that, and it got a new Argon2 hash. If I change the PBKDF2PasswordHasher to be the top, and then reset a user's password, I can login as that user and I see the account has a new pbkdf2_sha256 hashed password in the db. So its not like the Hasher isn't working. I have upgraded Weblate to 5.4.3 (latest for Python 3.9) and used the new example setting file and edited my settings into it, still the same issue.
pbkdf2_sha256 passwords are suppose to be portable, as it contains everything it needs in the hash (algo, iterations, salt, and hash). Django doesn't use the Secret_key to generate user password, but even if it did, I have the same key as the old box. No errors in any of the logs. The audit log just states "Could not sign in using password." So I am at a lost as to why it isn't working.
Next will try upgrading to python10 and the absolute latest Weblate, but I haven't seen anything in the changelog, issues, or PRs that makes me think this is something that was resolved in a later version.
Relevant versions
Beta Was this translation helpful? Give feedback.
All reactions