PGP Key HOWTO

From D3xt3r01.tk
Revision as of 22:22, 10 March 2010 by Admin (talk | contribs) (New page: Step 1. Generate a key <source lang="bash"> gpg --gen-key </source> Step 2. List the keys <source lang="bash"> gpg --list-keys </source> Step 3. Add a photo < 288x240 recommended since it'...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Step 1. Generate a key

gpg --gen-key

Step 2. List the keys

gpg --list-keys

Step 3. Add a photo < 288x240 recommended since it's incorporated in the key. The bigger the key, the longer time encrypting/decrypting

gpg --edit-key KEY
addphoto
save

Step 4. Generate a revocation certificate

gpg --edit-key KEY
addrevoker

Step 5. Export your certificate

gpg --armor --output dexter.asc --export KEY

Step 6. Submit your key to http://keyserver.pgp.com/vkd/GetWelcomeScreen.event

Step 7. Activate it

Step 8. Download and Import their key

gpg --import keyserver2.pgp.comGlobalDirectoryKey.asc

Step 9. Sign it with your key and mark it as trusted

gpg --edit-key CA57AD7C
sign
trust
save