Difference between revisions of "Gpg"

From KeegansWiki
Jump to navigation Jump to search
(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...")
 
(No difference)

Latest revision as of 07:51, 6 December 2013

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