forked from https://github.com/twe4ked/catacomb - great stuff, I just wanted flexibility with decryption.
Encrypts STDIN to STDOUT using public ssh key files or public ssh keys from GitHub.
Using fresh, run the following:
fresh mvtango/catacomb bin/catacomb --bin
Manually:
mkdir ~/bin/
wget https://raw.github.com/mvtango/catacomb/master/bin/catacomb ~/bin/catacomb
export PATH="$PATH:~/bin/"
# the PATH will need to be set in your shell config
cat plain.txt | catacomb [public_key_file|github handle] >cipher.txt
or
cat cipher.txt | catacomb [secret_key_file] >plain.txt
- Encrypts using a key file or the first key retrieved from GitHub
- Decrypts using the key file provided on the command line.`
MIT.
https://github.com/twe4ked/catacomb/blob/master/bin/catacomb