mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-12-10 01:10:09 +03:00
Changing KDF iterations breaks logged in clients #1600
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 @julian-klode on GitHub.
Subject of the issue
Changing number KDF iterations breaks logged in clients. They should be logged out instead.
Your environment
Steps to reproduce
Change KDF size, then sync client or wait for corruption to appear automatically.
Expected behaviour
Seeing what bitwarden.com does: Connected clients are logged out.
Actual behaviour
Connected clients fail to read the database
Relevant logs
Not much interesting going on. I triggered a sync on mobile manually, as it apparently did not get a push.
@BlackDex commented on GitHub:
Hmm, we have to deauthorize all the user sessions in this case it seems. Thanks for reporting.
Please note that we do not support push messages so that is not possible on our side.
@dani-garcia commented on GitHub:
This should be fixed by
448e6ac917, which invalidates users sessions when they change email, pass or kdf params.