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 |
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 |