go-sqlcipher icon indicating copy to clipboard operation
go-sqlcipher copied to clipboard

ADD: PRAGMA cipher_compatibility

Open safiir opened this issue 2 years ago • 1 comments

The cipher_compatibility pragma should be called immediately after if provided in dsn for indicating backward compatibility requirement (eg. from v4 -> v3), but not considered previously, so it lead to error file is not a database, because synchronous pragma is always executed even if cipher_compatibility pragma is not executed.

safiir avatar Mar 26 '23 11:03 safiir

I took your Pull Request @safiir inside my fork() of this repository. See https://github.com/ValentinMontmirail/go-sqlcipher/pull/10

I try to maintain the fork() to the latest version of SQLite3 and SQLCipher. I am currently supporting SQLite 3.45.0. Feel free to do PR directly there if you want to improve this lib.

ValentinMontmirail avatar Dec 26 '23 16:12 ValentinMontmirail