Thanks Jens.

Does compacting interfere with the sync process in any way? I think the 
older revisions are used to determine what has changed during replication. 
I may be wrong in my understanding.

Thanks for the encryption tip.

Thanks,

Brendan

On Thursday, July 23, 2015 at 7:29:24 PM UTC-6, Jens Alfke wrote:
>
>
> On Jul 23, 2015, at 5:15 PM, Brendan Duddridge <[email protected] 
> <javascript:>> wrote:
>
> Would compacting the database after the values are encrypted remove the 
> old revisions with the unencrypted data?
>
>
> Yes, compacting the database removes all obsolete revisions.
>
> —Jens
>
> PS: Off-topic, but: make sure you’re following best practices to encrypt 
> the data. Many symmetric ciphers have the dangerous property that, if you 
> ever encrypt multiple messages with the same key, it becomes easy to 
> extract the key from the ciphertexts. (I was just reading some crypto docs 
> over the weekend so this is fresh in my mind.)
>

-- 
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/4c0e53d3-e7a5-467a-88df-56676f5bd86f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to