Commit Graph

482 Commits

Author SHA1 Message Date
Stephen Lombardo 88e6a2edf8 support amalgamated builds 2009-02-19 13:09:17 -05:00
Stephen Lombardo d85be36fd7 more fixes to licensing of code 2008-11-30 13:59:21 -05:00
sjlombardo d7099f5d5d Finalize on BSD license for sqlite-cipher extension pending release. 2008-11-25 10:36:44 -07:00
Stephen Lombardo b7979aa5da added simple speed comparison test based on tool/speedtest.tcl 2008-09-11 01:48:24 -04:00
Stephen Lombardo 6b6144db0f fixes to memory management post merge of sqlite 3.6.1 2008-08-19 10:45:11 -04:00
Stephen Lombardo a978ba3655 Merge branch 'sqlite-release' 2008-08-19 01:08:56 -04:00
Stephen Lombardo 2893a5d0b2 update baseline to sqlite version 3.6.1 2008-08-19 01:05:45 -04:00
Stephen Lombardo d5c4edebd9 now rekey can be used on unencrpyted databases to encrypt the data 2008-08-19 00:45:46 -04:00
Stephen Lombardo 28585dbd6a add more test coverage; fix rekey bug related to MJ_PAGE_NO 2008-08-10 22:39:35 -04:00
Stephen Lombardo d9b3597d4b remove unused HDR_SZ definition 2008-08-09 08:48:26 -04:00
Stephen Lombardo 199bbc466d adjust test suite for new error message 2008-08-09 08:46:35 -04:00
Stephen Lombardo 984cc531df allocate random data for intialization vector 2008-08-09 08:46:03 -04:00
Stephen Lombardo 301a6beeef major simplification - allocate space at end of each page for random initialization vector 2008-08-09 08:13:30 -04:00
Stephen Lombardo 2fe24cf434 initial cut at a regression test script for cipher codec functionality. execute make testfixture && ./testfixture test/codec.test 2008-08-07 09:33:59 -04:00
Stephen Lombardo ebeaf637db working implementation of rekey functionality. PRAGMA rekey='passphrase' will now encrypt a database if it is currently unencrypted or re-encrypt with a new passphrase if it is already encrypted. 2008-08-06 10:30:36 -04:00
Stephen Lombardo 9546e71745 basic implimentation of sqlite3_rekey functionality. WARNING: currently only works on single page databses! 2008-08-04 15:46:58 -04:00
Stephen Lombardo 04faa55bf8 add hook to support PRAGMA rekey='xyz' 2008-08-04 15:16:50 -04:00
Stephen Lombardo 38fc33fa6d base defintions, allocations, and cleanup for codec rekey data 2008-08-04 14:31:19 -04:00
Stephen Lombardo 694dfbb47b notes about implementation of rekey functionality 2008-08-04 14:25:45 -04:00
Stephen Lombardo 211a71ea9c identify and exclude tests that cause permanent errors due to encrypted file format 2008-08-01 21:39:17 -04:00
Stephen Lombardo e2515c0ebd addtional testing for null pointers and malloc errors 2008-08-01 13:30:40 -04:00
Stephen Lombardo 5b4d50c488 updated documentation on how to build and use sqlite-cipher in README 2008-07-30 21:47:23 -04:00
Stephen Lombardo b185f3b2ed add sqlite3FreeCodecArg call to sqlite3PagerClose; new code wipes sensitive data and frees allocated memory when database/btree/pager is closed 2008-07-30 21:29:04 -04:00
Stephen Lombardo c9b06918b1 move key preparation into sqlite3_key and out of sqlite3CodecAttach for cleaner interface 2008-07-30 20:55:42 -04:00
Stephen Lombardo ce3851b8ad use predefined sqlite3PagerSetCodec on attach 2008-07-30 20:11:38 -04:00
Stephen Lombardo b76f6e9328 handle memory allocation errors 2008-07-30 16:24:44 -04:00
Stephen Lombardo 39d1612056 handle condition where raw key data is passed into sqlite3CodecAttach through database attach 2008-07-30 14:26:03 -04:00
Stephen Lombardo 3ec4def62f add see activation to extension 2008-07-30 13:44:33 -04:00
Stephen Lombardo 36dc72d361 updates to note public domain license and readme 2008-07-30 13:33:57 -04:00
Stephen Lombardo a45a181cee switch digest to sha256 (requires sha256 support in openssl); allow setting a passphrase instead of raw blob key; update readme 2008-07-30 13:15:55 -04:00
Stephen Lombardo 11dd40da8d baseline working encryption plugin and build rules (hex key only) 2008-07-30 10:43:21 -04:00
Stephen Lombardo 617ed01e77 commit of sqlite 3.6.0 2008-07-30 09:15:43 -04:00