Generate gpg keys, upload to server, pull from server, from CLI


  1. gpg --gen-key
  2. gpg --list-keys
  3. gpg --keyserver pgp.mit.edu --send-keys '62E49F5A'
    1. that funky number is listed in the output of "list-keys", just look carefully
      1. your funky number will be unique
      2. should be 8 digits long and hex
  4. gpg --keyserver pgp.mit.edu --search-keys 'youremail@yahoo.com'
  5. gpg --keyserver pgp.mit.edu --search-keys 'yourgirl@yahoo.com'
  6. gpg --keyserver pgp.mit.edu --recv-keys 1F3B6ACA
    1. Get her key with the ID you saw in previous step
  7. Use keys to encrypt content
    1. Can be encrypted for multiple people in one go, and only those listed can open the result

Comments

Popular posts from this blog

Openvpn and unbound combined break dig command

Stress Linux system: stress-ng

Google Nexus 4: permanent back panel glass repair for less than a penny