-
Type: New Feature
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Client Side Encryption, GridFS
-
None
Goal
Be able to use explicit (manual) encryption for files uploaded through the GridFS driver.
Why
If i'm not wrong, the only way to encrypt/decrypt files with GridFS is to use the automatic CSFLE. It requires to create a new client each times and to install the mongo-enterprisecryptd on the host.
Due to the way we store data in MongoDB (multiple database), we don't want to have to create a new MongoClient each time.
How
By passing required information to encrypt/decrypt data to the GridFSUploadOptions and GridFSDownloadOptions.
If this request is accepted and you provide me basic insights on how you are expecting this feature to be implemented, I will be happy to work on it and submit a pull request on the Github repository.