## page was renamed from GPGEncryptDecrypt = OpenPGP = OpenPGP encryption and signing tool == Encrypt - decrypt == {{{#!highlight bash gpg --version # gpg (GnuPG) 1.4.23 echo "aaa" > test.txt gpg --symmetric text.txt # creates encrypted file test.txt.gpg gpg --output x.txt --decrypt test.txt.gpg diff test.txt x.txt }}} == Send file encrypted with symmetric key by email in CentOS 6.3 == * /usr/bin/gpg-agent --daemon /usr/bin/gpg --yes --batch --passphrase symmetricPass -c file.txt * /bin/cat /root/file.txt.gpg | /bin/mail -s "subject xyz" mail.me@example.net * gpg --version # gpg (GnuPG) 2.0.14 == Decrypt file encrypted with symmetric key in CentOS 6.3 == gpg-agent --daemon gpg --yes --batch --passphrase symmetricPass bh.file.txt.gpg == Decrypt file encrypted with symmetric key in Slackware 14 == * gpg --passphrase symmetricPass file.txt.gpg * gpg --version # gpg (GnuPG) 1.4.12 == Install pass command == * https://www.passwordstore.org/ the standard unix password manager (~/.password-store/) {{{#!highlight bash sudo apt install pass pass init "userx password storage key" gpg --full-generate-key # 1 3072 0 Real name: userx Email address: userx@bitarus.allowed.org Passphrase: ******** gpg --list-keys pass init 999999999999999999999999a9aa9a9a9a99a pass add svc/user pass add svc/pwd pass list }}}