GPG - Tips
27 Jun 2019encrypt/decrypt file with a symmetric cipher
read passphrase from file
# ~/.gnupg/gpg.conf
passphrase-file /Users/tap/.gnupg/passphrase
encrypt
$ gpg -c foo.txt
$ ls
foo.txt foo.txt.gpg
decrypt
$ gpg -d -o bar.txt foo.txt.gpg
$ ls
bar.txt foo.txt foo.txt.gpg