765 Commits

Author SHA1 Message Date
Stephen Lombardo
c892464f31 Added XCode static library project 2009-05-29 23:13:10 -04:00
Stephen Lombardo
e55dd0ebd0 Merge branch 'sqlite-release' 2009-05-08 05:31:05 -04:00
Stephen Lombardo
b9df4d3c78 regenerated broken upstream configure script using autoconf 2009-05-08 05:30:31 -04:00
Stephen Lombardo
fee0308d2b Merge branch 'sqlite-release' 2009-05-08 05:27:46 -04:00
Stephen Lombardo
7fa21065e9 update to upstream sqlite 3.6.14 2009-05-08 05:27:02 -04:00
Stephen Lombardo
0ecc7c7852 resolve signed integer reference warning 2009-04-27 15:52:29 -04:00
Stephen Lombardo
86376028f4 use PKCS5_PBKDF2_HMAC_SHA1 for improved compatibility with more widely distributed openssl libraries 2009-04-24 15:45:40 -04:00
Stephen Lombardo
276ad912c0 fix bug preventing detection of hex keys 2009-04-22 16:40:45 -04:00
Stephen Lombardo
ff21f20cfe back out convertnosalt changes 2009-04-22 16:27:39 -04:00
Stephen Lombardo
0cc240ac78 support BLOB syntax for specifying binary keys 2009-04-22 16:22:08 -04:00
Stephen Lombardo
1d25ff34fe add test coverage for schema alterations 2009-04-22 11:52:03 -04:00
Stephen Lombardo
543220f2e7 added test coverage for locking across multiple database handles 2009-04-22 11:37:38 -04:00
Stephen Lombardo
4e87eca3ae fix up closing of dbs after each test 2009-04-22 11:27:52 -04:00
Stephen Lombardo
f20d127e83 expanded test for making changes to ATTACHED databases 2009-04-22 11:20:54 -04:00
Stephen Lombardo
309deae4f6 Cache provided raw key data to provide to other attached databases; Add test case for attached DBs 2009-04-22 09:21:52 -04:00
Stephen Lombardo
cfd52b7436 implement test of in memory databases 2009-04-22 08:54:33 -04:00
Stephen Lombardo
90348f8df3 remove unused variables 2009-04-22 01:04:07 -04:00
Stephen Lombardo
8d52707aa1 Load salt and prepare key in sqlite3CodecAttach 2009-04-21 22:38:41 -04:00
Stephen Lombardo
3fd228f5a3 First attempt at JIT salt and key data derivation 2009-04-21 21:50:54 -04:00
Stephen Lombardo
74a60987ce a start towards allocating random salt in unused 16 byte header space at the start of the SQLite file 2009-04-21 17:36:53 -04:00
Stephen Lombardo
9a13dce6d4 initial implementation of PBKDF2 using SHA256 for key derivation 2009-04-21 16:32:07 -04:00
Stephen Lombardo
c8f4309d3f Update README to reflect current build options, hex key pragmas, and rekey functionality 2009-04-21 12:37:23 -04:00
Stephen Lombardo
59ef6e1f46 Updated to fix compatibility with sqlite 3.6.13
- Removed Makefile's inclusion of backup.h (removed from distro)
- update for new sqlite3BtreeSetPageSize iFix parameter
2009-04-21 12:00:30 -04:00
Stephen Lombardo
6737773707 Merge branch 'sqlite-release' 2009-04-21 10:50:03 -04:00
Stephen Lombardo
81f606f59f track 3.6.13 2009-04-21 10:39:00 -04:00
Stephen Lombardo
91ab560aec code cleanup to tighten up build warnings 2009-02-26 13:54:38 -05:00
Stephen Lombardo
62b5498cbe modified location of backup.h header to support amalgamated build 2009-02-26 12:35:25 -05:00
Stephen Lombardo
7b9260a6e9 renamed codec.* to crypto.* for clarity 2009-02-20 17:26:13 -05:00
Stephen Lombardo
a824939d24 fix page definition to PgHdr 2009-02-20 17:24:47 -05:00
Stephen Lombardo
e6582238b7 fix missing backup rule in Makefile.in 2009-02-20 17:15:53 -05:00
Stephen Lombardo
4314238203 takes advantage of sqlites new hexkey and hexrekey pragmas
- detect number of key bytes passed in to make decision about whether to hash key
2009-02-20 16:38:27 -05:00
Stephen Lombardo
cbbb7b2a89 Merge branch 'sqlite-release'
Conflicts:

	Makefile.in
	src/pager.c
	src/pragma.c
	tool/mksqlite3c.tcl
2009-02-20 15:52:39 -05:00
Stephen Lombardo
6e36436ed9 track sqlite 3.6.11 2009-02-20 15:33:35 -05:00
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