Commit Graph
162 Commits
Author SHA1 Message Date
Stephen Lombardo 9bbfd5da3b relocate struct definitions to support validation changes 2019-10-28 16:38:12 -04:00
Stephen Lombardo b7f660c29e merge license with extension header 2019-10-08 14:10:32 -04:00
Stephen Lombardo 8319ae0001 fix extension points 2019-09-24 09:19:19 -04:00
Stephen Lombardo d9ade80e4f allow files to be picked up in amalgamation 2019-06-13 16:49:09 -04:00
Stephen Lombardo 0295b255a5 extension point for additional built in functions 2019-06-12 16:13:25 -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 9e2eeb3f80 fix cast for memset 2019-02-22 16:32:19 -05:00
Stephen Lombardo e04d8c98cf clear buffer if cipher operation fails per #304 2019-02-08 15:00:18 -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 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 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 e4b66d6cc8 adds PRAGMA cipher_compatibility and cipher_default_compatibility 2018-12-12 17:24:24 -05:00
Stephen Lombardo 9249f54531 correct warnings for UAP builds 2018-10-23 09:08:30 -04:00
Stephen Lombardo 537dcf75e5 improve memory handling for values returned from pragmas 2018-10-18 13:01:15 -04:00
Stephen Lombardo 787cbae31a adjustments to version reporting 2018-10-17 20:31:23 -04:00
Stephen Lombardo be947c12cd correct uninitialized variables and linker error 2018-10-08 17:18:47 -04:00
Stephen Lombardo f615ede679 enable optional license support hooks 2018-10-02 16:56:49 -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 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 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 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 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
Stephen Lombardo 895a4c7144 Merge branch 'trace' into prerelease-merge 2017-08-09 14:38:34 -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 3f990b42f3 Merge branch 'master' into prerelease 2016-12-13 15:11:55 -05:00
Nick Parker bae72ae4e3 Merge sqlite-release(3.15.2) into prerelease-integration 2016-12-06 13:10:27 -06:00
Nick Parker c1f7fe783c Prevent writing database with cipher set to invalid value 2016-05-25 16:37:54 -05:00
Nick Parker e873a49d99 Prevent deadlock of database mutex 2016-05-13 16:28:34 -05:00
Nick Parker 85a407e259 Move declaration to top level of block 2016-03-07 14:35:07 -06:00
Nick Parker bc9fda6b26 Issue warning for deprecated PRAGMA cipher command 2016-03-03 11:23:11 -06: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
Nick Parker cbcb03710a Pass flag to sqlite3PagerGet 2016-02-22 12:39:29 -06:00
Nick Parker 18f95ebbea Check for valid context before using cipher_store_pass
Identified by Nicholas Starke
2015-04-21 14:08:41 -05:00
Nick Parker eb94bb8747 set writeOnly to false when performing sqlite3BtreeRollback 2015-03-20 10:03:51 -05:00
Nick Parker 29b00cb2fc Initial FIPS integration 2015-03-10 14:33:43 -05:00
Nick Parker a31d65d7c8 Add support for attaching databases with non-default page sizes 2015-01-29 10:39:12 -06:00