Commit Graph

708 Commits

Author SHA1 Message Date
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 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
0xflotus dd3749b990
fixed programmatically 2018-09-21 15:30:47 +02: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 cf8df7e2a8 fix regression from upstream merge conflict resoultion preventing non-amalgamated build 2018-09-19 16:13:40 -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 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 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 7cf896a26c update podspec to base 3.4.2 2018-01-18 10:44:00 -05:00
Stephen Lombardo 1bb4737da2 adds PRAGMA default_cipher_plaintext_header_size and tests 2018-01-18 10:22:12 -05:00
Stephen Lombardo 6ac99cc7e7 add Podspec to repo root 2018-01-17 16:44:51 -05:00
Stephen Lombardo a7c459aa77 implementation of PRAGMAs cipher_plaintext_header_sz and cipher_salt 2018-01-17 14:20:41 -05:00
Nick Parker c6f709fca8 Update changelog 2017-12-21 13:31:28 -06: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 5fa49b4b0e Update changelog 2017-09-29 16:01:58 -05:00
Nick Parker 821782a23b Adjust error text for SQLITE_ERROR and SQLITE_NOTADB occurrences 2017-09-29 14:28:00 -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 8cb1e8d956 Bump version in cipher_version test 2017-09-29 11:31:27 -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