-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not encrypting existing files #29
Comments
It is correct that the addon is not encrypting existing documents - I consciously did not design an automatic encryption process because if you'd make a mistake in configuration, it would be hard to undo / reverse. Variant 1) can already be dealt with by this addon. It would be possible to implement a routing store based on a selector property / aspect which is backed by the default content store and an encrypting store. Then, a batch process could apply the selector on all nodes in workspace://SpacesStore and that would copy/move the content over to the encrypted content store (provided the move/copy flag is set in configuration), encrypting existing content on the fly. If the old content is no longer reference, it would be orphaned and removed after the configured orphan protection period. Variant 2) would be extremely invasive and potentially hard to do. This addon is not just designed to provide the encrypting content store, but also various routing stores. For old versions or archived nodes it would potentially be impossible to determine if their routing would include an encrypting content store, and if they needed to be encrypted or not. I'll have to think about it and see if I can come up with a potential approach to deal with 2). |
Hi Alex, Can you please give me a sample configuration to encrypt existing content using variant 1. Below is my present config for encryption. simpleContentStores.enabled=true simpleContentStores.customStores=myEncryptingStore,defaultTenantFileContentStore simpleContentStores.customStore.myEncryptingStore.type=encryptingFacadeStore |
Hi AFaust,
This add-on is too good and worked but its not working for existing documents.
If I apply this on a new instance to encrypt contentstore, then its working fine but If I apply the amps to the existing instance, then its not working for existing data. The new files created are encrypting but existing files are not encrypting.
Is there any way we can apply rule or something to encrypt existing files ?
Thanks.
The text was updated successfully, but these errors were encountered: