mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-02-05 00:29:40 +03:00
Issue with Server side KDF Iterations not showing altered in db.sqlite3 #1498
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @talkincyber on GitHub (Feb 5, 2023).
Subject of the issue
Issue with Client side KDF Iterations not showing altered in db.sqlite3. I recently updated my KDF iterations client side on the web vault to 600k and when looking at the sqlite database, it does not show that the iterations changed, it still shows 100k.
Deployment environment
Steps to reproduce
I run Vaultwarden via a "stack" in portainer. I just changed the KDF iterations and then also changed my password and said for it to rotate my account keys and it seems it's still at 100k based on the database file.
Expected behaviour
I would expect the database entry for my user account to be updated with the proper amount otherwise it makes me believe the key was not changed and the iterations did not change. I changed my password after changing it as well and it did not have an affect.
Actual behaviour
Troubleshooting data
Here is a screenshot of the server side admin panel showing 600k iterations
Here is a screenshot of the database for my account selecting password iterations from the table.
@talkincyber commented on GitHub (Feb 5, 2023):
I restarted vaultwarden in-between chaning the password iterations and changing my password too.
@BlackDex commented on GitHub (Feb 5, 2023):
Not sure what you are reporting here. But i think you tried to change the server side after the whole client change, and saw it didn't changed for your account.
That is true for the version of Vaultwarden you are using. That is fixed in the
testingtagged images already. There it will increase your server side kdf on login.@BlackDex commented on GitHub (Feb 5, 2023):
Fixed already via #3163