>
> If there are attachments, those files will have to be encrypted too. Each 
> attachment file gets encrypted with an AES-256 key derived from the 
> passphrase. You can see the details in the source file CBL_BlobStore.m.
>


Ah right. I was thinking about that too. I guess they'd also have to be 
decrypted as well when you decrypt the database. I'll take a look at that 
code.

Thanks,

Brendan

On Tuesday, June 30, 2015 at 12:23:51 PM UTC-6, Jens Alfke wrote:
>
>
> On Jun 29, 2015, at 5:42 PM, Brendan Duddridge <[email protected] 
> <javascript:>> wrote:
>
> Do you think this will be possible anytime soon? SQLCipher has a migration 
> system built-in to migrate an unencrypted database to an encrypted 
> database. It's quite straight forward actually:
>
>
> It’s not a planned feature, but you can file an issue if it’s something 
> you want.
>
> If it won't be implemented in CouchbaseLite, do you think it would be ok 
> to just hit the sqlite file outside of CouchbaseLite and do it myself? 
> Obviously closing the database from CBLManager first before doing that.
>
>
> If there are attachments, those files will have to be encrypted too. Each 
> attachment file gets encrypted with an AES-256 key derived from the 
> passphrase. You can see the details in the source file CBL_BlobStore.m.
>
> —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/548625f1-4f19-4dc0-b7b9-244ba43c5d92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to