-
Notifications
You must be signed in to change notification settings - Fork 51
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
Readme lacks the explanation on how to remove the library and decrypt the db #77
Comments
You're right! That should be added. In the interim, the way to do it would be to set encryptedFields to be an empty array, and then find and save each document. Something along the lines of, They'll get decrypted on the fly in the find and then saved without re-encrypting any fields. Obviously test this locally/in a staging environment first, and then when you do it production, confirm that this worked by looking in Mongo before removing the plugin. I haven't run through the process with this version of the plugin yet myself. Agreed though, there should be a test for this, and also an item in the readme, so leaving open the ticket for that |
hi @joegoldbeck i am heavily considering using this lib. i have a few questions if you don't mind.
|
Hi @chitgoks thanks for reaching out. Probably this makes sense as a new issue rather than addendum in an unrelated one, but:
|
This is not working for me for some reason, I tried with top-level fields and with sub-document fields as well. |
I am trying to do the same, please let me know if you found out how to get it done |
I just didn't use the lib all together. I just need to encrypt a single field inside a document in an array. So It was better to use crypto lib and work with that. |
Hi, I decided to stop using this lib in my project, but I already have encrypted my db. I didn't find any explanation on how to delete the library and decrypt the database.
So I guess it should be added to the Readme.
The text was updated successfully, but these errors were encountered: