Closed martinburchell closed 2 weeks ago
If in SQLite, PRAGMA key
is given the wrong key, PRAGMA cipher_migrate
can get the database in a non-readable state. Looking at the documentation, the way to fix this is to disconnect and reconnect before trying again with the key.
Related to, but not fixed by #346, if the user enters an incorrect password in the password dialog, says they have forgotten their password on the next dialog and then cancels the dialog to confirm database deletion, they are then presented with the password dialog and it is impossible for them to enter a correct password.
Workaround is to restart the client.