How do I use GPG ?
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
Comments Off on How do I use GPG ?