Gpg

From KeegansWiki
Revision as of 07:51, 6 December 2013 by Keegan (talk | contribs) (Created page with "=Create Key= * gpg --gen-key * gpg --armor --output pubkey.txt --export 'Your Name' = List Keys= * gpg --list-keys =Import another key= * gpg --import key.asc =Encrypt file us...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Create Key

  • gpg --gen-key
  • gpg --armor --output pubkey.txt --export 'Your Name'

List Keys

  • gpg --list-keys

Import another key

  • gpg --import key.asc

Encrypt file using someone else's public key

  • gpg --encrypt --recipient user@email.com inputFile