1.6 KiB
s3-gpg-proxy-server
Simple solution for adding asymmetric encryption layer to your backup scripts (or something else)
Why I need this?
Some applications (backup solutions for example) unable to work with GPG, but can save results to S3-compatible server. This applicaion provides additional local security layer that encrypts locally all of received files before sending to target
How to use
cp example_settings.env settings.env- Set correct credentials to target S3 server in
settings.env - Run containers with
docker-compose up - Connect to proxy server on http://127.0.0.1:9001 with
ACCESS_KEY=minioandSECRET_KEY=miniostorage.
FAQ
Why do I need asymmetric encryption?
With asymmetric encryption you can use one single key for any purposes without sacrificing security.
It also means that even if even if an attacker gains access to this server, he will not be able to decrypt old data objects..
Is it secure?
It is containerized application, only encrypted data may be uploaded to target server. And no one can access this containers from the Internet.
I never used Docker. Where I can get it?
You need Docker Engine and Docker Compose. It is possible to install this tools on almost any existing server, even on RaspberriPi.
Is it production ready?
Quick answer is no. Use it at your own risk.
But realization is pretty simple inside. Should work stably. Even if encryption part fails it is possible to recover initial, unencrypted data from local Minio server instance.