eda/sqlCipher; use 'PRAGMA cipher_use_hmac = OFF;'. to support sqlcipher version...
authorRejean Loyer <rejean.loyer@gmail.com>
Mon, 4 Mar 2013 20:04:48 +0000 (15:04 -0500)
committerJerome St-Louis <jerome@ecere.com>
Wed, 6 Mar 2013 13:23:09 +0000 (08:23 -0500)
commit80b2a0efdd2c62abbffaeea4bd002b1de3aa6c12
treea7dd48c725eff3e791a23cb86844d3a127d7a115
parent3f5cf52607296dc827b282e24a6d1f64b53ed0a7
eda/sqlCipher; use 'PRAGMA cipher_use_hmac = OFF;'. to support sqlcipher version 1.1.x databases. improved EDASQLiteCipher::OpenDatabase messages, requirements, output and cleanup.
note from sqlcipher api documentation:
   SQLCipher 2.0 introduced a per-page HMAC to validate that the page data has not be tampered
   with. By default, when creating or opening a database using SQLCipher 2, SQLCipher will
   attempt to use an HMAC check. This change in database format means that SQLCipher 2 can't
   operate on version 1.1.x databases by default. Thus, in order to provide backward
   compatibility with SQLCipher 1.1.x, PRAGMA cipher_use_hmac can be used to disable the HMAC
   functionality on specific databases.
eda/drivers/sqliteCipher/EDASQLiteCipher.ec