Updates to SQLCipherManager on develop

21 views
Skip to first unread message

Billy Gray

unread,
Apr 6, 2012, 10:59:52 AM4/6/12
to sqlc...@googlegroups.com
Dear Cipher Friends,

For anyone on the list using the SQLCipherManager objective-C class in their apps, I've been making some changes (diff here) on the develop branch that will cause it to adopt SQLCipher 2.0's HMAC page protection for all new db's, and to automatically upgrade legacy db's to use HMAC page protection. At the same time, I'm updating the number of iterations used in our key derivation to 10,000 from 4,000.  

I've been testing this in the next version of STRIP, and I think I've got it working pretty well at this point. I've tested both upgrading legacy DBs (4,000 kdf_iter, no HMAC), and creating new ones. In addition, I've ditched use of the deprecated rekey() method in favor of using ATTACH and sqlcipher_export(), so it may be a useful bit of sample code. I'd certainly love any feedback if you have the opportunity to try it out.

Regards,
Billy Gray

--
Team Zetetic
http://zetetic.net
Reply all
Reply to author
Forward
0 new messages