PGP Key HOWTO: Difference between revisions

From D3xt3r01.tk
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
Line 7: Line 7:
gpg --list-keys
gpg --list-keys
</source>
</source>
  * Step 3. Add a photo < 288x240 recommended since it's incorporated in the key. The bigger the key, the longer time encrypting/decrypting
  * Step 3. Add a photo < 288x240 recommended since it's incorporated in the key.<br/> The bigger the key, the longer time encrypting/decrypting
<source lang="bash">
<source lang="bash">
gpg --edit-key KEY
gpg --edit-key KEY

Latest revision as of 23:32, 10 March 2010

* 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