GPG encrypt and decrypt a file with a passphrase
https://www.lukeko.com/11/gpg-encrypt-and-decrypt-a-file-with-a-passphrase 0Encrypt the file
gpg -c example.txt
Clear the cache
echo RELOADAGENT | gpg-connect-agent
Decrypt the file
gpg -d example.txt.gpg