Commit Graph

1 Commits

Author SHA1 Message Date
Víctor Falcón b581206a35 fix(encryption): align stale account encrypted flags with plaintext names
A handful of legacy accounts are still flagged encrypted=true while their
name is stored in plaintext (name_iv is null). The client-side decrypt-
migration only clears the flag for accounts with an actually-encrypted name,
so these stale flags never resolve and keep the user perpetually counted as
"has encrypted accounts". Backfill the flag to match reality.

Transaction decryption is unaffected: it is driven by each transaction's
description_iv / notes_iv, not by this account flag.
2026-06-20 12:58:06 +02:00