issues
search
naxuroqa
/
Venom
a modern Tox client for the GNU/Linux desktop
GNU General Public License v3.0
282
stars
65
forks
source link
VENOM-481: Use compatibility fallback for v3 databases
#481
Closed
naxuroqa
closed
5 years ago
naxuroqa
commented
5 years ago
Sqlcipher 4 uses different default settings and will fail to load databases created with sqlcipher 3.
This commit will try with default settings first, if this fails, it will try again with PRAGMA
cipher_compatibility
set to 3 (see
https://www.zetetic.net/sqlcipher/sqlcipher-api/#cipher_compatibility
).
In the future it may be useful to provide an upgrade option in the user interface.
cipher_compatibility
set to 3 (see https://www.zetetic.net/sqlcipher/sqlcipher-api/#cipher_compatibility).