OpenPGP

OpenPGP encryption and signing tool

Encrypt - decrypt

   1 gpg --version # gpg (GnuPG) 1.4.23
   2 echo "aaa" > test.txt
   3 gpg --symmetric text.txt # creates encrypted file test.txt.gpg
   4 gpg --output x.txt --decrypt test.txt.gpg
   5 diff test.txt x.txt

Send file encrypted with symmetric key by email in CentOS 6.3

Decrypt file encrypted with symmetric key in CentOS 6.3

Decrypt file encrypted with symmetric key in Slackware 14

Install pass command

the standard unix password manager (~/.password-store/)

   1 sudo apt install pass
   2 pass init "userx password storage key"
   3 gpg --full-generate-key # 1 3072 0 
   4 Real name: userx
   5 Email address: userx@bitarus.allowed.org
   6 Passphrase: ********
   7 gpg --list-keys
   8 pass init 999999999999999999999999a9aa9a9a9a99a
   9 pass add svc/user
  10 pass add svc/pwd
  11 pass list

OpenPGP (last edited 2022-06-11 14:54:58 by localhost)