Commit Graph

489 Commits

Author SHA1 Message Date
Nick Parker 679f2be40c Snapshot of upstream SQLite 3.8.0.1 2013-08-30 16:04:26 -05:00
Nick Parker 2cb820717e Add test to key multiple databases with pragma using different keys 2013-08-30 15:48:44 -05:00
Stephen Lombardo 7a6ce37e61 Merge branch 'sqlite-release' into prerelease 2013-08-30 15:12:24 -04:00
Stephen Lombardo 7c0cc33aab remove files that aren't included upstream 2013-08-30 15:08:24 -04:00
Nick Parker 045844f0cc Adjust codec tracing, add rekey by name test. 2013-08-30 09:49:46 -05:00
Nick Parker 4bc456d6e7 Remove files that were added that shouldn't have been. 2013-08-30 08:45:01 -05:00
Nick Parker 480250aa82 Adding test for pragma key on attach 2013-08-30 08:26:18 -05:00
Nick Parker 1ba0e0e418 Adjust db_index search count and rename codec_pragma 2013-08-30 08:24:57 -05:00
Nick Parker 20a92abadb Using the _v2 version of key and rekey. 2013-08-29 14:49:37 -05:00
Nick Parker 1f17e15851 Implement sqlite3_key_v2 & sqlite3_rekey_v2. 2013-08-29 11:57:03 -05:00
Nick Parker 432585f0f8 Adjustments due to upstream merging 2013-08-29 09:04:14 -05:00
Nick Parker 897f402696 Merge sqlite-release(3.8.0) into prerelease-integration
Conflicts:
	configure
	ext/misc/closure.c
	ext/misc/fuzzer.c
	ext/misc/ieee754.c
	ext/misc/nextchar.c
	ext/misc/regexp.c
	ext/misc/spellfix.c
	magic.txt
	src/test_fs.c
	test/backup4.test
	test/btreefault.test
	test/close.test
	test/fts3expr3.test
	test/fts3tok1.test
	test/fts3tok_err.test
	test/incrvacuum3.test
	test/ioerr6.test
	test/orderby1.test
	test/resolver01.test
	test/tkt-7a31705a7e6.test
	test/transitive1.test
	test/whereE.test
	test/whereF.test
2013-08-29 08:22:50 -05:00
Nick Parker 45915dda5d Snapshot of upstream SQLite 3.8.0 2013-08-29 08:11:18 -05:00
Billy Gray 3343aaf77e corrects use of openssl api to commoncrypto, links Security.framework, re-links libsqlcipher.a to fix archive errors, removes use of openssl 2013-08-27 16:05:48 -04:00
Billy Gray f1069eeefe Unlinks amalgamation target as dependency, run make to execute amalgamation by Makefile before building in Xcode 2013-08-27 12:05:26 -04:00
Billy Gray 167aab2da6 Merge branch 'prerelease' into Xcode5 2013-08-27 12:04:40 -04:00
Billy Gray 4534af9072 updates amalgamation script, but we'll probably have to drop it for Makefile 2013-08-27 11:48:48 -04:00
Nick Parker f4eb3b33c6 Bump cipher_version to 3.0.0 2013-08-14 08:20:32 -05:00
Nick Parker cfee6c249c Merge branch 'attach' into kdfiter
Conflicts:
	test/crypto.test
2013-08-13 15:27:51 -05:00
Nick Parker 6f4a0f2d8d Adjustments to cipher_migrate
- And format flags when checking for exit condition
- Pass key size to sqlcipher_check_connection
- Trace version upgrade logic
2013-08-13 14:53:08 -05:00
Stephen Lombardo c3f6cf1e02 null termination of key value 2013-08-13 12:54:16 -04:00
Nick Parker dce806aae5 Add tests for cipher_migrate 2013-08-12 15:09:11 -05:00
Nick Parker f844a5dfc3 Attach new codec before btree copy 2013-07-29 11:04:29 -05:00
Nick Parker 9b415f6401 Work to configure the proper env. for the migration 2013-07-26 16:50:36 -05:00
Nick Parker b507d1b180 Clean up compiler warnings 2013-07-26 09:29:36 -05:00
Nick Parker fb14d957ca Swap btree for write, reset password on codec - working. 2013-07-26 09:20:18 -05:00
Nick Parker b92ddfc1ef More work on cipher_migrate, still unusable 2013-07-25 16:22:58 -05:00
Nick Parker 4bc6ba08f8 Initial work on a PRAGMA cipher_migrate
Swapping of the Btree meta data is not working properly now.
2013-07-24 17:07:42 -05:00
Stephen Lombardo 6cd1fdf60b finalize new attach behavior
- key can be specified in hex as key plus salt together
- source passphrase is cleared after derivation
- key specification containing derived key and salt stored on
  cipher_ctx for use in attach on an encrypted main database
  when no key is provided with the attach statement
2013-07-19 12:50:14 -04:00
Nick Parker 81e487afb7 Merge remote-tracking branch 'origin/prerelease' into kdfiter 2013-07-11 16:21:00 -05:00
Nick Parker 1d3fc78431 Merge branch 'prerelease' into kdfiter
Conflicts:
	src/crypto_impl.c
2013-07-11 14:51:09 -05:00
Stephen Lombardo c61663d780 Merge branch 'prerelease' 2013-07-10 10:52:24 -04:00
Stephen Lombardo 3ef19cf3d5 Merge branch 'prerelease' of github.com:sqlcipher/sqlcipher into prerelease 2013-07-10 10:46:05 -04:00
Stephen Lombardo 337eac9fd9 bump cipher_version to 2.2.1 2013-07-10 10:45:44 -04:00
Nick Parker 15c09c04c7 Update README 2013-07-09 11:56:31 -05:00
Stephen Lombardo 8866a9f6cf allow -DSQLCIPHER_OPENSSL_NO_MUTEX_RAND to disable openssl rand mutex 2013-07-09 11:57:02 -04:00
Stephen Lombardo f3389d23a2 mutex around RAND_bytes() 2013-07-09 11:30:19 -04:00
Stephen Lombardo 573d7b209d improve initialization and thread safety for default crypto provider 2013-07-09 11:26:40 -04:00
Stephen Lombardo 5827b3d3db Merge branch 'prerelease' into attach 2013-06-27 19:09:42 -04:00
Stephen Lombardo a2bb641e48 64k iterations plus pragma cipher_default_kdf_iter function 2013-06-27 19:07:58 -04:00
Nick Parker a1fb0d2316 Merge branch 'prerelease' 2013-06-27 10:13:06 -05:00
Stephen Lombardo 581876802e fix build warnings under VS 2013-06-27 11:01:59 -04:00
Nick Parker b13e77f669 Merge branch 'prerelease' 2013-06-27 09:24:30 -05:00
Stephen Lombardo 2c22d1e431 set reported SQLite version back to 3.7.17 2013-06-25 11:03:17 -04:00
Stephen Lombardo 65df5ed290 reflect SQLCipher name on startup 2013-06-22 14:43:38 -04:00
Stephen Lombardo a31d205766 Merge branch 'prerelease' of github.com:sqlcipher/sqlcipher into prerelease 2013-06-21 13:38:36 -04:00
Stephen Lombardo b75c9ffa4b remove unused array allocation 2013-06-21 13:38:08 -04:00
Nick Parker 836b4b5108 Adding 'none' option to --with-crypto-lib
This allows for skipping of the library check, useful when only
preparing the amalgamation.
2013-06-21 12:19:56 -05:00
Stephen Lombardo 0a767d7c15 Merge branch 'prerelease' of github.com:sqlcipher/sqlcipher into prerelease 2013-06-21 11:11:36 -04:00
Stephen Lombardo c9ec48ded8 add function to return current registered provider 2013-06-21 11:11:02 -04:00