Commit Graph
389 Commits
Author SHA1 Message Date
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 c566ead72a sqlcipher_export from attached database to main (2nd parameter specifies source) 2018-09-27 13:06:59 -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 bf8bffb8ac default to 256,000 PBKDF2 iterations 2018-09-21 16:30:45 -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 bf3fa86130 Snapshot of upstream SQLite 3.25.0 2018-09-18 12:31:37 -04:00
Stephen Lombardo 6ed6609ecb use defines for modes in sqlite3Codec 2018-09-11 17:24:13 -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 a0320d99b3 increase to 128K KDF 2018-08-30 13:29:31 -04:00
Stephen Lombardo fee1153e5c adjust default page size to 4096 2018-08-30 13:14:18 -04:00
Stephen Lombardo 1001b72e9f use new API with libressl >2.7.0 2018-08-28 16:55:00 -04:00
Stephen Lombardo 1bc379ff31 explanitory comment on memory wiping 2018-08-28 15:47:18 -04:00
Stephen Lombardo c7b561fab7 simple filtering of shell input to skip history for key and rekey statements 2018-08-28 15:38:02 -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 a3f0729a0d Verify in2 is not null before attempting to compute hmac 2017-10-13 14:51:52 -05:00
Nick Parker 2a0f9d1d21 Revert "Adjust SQLITE_NOTADB text message"
This reverts commit 6a7894b990.
2017-09-29 14:11:30 -05:00
Nick Parker a83694d917 Set pager getter method when error set 2017-09-29 14:11:21 -05:00
Nick Parker 320640d870 Remove static modifier from codec password storage functions 2017-09-29 11:28:05 -05:00
Nick Parker 082a7e47d1 Bump version number to 3.4.2 2017-09-27 16:33:27 -05:00
Nick Parker 6a7894b990 Adjust SQLITE_NOTADB text message 2017-09-27 16:13:21 -05:00
Nick Parker be789e94dd Merge sqlite-release(3.20.1) into prerelease-integration 2017-09-27 16:12:26 -05:00
Nick Parker 1f3bc22483 Snapshot of upstream SQLite 3.20.1 2017-09-27 16:07:03 -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
Sergey Popov ce489ebb47 Fix building with libressl 2017-07-07 14:22:57 +03: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
Stephen Lombardo c7c5268b5f include openssl/err.h 2017-04-27 11:01:00 -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