-
Vaultwarden Build Versionv1.32.2 Deployment methodOther method Custom deployment methodpersonalized docker container Reverse Proxynone Host/Server Operating SystemLinux ClientsWeb Vault Client Versionfirefox 131.0.3 Steps To Reproduce
Expected Result
Actual Resultsqlite> select email,password_iterations from users; Above steps used login x2. I'm not sure in which version it happenes. LogsNo response Screenshots or VideosNo response Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments 5 replies
-
Not sure what we can do here. Vaultwarden stores what it receives. Are you sure you didn't mixed and the Vaultwarden KDF settings with the account KDF settings? Those are two totally different items. |
Beta Was this translation helpful? Give feedback.
-
Thanks for fast reply.
|
Beta Was this translation helpful? Give feedback.
-
Also the kdf can't change without user interaction. Else you wouldn't be able to login again anymore. |
Beta Was this translation helpful? Give feedback.
-
The Vaultwarden kdf is visible in the admin settings |
Beta Was this translation helpful? Give feedback.
-
ok, so what I'm seeing is relevant to the account KDF settings. To summarize: problem 1: popup shows, even if KDF settings (as verified in sqlite) are 700007 problem 2: values shown for KDF settings are wrong (settings -> security -> keys) a. I have 700007 as sqlite shows |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I was originally looking at passwords_iterations column. Here is result of your query run now. Looks like problem no1 was my mistake of X2 vs X3 user, which with problem no2 make me no trusting values shown. sorry for that. Looks like only problem 2 exists, on both users (X2 and X3). How to reproduce:
problem no2 visible here: iterations is now 600000 while was 100000 on step 3. User iterations is 100000. |
Beta Was this translation helpful? Give feedback.
-
Well, that seems like a UI client issue, and it shows the default recommend value. If you do not click on save then it will still be 100_000 unless you save of course. As this is a web-vault/client issue, and this project does not maintain or develop those, it's not something we can fix (easily). If anything, I would suggest to check and verify if this also happens on the Bitwarden Cloud environment, if so, report this in there client repo on GitHub. Else it might be fixed already in a version newer than v2024.6.2, which Vaultwarden does not (yet) support. As this is a client issue, I'm going to move this to a discussion. |
Beta Was this translation helpful? Give feedback.
If you mean the popup regarding the Low KDF Warning, that is stored in the browsers local storage.
That is a Vaultwarden setting. That is used to hash the already hashed master-password the clients send.
This is done to prevent easy decryption of the users/hashed-masterpassword from the database.
The hash stored in the database is hashed using the
password_iterations
amount of …