Encrypt/Decrypt files using Carrierwave to store in S3


I need to be able to encrypt files before storing them on S3, and then
decrypt them when accessing them. The files will be images, documents,
PDF, etc.

I am using Carrierwave to handle the file upload and storage. I am
storing them in Amazon S3.

Has anyone done this, or have any ideas how this would be achieved?


Hi! jfried, did you get the solution to encryption of files before
uploading them to S3. If yes, how? If you can share the source code then
will be great as a learning resource.


Why do you need to encrypt the files, just set the folder to private so
one else can access them.