That's GREAT Jens! One thing in the wiki is:
It's not yet possible to add encryption to an existing database, or to > change or remove the key afterwards. > Do you think that will be possible eventually with CBL. These are things I currently allow customers to do with my current (non-CBL) app. Thanks! Brendan On Wednesday, July 29, 2015 at 12:52:15 PM UTC-6, Jens Alfke wrote: > > The iOS/Mac master branch now supports encrypting ForestDB-based > databases, using exactly the same API > <https://github.com/couchbase/couchbase-lite-ios/wiki/Database-Encryption#enabling-encryption> > you > use for SQLite-based ones. The nice thing is you don’t need to link in any > custom libraries like SQLCipher; the encryption is hooked into the existing > ForestDB implementation. > > Implementation details are here > <https://github.com/couchbase/couchbase-lite-ios/issues/826#issuecomment-126051949> > if > you want to know about the crypto. (tl;dr: It’s AES-256, like SQLCipher.) > > Needless to say, this is preliminary/experimental, so use it at your own > risk. I’m pretty confident in the code, but it hasn’t been tested much yet, > and there are lots of other big changes on the master branch. If you’re > conservative, wait until 1.2 is released in a few months. But if you want > to test it out, I’d appreciate the help. > > —Jens > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/d6bc0ef7-dbd4-49d3-9ca2-3a5cf803b48d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
