Commit Graph
148 Commits
Author SHA1 Message Date
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
Stephen Lombardo a7c459aa77 implementation of PRAGMAs cipher_plaintext_header_sz and cipher_salt 2018-01-17 14:20:41 -05:00
Gil Besso 87c389ce04 Changed sqlcipher_codec_ctx_migrate to use VFS xDelete instead of standard library remove 2017-11-07 15:27:44 +02:00
Nick Parker 320640d870 Remove static modifier from codec password storage functions 2017-09-29 11:28:05 -05:00
Stephen Lombardo 895a4c7144 Merge branch 'trace' into prerelease-merge 2017-08-09 14:38:34 -04:00
Stephen Lombardo 75d7dcab21 fix segfault in sqlcipher_cipher_ctx_cmp CODEC_TRACE during rekey 2017-08-09 14:37:41 -04:00
Stephen Lombardo 8bc752fb70 page align mlock and add tracing 2017-08-09 14:01:43 -04:00
Stephen Lombardo 42e067d17f improvements and extensions to trace logging 2017-08-09 12:32:56 -04:00
Nick Parker 8a43a6273a Fix sqlcipher_export & cipher_migrate when tracing API used 2017-05-25 13:44:23 -05:00
Stephen Lombardo 8f52dde735 sqlcipher_codec_hmac convenience function 2017-04-27 11:12:19 -04:00
Nick Parker 339f4d3ffe Exclude cipher_profile support with SQLITE_OMIT_TRACE or SQLITE_OMIT_DEPRECATED 2017-03-09 13:44:34 -06:00
Nick Parker 5f9fc6f45f Check cipher_page_size input for valid values 2017-03-01 16:06:06 -06:00
Nick Parker 52ba939f78 Default page size to 1024 2016-12-22 09:42:16 -06:00
Nick Parker bae72ae4e3 Merge sqlite-release(3.15.2) into prerelease-integration 2016-12-06 13:10:27 -06:00
Nick Parker 35aa9e0968 Add check for SQLITE_OS_WINRT for fopen_s usage 2016-06-14 09:21:41 -05:00
Nick Parker a11341d185 Use append mode, and fopen_s when applicable for cipher_profile 2016-05-26 10:54:02 -05:00
Nick Parker 714bff612b Revert "Adjust cipher_profile to utilize VFS"
This reverts commit 92ce3368d7.
2016-05-25 16:38:08 -05:00
Nick Parker c1f7fe783c Prevent writing database with cipher set to invalid value 2016-05-25 16:37:54 -05:00
Nick Parker 92ce3368d7 Adjust cipher_profile to utilize VFS 2016-05-25 11:23:17 -05:00
Nick Parker f9044bf604 Initial reporting of the cipher provider version
Execute PRAGMA cipher_provider_version;

Supports OpenSSL, libtomcrypt, and
common crypto when running on OS X
2016-02-22 15:53:08 -06:00
Steve Thomas a5d41bf0ad Validate Hex 2016-01-27 10:59:39 -06:00
Nick Parker e451540b9c Remove null check, assignment always occurs 2015-06-17 11:57:43 -05:00
Nick Parker 29b00cb2fc Initial FIPS integration 2015-03-10 14:33:43 -05:00
Nick Parker 15186850b5 Merge branch 'feature/aix' of https://github.com/likema/sqlcipher into likema-feature/aix 2015-03-10 13:23:41 -05:00
Like Ma a94d35c7dc Fix building error by GCC 4.5.4 in AIX 5.1
GCC reported undefined mmap without _AIX macro.
2015-03-03 15:07:16 +08:00
Nick Parker a31d65d7c8 Add support for attaching databases with non-default page sizes 2015-01-29 10:39:12 -06:00