Planifica / encryption

Client-Side Encryption for Mongo Collections
https://atmospherejs.com/planifica/encryption
MIT License
36 stars 5 forks source link

Collections should be able to encrypt documents using the document key of a principal from another collection #10

Open thecount2a opened 8 years ago

thecount2a commented 8 years ago

For example:

Each document in "Chats" could have a principal that can be shared with a new user at any time but each document in "Messages" would be encrypted using the Chats principal, thereby cutting down on the amount of space required to store the keys. There would no longer need to be Principal keys for each Message document. This would also cutting down on the amount of time it takes to share an entire group of Messages with a new user.

I am not sure if this is possible with the current implementation but my understanding of the code suggests that it is not.