What would be the best strategy for grabbing each incoming document during replication? It is encrypted on the remote server CouchDB and I need to decrypt it and store it unencrypted locally in my app.
--
You received this message because you are subscribed to a topic in the Google Groups "Couchbase Mobile" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mobile-couchbase/ArwoOEd1Me0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mobile-couchba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/A528E56B-7D91-427C-8B73-A7F1EDA9B39E%40couchbase.com.
For more options, visit https://groups.google.com/groups/opt_out.
I am encrypting with the iOS encryption.
My documents have a single ‘data’ property that is an encrypted string. Without a hook for decrypting, I will have to either decrypt during views or run through the entire db looking for unencrypted data at launch.
I'm using AES 128 encryption. The key is generated on my Node.js server when the user registers to use the app.
I struggled with this as a business decision and finally decided I could not safely/economically keep track of the encryption keys. User beware.