PGP Key HOWTO

From D3xt3r01.tk
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
* Step 10. Send your key to a key server
gpg --keyserver pgp.mit.edu --send-key KEY