Commit Graph

226 Commits

Author SHA1 Message Date
Stephen Lombardo
9d3769e101 remove redundant backup tests that have been moved to sqlcipher-backup.test 2019-10-08 14:23:59 -04:00
Stephen Lombardo
6936ef0d11 complete 424d75a5a4 2019-10-03 15:43:04 -04:00
Stephen Lombardo
424d75a5a4 adjust backup API block so that encrypted->encrypted is permitted 2019-10-03 15:40:59 -04:00
Stephen Lombardo
2f8202bf51 update tests to expect "ok" from PRAGMA key 2019-09-25 13:36:22 -04:00
Stephen Lombardo
cf5ec544d2 Merge sqlite-release(3.29.0) into prerelease-integration 2019-09-25 12:13:27 -04:00
Stephen Lombardo
400c015f3f Snapshot of upstream SQLite 3.29.0 2019-09-25 10:27:57 -04:00
Edouard Oger
d211c296e6
NSS crypto implementation 2019-06-27 14:11:33 -04:00
Stephen Lombardo
4f5a821e93 do not attempt to lock the database as it will fail if the first page is invalid 2019-05-28 15:40:59 -04:00
Stephen Lombardo
83cddfda21 bumps version to 4.2.0 2019-05-20 15:05:05 -04:00
Stephen Lombardo
6158146e65 Merge sqlite-release(3.28.0) into prerelease-integration 2019-05-15 12:58:11 -04:00
Stephen Lombardo
801ae64881 Snapshot of upstream SQLite 3.28.0 2019-05-15 12:49:41 -04:00
Stephen Lombardo
488d81e8da implementation of PRAGMA cipher_integrity_check and associated tests 2019-05-15 10:24:27 -04:00
Stephen Lombardo
0acf2e7867 improves sqlcipher_export to resolve #310 2019-03-12 09:54:02 -04:00
Stephen Lombardo
9428ef0ed2 add test to verify temp tables 2019-03-05 10:57:06 -05:00
Stephen Lombardo
549cee5505 Merge sqlite-release(3.27.2) into prerelease-integration 2019-02-25 15:00:57 -05:00
Stephen Lombardo
49234e8eaf Snapshot of upstream SQLite 3.27.2 2019-02-25 14:46:38 -05:00
Stephen Lombardo
cced1c4d8b bump version to 4.1.0 2019-02-21 09:12:12 -05:00
Stephen Lombardo
eb6639c16c add test for VACUUM INTO 2019-02-13 13:11:10 -05:00
Stephen Lombardo
c22eaf85ed Merge sqlite-release(3.27.1) into prerelease-integration 2019-02-10 10:44:20 -05:00
Stephen Lombardo
4745d8a485 Snapshot of upstream SQLite 3.27.1 2019-02-10 10:35:42 -05:00
Stephen Lombardo
19961d4cad explicitly disable backup for encrypted databases 2019-02-08 16:24:22 -05:00
Stephen Lombardo
1ca606d4a2 rework salt initialization to ensure PRAGMA cipher_salt always returns a value 2019-01-16 13:58:59 -05:00
Stephen Lombardo
4f9202c763 deprecates PRAGMA fast_kdf_iter 2019-01-16 13:16:31 -05:00
Stephen Lombardo
02f4a0086b PRAGMA cipher_default_settings queries current default SQLCipher options 2019-01-16 13:03:47 -05:00
Stephen Lombardo
fb3a1960df deprecates cipher_hmac_pgno and cipher_hmac_salt_mask 2019-01-16 12:25:38 -05:00
Stephen Lombardo
e9b82ec35c add test explicitly showing zero cipher_salt on first operation 2019-01-15 14:27:08 -05:00
Stephen Lombardo
034480aa76 adds PRAGMA cipher_settings to query current database codec settings 2019-01-15 13:40:56 -05:00
Stephen Lombardo
42e655bf35 normalize attach behavior when key is not yet derived 2019-01-15 13:15:51 -05:00
Stephen Lombardo
e72b34b24b verify salt values for attach behavior tests 2019-01-15 10:32:27 -05:00
Stephen Lombardo
546f567f4e defer reading salt from header until key derivation is triggered 2019-01-04 12:03:21 -05:00
Stephen Lombardo
38e94c508e update cipher_version and test 2018-12-17 13:19:10 -05:00
Stephen Lombardo
bd2f337070 Merge sqlite-release(3.26.0) into prerelease-integration 2018-12-12 20:17:24 -05:00
Stephen Lombardo
4d9565b805 Snapshot of upstream SQLite 3.26.0 2018-12-12 19:43:10 -05:00
Stephen Lombardo
e4b66d6cc8 adds PRAGMA cipher_compatibility and cipher_default_compatibility 2018-12-12 17:24:24 -05:00
Stephen Lombardo
7e805e5388 bump version number and add qualifier 2018-10-17 15:57:40 -04:00
Stephen Lombardo
3bd6262b59 refactor sqlcipher tests into separate files 2018-10-03 12:19:55 -04:00
Stephen Lombardo
f615ede679 enable optional license support hooks 2018-10-02 16:56:49 -04:00
Stephen Lombardo
532f48f7f1 Merge sqlite-release(3.25.2) into prerelease-integration 2018-09-28 14:57:11 -04:00
Stephen Lombardo
e62fa4945b Snapshot of upstream SQLite 3.25.2 2018-09-28 14:35:21 -04:00
Stephen Lombardo
93f1b45413 expand explicit tests for common export / import scenarios 2018-09-27 13:42:06 -04:00
Stephen Lombardo
c566ead72a sqlcipher_export from attached database to main (2nd parameter specifies source) 2018-09-27 13:06:59 -04:00
Stephen Lombardo
bf8bffb8ac default to 256,000 PBKDF2 iterations 2018-09-21 16:30:45 -04:00
Stephen Lombardo
f177869fca fix conversion back to original journal_mode after migration 2018-09-21 14:47:14 -04:00
Stephen Lombardo
e3c5fecbe1 Merge sqlite-release(3.25.0) into prerelease-integration 2018-09-18 12:55:53 -04:00
Stephen Lombardo
bf3fa86130 Snapshot of upstream SQLite 3.25.0 2018-09-18 12:31:37 -04:00
Stephen Lombardo
369b22da7e remove PRAGMA cipher 2018-09-11 17:13:58 -04:00
Stephen Lombardo
c40ffaa964 add PRAGMA cipher_memory_security to control settings; lock/unlock memory in manager 2018-09-11 12:56:45 -04:00
Stephen Lombardo
184305e78e fix test setting incorrect cipher_default_page_size 2018-09-06 12:59:49 -04:00
Stephen Lombardo
915a0a4686 disable rekey_cipher & rekey_kdf_iter; major simplification of internal contexts 2018-09-06 12:11:44 -04:00
Stephen Lombardo
02cee4ca2a add support for HMAC-SHA256 and HMAC-SHA512 (default) for HMAC and PBKDF2 2018-09-05 17:39:07 -04:00