mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-05-22 16:14:20 -05:00
Change Master Password with "encryption key rotation" fails (but password is changed) #722
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 @BlackDex on GitHub (Jun 7, 2020).
Subject of the issue
When changing the master password and checking the "Also rotate my account's encryption key" causes an error
422 Unprocessable Entity.Your environment
Steps to reproduce
Expected behaviour
No errors
Actual behaviour
Error occurred and need to manually logout and back in again to see passwords.
Relevant logs
@BlackDex commented on GitHub (Jun 7, 2020):
While fixing issue #1022 i encountered this problem.
It appears to happen after trying to clone an item with an attachment within an organization.
This created bogus empty password items which in turn caused issues during the key rotation.
The solution is to first remove these items from the vault and the trash folder before chaining the master password with key-rotation.