Files
vaultwarden/migrations/sqlite/2026-11-02-120000_reset_user_key_id/up.sql
T

5 lines
260 B
SQL

-- Key rotations before this kept the id of the old user key, so every new
-- cipher was refused from then on. Stale ids can't be told apart, so clear
-- all of them; clients record their current key's id again when it's empty.
UPDATE users SET key_id = NULL;