Maxime Chambreuil

Monday July 2, 2007

How do I use GPG ?

Max @ 22:17 | Filed under: Information Technology

Here are the basics command after installing gnupg :Generate his public and private key :

$ gpg --gen-key

Publish his public key :

$ gpg --keyserver wwwkeys.pgp.net --send-key [your email]

Retrieve public keys :

$ gpg --keyserver wwwkeys.pgp.net --search-keys [email]
$ gpg --keyserver wwwkeys.pgp.net --recv-keys [hexadecimal code of the key]
$ gpg --sign-key [email]

List all your keys :

$ gpg --list-keys

Update/Modify key :

$ gpg --edit-key [email]

Delete key :

$ gpg --delete-secret-keys [email]
$ gpg --delete-key [email]

Store his public key in a file :

$ gpg --export --armor [email] > publickey.asc

Verify a signature :

$ gpg --verify signature.asc

No Comments

No comments yet.

RSS feed for comments on this post.

Sorry, the comment form is closed at this time.

Copyright © Maxime Chambreuil