Skip to content

Encrypt your files or notes by your GPG key and save to MinIO or AWS S3 easily!

License

Notifications You must be signed in to change notification settings

jack5341/super-dollop

Repository files navigation


Super Dollop

Super Dollop can encrypt your files and notes by your own GPG key and save them in S3 or minIO to keep them safe and portability, also you can use Super Dollop for encrypt your file quickly to print it. So with Super Dollop you'll solve your keep your notes with security problem easily with Gopher. By the way if you want to encrypt your file you can print it directly to your terminal with -p easily.

list-command print
dollop list

Requirements

  • Go `>= 1.16
  • MinIO
  • Core dependencies: gnugpg, gpgme>=1.7.0, libgpg-error

Installation

Install gnupg

sudo apt-get install gnupg

Set your environments to your terminal

.zshrc

# Environment variables for MinIO
export MINIO_ENDPOINT=127.0.0.1:9000
export MINIO_ACCESS_KEY=admin
export MINIO_SECRET_KEY=secretadmin
export MINIO_GPG_ID=GPG-ID
export MINIO_BUCKET_NAME=dollop-files

Get your MinIO container.

docker-compose.yml

version: "3"
services:
  s3:
    image: "minio/minio"
    hostname: "storage"
    restart: "no"
    volumes:
      - data:/data
    ports:
      - "9000:9000"
      - "9001:9001"
    entrypoint: ["minio", "server", "/data","--console-address",":9001"]
    networks:
      - local
volumes:
  data:

networks:
  local:
// Pull minio/mc
docker pull minio/mc

// Run pulled image with docker-compose.yml file
docker-compose up

Give first gas to Super Dollop

// clone the super-dollop repository
git clone https://github.com/jack5341/super-dollop && cd super-dollop

// try to run list command
go run . list

Usage

dollop [FLAGS] [OPTIONS]
COMMANDS:
    completion  generate the autocompletion script for the specified shell
    dec         List your all encrypted files and notes.
    enc         A brief description of your command
    help        Help about any command
    list        List your all encrypted files and notes.

Cli Schema

Commands Flags
dec -n --name
enc -f --file -n --note -p --print
list -d --delete

Feedback

If you have any feedback, please reach out to us at [email protected]

License

Apache-2.0