Planifica / encryption

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

Support public (unencrypted) documents #8

Closed mquandalle closed 6 years ago

mquandalle commented 9 years ago

Hi Philipp,

I'm considering using this package in a hosted (“SASS”) version of http://wekan.io to encrypt user data (boards, cards, files). One particular need that I have is to support public boards that can be read by anyone. Do you have any suggestion about how this could be implemented using the planifica:encryption package? Maybe this would require adding a encryptionCondition(doc) -> bool option for the CollectionEncryption constructor?

PhilippSpo commented 9 years ago

Glad to hear you consider using it in wekan :) Yes a encryptionCondition definitely makes sense. Do you want to go for a PR?