Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
gpg --import public.key

Reading an encrypted message from somebody

Assume you got the message (e.g. as an email enclosure) and you coped it to your home directory as:

Code Block

201cottrell@wanmon:~$gpg -d msg-from-martin.asc

You need a passphrase to unlock the secret key for
user: "Roger Cottrell (Les) <rlacottrell@gmail.com>"
2048-bit RSA key, ID 87C7DB76, created 2013-09-11 (main key ID 271CF0E9)

Enter passphrase:

The decrypted output is written to STDOUT.

Documentation

See http://www.gnupg.org/documentation/guides.en.html