Skip to content

ckateraas/encryptor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Encryptor

Use Docker and GPG to encrypt and decrypt files on your machine.

Encrypting

If you want to archive a folder, or a single file, you can use encrypt.sh. This script will also check if you have the encryptor Docker image locally and build the image if it is missing.

# A single file
./encrypt.sh my-secret-file.txt

# Or a directory
./encrypt.sh my-secret-journal/

After running encrypt.sh you will be prompted by gpg for a password. Once you have filled in your password, you will find a .gpg file in your current directory. This file is an encrypted tar archive of the file/directory you specified.

Decrypting

To restore the contents of an encrypted archive, use decrypt.sh.

./decrypt.sh my-secret-archive.gpg

About

Encrypt/decrypt files using Docker and GPG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published