Commit Graph

86 Commits

Author SHA1 Message Date
Stephen Lombardo
12aedf2fac Merge branch 'master' into ditto 2010-10-01 13:08:42 -04:00
Stephen Lombardo
a1439c8d71 resolve bug where page size is improperly set 2010-10-01 13:07:37 -04:00
Stephen Lombardo
90f8b72c2d Merge branch 'master' into ditto 2010-08-28 08:50:38 -04:00
Stephen Lombardo
ebecc71a89 accommodate new void return from sqlite3PagerPagecount 2010-08-28 08:44:25 -04:00
Stephen Lombardo
8a76b73193 Merge branch 'sqlite-release' into integration 2010-08-28 08:38:03 -04:00
Stephen Lombardo
92bc32215d track 3.7.2 2010-08-28 08:35:57 -04:00
Stephen Lombardo
59e8fd2113 change if to ifdef to placate VS 2010-08-28 08:31:38 -04:00
Stephen Lombardo
977edf436e Merge branch 'master' into ditto 2010-08-22 16:01:06 -04:00
Stephen Lombardo
fe11a8cb66 Merge branch 'sqlite-release' 2010-08-06 23:08:05 -04:00
Stephen Lombardo
953ca18eb6 track 3.7.0.1 2010-08-06 23:07:48 -04:00
Stephen Lombardo
89b4284cf5 Merge branch 'master' into ditto 2010-07-22 09:44:53 -04:00
Stephen Lombardo
29b781102a Merge branch 'sqlite-release' into integration
Conflicts:
	Makefile.in
	test/quick.test
2010-07-22 09:23:51 -04:00
Stephen Lombardo
7b63a4edde track 3.7.0 2010-07-22 09:16:22 -04:00
Stephen Lombardo
7c6ac4010e Merge branch 'master' into ditto 2010-06-14 14:22:48 -04:00
Stephen Lombardo
4f320b6336 thread safe eutex in activate_openssl 2010-06-09 14:39:25 -04:00
Stephen Lombardo
c2e4ece7e3 Merge branch 'master' into ditto 2010-05-18 12:30:45 -04:00
Stephen Lombardo
11a0e2bb8f Merge branch 'sqlite-release' into release-integration 2010-05-18 12:24:16 -04:00
Stephen Lombardo
4bb256127b update 3.6.23.1 2010-05-18 12:22:17 -04:00
Stephen Lombardo
74e43bd423 Merge branch 'master' into ditto 2010-02-25 12:06:43 -05:00
Stephen Lombardo
c10960834f fix issue where it wasn't possible to ATTACH an unencrypted database 2010-02-25 11:58:56 -05:00
Stephen Lombardo
445b6d3442 Merge branch 'master' into ditto 2009-12-30 14:52:42 -05:00
Stephen Lombardo
433a2a6641 force allocation of IV space at end of database pages, even if current cipher doesn't require it (i.e. ECB mode) 2009-12-30 14:52:03 -05:00
Stephen Lombardo
b38a9d20a2 fix initialization of OpenSSL so an encrypted database can be attached to a non-encrypted main database; add test for the same 2009-12-23 21:45:51 -05:00
Stephen Lombardo
b80464125c Merge branch 'master' into ditto 2009-12-20 23:04:56 -05:00
Stephen Lombardo
982f416442 add missing sqlite3PageFree and sqlite3PcacheClose to sqlite3PagerClose missed in previous merge 2009-12-20 00:05:44 -05:00
Stephen Lombardo
2b97c700e9 Merge branch 'sqlite-release' into integration
Conflicts:
	Makefile.in
2009-12-19 15:58:56 -05:00
Stephen Lombardo
090d3d3b9b update to 3.6.21 2009-12-19 15:56:40 -05:00
Stephen Lombardo
d05405a90e Merge commit 'origin'; branch 'master' into ditto 2009-12-06 14:14:36 -05:00
Stephen Lombardo
c969c4fcfa fixes to please gcc 2009-12-05 20:51:51 -05:00
unknown
fde0756e83 minor cleanup and code changes to please VS.NET compiler 2009-12-06 01:45:54 +00:00
Stephen Lombardo
b66dd49202 patches to allow ditto to be compiled statically 2009-12-05 19:57:48 -05:00
Stephen Lombardo
063f9cdd2d Merge branch 'sqlite-release' into integration 2009-12-03 16:25:00 -05:00
Stephen Lombardo
7941e188aa track upstream 3.6.20 2009-12-03 16:24:07 -05:00
Stephen Lombardo
84e17044df sqlcipher compatibility changes for upstream 3.6.17 2009-08-11 16:49:37 -04:00
Stephen Lombardo
1a81194b38 Merge branch 'sqlite-release' into merge-3.6.17 2009-08-11 16:02:56 -04:00
Stephen Lombardo
db1d641a44 update to upstream sqlite 3.6.17 2009-08-11 16:01:51 -04:00
Stephen Lombardo
4c95e61219 properly handle "case 7" journal writes that should be encrypted with the read_key, not the write_key 2009-08-11 12:16:30 -04:00
Stephen Lombardo
3ce6037365 fix segfault when calling sqlite3_rekey before sqlite3_key - openssl should be initialized on either call 2009-08-11 12:14:19 -04:00
Stephen Lombardo
0acb34a113 Refactoring to allow algorithm selection and other prameters to be set at runtime
- add kdf_iter, cipher, rekey_kdf_iter, and rekey_cipher PRAGMAs to allow changing parameters
- introduction of cipher_ctx struct to store relavent cipher details for separate read and write operations
- simplified sqlite3Codec to make more understandable
- simplify encryption code for first database page
- simplify sqlite3_key and sqlite3_rekey, they now operate only on the main database only
- documentation updates for supporting functions
- reorganize tests to remove interdependencies between tests where possible
- add tests for converting between different ciphers
2009-06-07 22:51:43 -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
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
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