2020-09-06 18:20:20 +03:00
2020-08-16 18:45:04 +03:00
2020-08-16 18:47:11 +03:00
2020-08-16 18:47:11 +03:00
2020-08-16 18:47:11 +03:00
2020-08-16 18:47:11 +03:00
2020-08-16 17:17:25 +03:00
2020-08-16 20:03:56 +03:00
2020-09-06 18:20:20 +03:00
2020-08-16 18:47:11 +03:00

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

Dependencies

You need Docker Engine and Docker Compose.

Usage

  1. cp example_settings.env settings.env
  2. Set correct credentials to target S3 server in settings.env
  3. Run containers with docker-compose up
  4. Connect to proxy server on http://127.0.0.1:9001 with ACCESS_KEY=minio and SECRET_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.

Is it possible to use this without Docker?

Docker provides additional security, which is important for applications like this. It also simplifies configuring.

This solution is not just one application, but Minio server + application on golang. You can run it without Docker, but this is not recommended and not supported.

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.

Description
Simple solution for adding trusted asymmetric encryption layer to your backup scripts. https://likemath.ru/
Readme Apache-2.0 5.8 MiB
Languages
Go 91.3%
Dockerfile 5.1%
Shell 3.6%