GPGKey

Differences between revisions 2 and 5 (spanning 3 versions)
Revision 2 as of 2005-09-25 01:37:20
Size: 2523
Editor: gw
Comment:
Revision 5 as of 2005-10-01 09:16:14
Size: 2708
Editor: d66-183-185-27
Comment: added link to GetYourKeySigned, which should probably be merged with this page
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
= Export the key = = Export your key =
Line 39: Line 39:
= Use your key in Mozilla Thunderbirs = = Use your key in Mozilla Thunderbird =
Line 50: Line 50:
You can install [http://seahorse.sourceforge.net/ Seahorse] via apt: You can install [http://seahorse.sourceforge.net/ Seahorse] to mange your keys via apt:
Line 55: Line 55:
= See Also =

 * GetYourKeySigned
 * UnsignedGpgKey
 * ["GPGsigningforSSHHowTo"]
Line 56: Line 62:
[http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto.php GPG-Enigmail Howto]  * [http://www.linuxgazette.com/node/8746 Using GnuPG, on Linux Gazette]
 *
[http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto.php GPG-Enigmail Howto]

Create a GPG Key

gpg --gen-key
  • Then enter a 1 to create a standard DSA/ElGamal key. Press Enter.

  • Type in 2048. Press Enter.

  • Type in 0. Press Enter.

  • Enter a y. Press Enter.

  • Type in your Real Name. Press Enter.

  • Type in your REAL email address. Press Enter.

  • Type in Your First Name, add a comment if you want. Press Enter.

  • Type O. Press Enter. It will now create your Key.

  • You will have to give it a Pass Phrase

- Usually a short sentence or phrase that isn't birthdays, names, etc. of people in your family. I will say this to you, because when it comes to pass phrases, they're not easy sometimes... so write it down. Because what you DON'T want to do is forget it!!

Export your key

gpg --export -a {{{User Name

> public.key}}}

Submit your key

  • Copy the content of public.key:

  • Open http://pgp.mit.edu in a browser window.

  • Paste the copied content in the box under the label, Submit a key

  • Click on Submit this key to the keyserver!

Use your key in Evolution

  • Go back to http://pgp.mit.edu and type in your name in the Search String box.

  • Highlight and Copy the section of the result page under "User ID" (It should be your name, comment, and email address.)
  • Open Evolution and go to Edit->Preferences.

  • Choose your email account, click on it, and then click Edit.

  • Click on the security tab.

  • In the PGP/GPG Key ID: box, paste the User ID from the web page result.

  • Click OK. Click Close.

- If you want to use your key in any new email, simply click on the Security menu item in your new mail message, and then click on PGP Sign ...

Use your key in Mozilla Thunderbird

Install the Enigmail plugin either by:

sudo apt-get install mozilla-thunderbird-enigmail

or by downloading the plugin from [http://enigmail.mozdev.org/ here] and install it manually

Configure GPG in Thunderbird under: Enigmail->Preferences and add under GnuPG executable path the following path /usr/bin/gpg

GUI for GPG key management

You can install [http://seahorse.sourceforge.net/ Seahorse] to mange your keys via apt:

sudo apt-get install seahorse

See Also

Resources

Credits: [http://ubuntuforums.org/showthread.php?t=37086&page=1&pp=10&highlight=enigmail kassetra]

GPGKey (last edited 2008-08-06 16:59:43 by localhost)