Skip to content

A very simple cli helper that encrypts files in directories using AES-GCM (128bit)

License

Notifications You must be signed in to change notification settings

ory/encrypt-dir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

encrypt-dir

A very simple cli helper that encrypts files in directories using AES-GCM (128bit). Particularly suited for en-/decrypting sensitive information in git repositories.

Join the chat at https://discord.gg/PAMQWkr

Installation

$ go get -u github.com/ory/encrypt-dir
$ encrypt-dir encrypt --key=JephkRhbfqzDHMAYUtHa6qcys4R4D48w some-directory-1 some-other-directory

Usage

Encrypt

$ ls some-directory-1
foo.txt
$ ls some-other-directory
bar.txt

$ encrypt-dir encrypt --key=<some-key> some-directory-1 some-other-directory

$ ls some-directory-1
foo.txt foo.txt.secure
$ ls some-other-directory
bar.txt foo.txt.secure

Decrypt

$ ls some-directory-1
foo.txt.secure
$ ls some-other-directory
bar.txt.secure

$ encrypt-dir decrypt --key=<some-key> some-directory-1 some-other-directory

$ ls some-directory-1
foo.txt foo.txt.secure
$ ls some-other-directory
bar.txt foo.txt.secure

About

A very simple cli helper that encrypts files in directories using AES-GCM (128bit)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages