Commit Graph
173 Commits
Author SHA1 Message Date
Stephen Lombardo 005ea9d083 change sqlcipher memory functions to use u64 params 2020-04-29 16:20:57 -04:00
Stephen Lombardo 299fe42a53 report SQLCipher version alongside SQLite version in shell 2020-04-22 11:35:01 -04:00
Stephen Lombardo 05ed3bfe86 correct mutex trace log call 2019-11-06 16:21:25 -05:00
Stephen Lombardo 872fb0078f major rework of mutex allocation and management 2019-11-06 13:56:00 -05:00
Stephen Lombardo 9bbfd5da3b relocate struct definitions to support validation changes 2019-10-28 16:38:12 -04:00
Stephen Lombardo 7d63c0e686 remove unused variable in integrity_check 2019-10-14 13:12:30 -04:00
Stephen Lombardo b7f660c29e merge license with extension header 2019-10-08 14:10:32 -04:00
Stephen Lombardo 4ce256966e handle memory-related debug / trace logging separately 2019-10-04 16:49:18 -04:00
Stephen Lombardo 37b0143ac7 fix output of integrity check on big endian platforms 2019-09-27 15:35:01 -04:00
Stephen Lombardo a7c6bb15ad Merge branch 'prerelease' of github.com:sqlcipher/sqlcipher into prerelease 2019-09-24 09:56:37 -04:00
Stephen Lombardo 8319ae0001 fix extension points 2019-09-24 09:19:19 -04:00
Edouard Oger d211c296e6 NSS crypto implementation 2019-06-27 14:11:33 -04:00
Stephen Lombardo b7c53c8d29 Support pragma_migrate with keys containing non-terminating zero bytes 2019-05-29 11:49:17 -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 2babedd0d4 fix trace logging in migrate 2019-05-15 12:26:50 -04:00
Stephen Lombardo 470e0f2111 Revert "fix trace logging in migrate"
This reverts commit 85908c1b84.
2019-05-15 12:24:12 -04:00
Stephen Lombardo 85908c1b84 fix trace logging in migrate 2019-05-15 10:25:46 -04:00
Stephen Lombardo 488d81e8da implementation of PRAGMA cipher_integrity_check and associated tests 2019-05-15 10:24:27 -04:00
Stephen Lombardo 8fe2c3429d fix references to refactored struct under CODEC_DEBUG 2019-03-06 12:30:31 -05:00
Stephen Lombardo 724b61d3a1 unset BTS_PAGESIZE_FIXED prior to adjusting migration database page size 2019-02-10 10:33:27 -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 addd2519d2 minor comment cleanup 2019-01-04 12:06:49 -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 e93a26f731 fix redeclaration 2018-12-17 13:11:57 -05:00
Stephen Lombardo e4b66d6cc8 adds PRAGMA cipher_compatibility and cipher_default_compatibility 2018-12-12 17:24:24 -05:00
Stephen Lombardo ca4b36a61a Merge branch 'prerelease' of ssh://git.zetetic.net/sqlcipher into prerelease 2018-10-29 18:31:33 -04:00
Stephen Lombardo ba2467d512 fix error in memory hook codec trace 2018-10-29 18:31:04 -04:00
Stephen Lombardo 94c88989f7 defer memory hook until after xInit 2018-10-29 17:58:34 -04:00
Stephen Lombardo 81ed3a54a2 cipher_migrate will use MoveFileExW on windows platforms 2018-10-23 13:04:03 -04:00
Stephen Lombardo 9249f54531 correct warnings for UAP builds 2018-10-23 09:08:30 -04:00
Stephen Lombardo 867d0dafd5 SQLCIPHER_PROFILE_USE_FOPEN can force cipher_profile to use fopen (e.g. for WinXP) 2018-09-27 10:32:13 -04:00
Stephen Lombardo cf7e9f9451 improved error handling for providers 2018-09-21 16:01:17 -04:00
Stephen Lombardo f177869fca fix conversion back to original journal_mode after migration 2018-09-21 14:47:14 -04:00
Stephen Lombardo 20d80b3a89 skips additonal migration checks once correct version is identified 2018-09-21 13:44:55 -04:00
Stephen Lombardo 25e895e93a take database out of WAL mode prior to migration 2018-09-21 13:42:56 -04:00
Stephen Lombardo 32c00dc87f fixes windows build, string overread in sqlite3OsOpen 2018-09-20 10:40:02 -04:00
Stephen Lombardo 1e601879cd improvements and simplification of cipher_migrate implementation 2018-09-19 17:11:53 -04:00
Stephen Lombardo 81769c189a simplify internal pager extensions and remove those that are now redundant 2018-09-18 14:24:25 -04:00
Stephen Lombardo e3c5fecbe1 Merge sqlite-release(3.25.0) into prerelease-integration 2018-09-18 12:55:53 -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 37270bd069 correct build errors and warnings 2018-09-06 13:22:54 -04:00
Stephen Lombardo 1062854faa Merge branch 'pull-247' into prerelease 2018-09-06 13:10:32 -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 1cdb2fcdce cleanup to enable building with --disable-amalgamation 2018-09-06 09:52:32 -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
Stephen Lombardo fee1153e5c adjust default page size to 4096 2018-08-30 13:14:18 -04:00
Stephen Lombardo 3e3f8ab353 implement memory wiping for all sqlite allocations 2018-08-28 15:12:51 -04:00
Stephen Lombardo d5c2bec768 correct comment typo 2018-01-18 10:46:30 -05:00
Stephen Lombardo 1bb4737da2 adds PRAGMA default_cipher_plaintext_header_size and tests 2018-01-18 10:22:12 -05:00