Commit Graph

441 Commits

Author SHA1 Message Date
Stephen Lombardo f1ea44e3ef pragma allows le, be, or native pgno ordering plus tests 2012-07-18 11:21:12 -04:00
Stephen Lombardo 7f2b44c8e2 DRY up and inline pragma settings 2012-07-17 22:54:38 -04:00
Stephen Lombardo 96a7738587 move pragma handling logic into crypto.c 2012-07-17 17:18:17 -04:00
Stephen Lombardo 70ef31ff5d add flag for normalizing pgno in HMAC check 2012-07-17 16:45:02 -04:00
Stephen Lombardo 7a9b9e39a1 move hmac setting to flags on cipher context 2012-07-17 16:19:40 -04:00
Stephen Lombardo dbbbb7cca7 convert page number to little endian before MAC 2012-07-10 17:11:01 -04:00
Stephen Lombardo cc0e8be7a3 explicit test for opening 2.0 format db with hmac 2012-07-09 23:03:01 -04:00
Stephen Lombardo bfff38581c restructure to allow non-amalgamated builds again 2012-07-09 16:59:10 -04:00
Stephen Lombardo 6dbdd4663c bump to 2.0.6 2012-06-13 16:27:09 -04:00
Stephen Lombardo 06429ca622 fix issue with short page reads causing hmac failures with auto vacuum enabled 2012-06-13 13:34:14 -04:00
Stephen Lombardo 2b7a28fd12 tests for large schemas and behavior with auto vacuum enabled 2012-06-13 13:17:17 -04:00
Stephen Lombardo bedfc5b588 add CODEC_HEXDUMP macro to print page data 2012-06-13 12:27:59 -04:00
Stephen Lombardo a53d3dee76 Merge branch 'sqlite-release' into relint 2012-05-23 09:26:38 -04:00
Stephen Lombardo 35a66a5caa track 3.7.12.1 2012-05-23 09:26:02 -04:00
Stephen Lombardo c6629b2fc7 Merge branch 'master' into prerelease 2012-05-18 11:15:36 -04:00
Stephen Lombardo a125d22997 Merge pull request #25 from developernotes/prerelease
Adjusting the way string content is rendered, fixes issue on Android.
2012-05-18 08:14:10 -07:00
Nick Parker e4822420d6 Adjusting the way string content is rendered, fixes issue on Android. 2012-05-18 10:09:15 -05:00
Stephen Lombardo ac8385cb14 basic tests for autovacuum 2012-05-18 10:45:41 -04:00
Stephen Lombardo 07321926ba round out rekey tests for WAL 2012-05-18 02:38:25 -04:00
Stephen Lombardo c2f7cd7926 enable secure delete on all encrypted databases 2012-05-18 02:22:40 -04:00
Stephen Lombardo 0e8cdf4b25 test for rekey after a large delete 2012-05-17 19:07:57 -04:00
Stephen Lombardo 1a17b573eb fix context comparisons and log rekey errors 2012-05-17 17:29:27 -04:00
Stephen Lombardo 8a734f2219 expand rekey tests 2012-05-17 17:29:01 -04:00
Stephen Lombardo 1397c0bcaf Merge branch 'prerelease' 2012-05-17 12:36:32 -04:00
Stephen Lombardo 3f81bbc668 Merge branch 'master' of github.com:sqlcipher/sqlcipher 2012-05-17 12:35:59 -04:00
Stephen Lombardo 8e4d13b57f Merge pull request #24 from developernotes/prerelease
PRAGMA cipher_version
2012-05-17 06:15:24 -07:00
Nick Parker 525243c689 Adding PRAGMA cipher_version to identify the current SQLCipher version,
also including test.
2012-05-17 07:59:43 -05:00
Stephen Lombardo f018888ed8 Merge branch 'release-integration' 2012-05-15 20:49:14 -04:00
Stephen Lombardo f09f9f908a error out if key_sz is ever 0 due to context corruption 2012-05-15 20:48:10 -04:00
Stephen Lombardo 0330944245 resolv warnings under -DCODEC_DEBUG 2012-05-15 20:25:53 -04:00
Stephen Lombardo f26e6abad6 updates for compatibility with 3.7.12 functions 2012-05-15 19:18:44 -04:00
Stephen Lombardo 53c6fc9f5f Merge branch 'sqlite-release' into release-integration 2012-05-15 19:06:40 -04:00
Stephen Lombardo c8c482ab80 track 3.7.12 2012-05-15 19:05:34 -04:00
Stephen Lombardo b6302e30a2 disable key initialization on the no-encryption speed test 2012-05-07 11:05:22 -04:00
Stephen Lombardo 885ffa94a4 update xcode project file to set -mno-thumb for armv6 only 2012-02-29 11:56:30 -05:00
Stephen Lombardo aa848ebc08 Merge branch 'release-merge' 2012-02-29 11:39:45 -05:00
Stephen Lombardo 8f061f1a50 add pragma cipher_default_use_hmac to toggle global HMAC setting 2012-02-29 11:14:42 -05:00
Stephen Lombardo ff9a340039 add -mno-thumb cflag to avoid armv6 crash 2012-01-25 01:17:51 -05:00
Stephen Lombardo 758cc138d9 use new btsFlags under 3.7.10 instead of pageSizeFixed 2012-01-18 00:37:15 -05:00
Stephen Lombardo eb9b65750d Merge branch 'sqlite-release' into release-merge 2012-01-18 00:19:02 -05:00
Stephen Lombardo d09051a1f2 track 3.7.10 2012-01-18 00:18:26 -05:00
Stephen Lombardo cdfd2a3d3a ensure that pragmas don't do anything unless a context is initialized on the db 2012-01-18 00:15:01 -05:00
Stephen Lombardo 75f060efa7 add a prominent LICENSE file (to help make sure terms are clear) 2012-01-13 14:04:01 -05:00
Stephen Lombardo 3a68b1bbca clarify trace message for raw key 2012-01-13 12:28:13 -05:00
Stephen Lombardo 8ce46cd998 Revert "perform fast key derivation on raw keys"
This reverts commit 2e868032dc.
2012-01-13 12:27:16 -05:00
Stephen Lombardo f963c3e48c test for use of raw key with attached database 2012-01-13 09:51:19 -05:00
Stephen Lombardo 1a3e1c793d tests for vacuum behavior on encrypted databases 2012-01-13 02:10:15 -05:00
Stephen Lombardo 2e868032dc perform fast key derivation on raw keys 2012-01-13 00:18:23 -05:00
Stephen Lombardo f7591e02fe rework hmac key derivation based on low iteration PBKDF2 with static salt mask 2012-01-12 23:42:55 -05:00
Stephen Lombardo 9c0dd8d449 improved HMAC key derivation
- ensure that the HMAC key derivation salt is different from
  that used to generate the encryption key
- allow the number of pbkdf2 iterations used for HMAC key
  derivation to be configured at runtime via pragma
2012-01-03 17:26:44 -05:00