Fixed in https://github.com/badbundle/vault-app/pull/666 (merged as 0bea27c1).
- What's deleted: Delete All Data now also removes the open vault's backup password and the record that it's set. For the plain store that's the keychain's; for an encrypted vault it's the vault's own, so a duress vault only removes its own. Removing never reads the password, so it never asks to authenticate.
- If something fails: removing the password and clearing AutoFill are each tried whether or not the other fails, and deleting again finishes whatever didn't.
- Auto-backup: it keeps its configuration and pauses until a new backup password is set.
- Danger Zone:
- "Your backup password" is now under Deleted from this device.
- The overview says to know your backup password before deleting, since restoring will need it.
- The confirmation says the password goes too.
- Docs:
docs/on-device-encryption.mdand the CHANGELOG are updated. - Tests: new store, open-vault-settings and data-model tests; the Danger Zone snapshots are re-recorded.