About PGP Signing a File.

Jeffrey F. Bloss jbloss at tampabay.rr.com
Sun Feb 11 12:21:58 UTC 2007


John Dangler wrote:

> So, how can I get a valid signature that I can put in my evolution
> emails?

Assuming you don't have GnuPG installed already, and a lack of any
GUI tools like GPA or Seahorse...

 sudo apt-get install gnupg

 gpg --gen-key

Go with the defaults, DSA/ELG... 2048 bit... doesn't expire... etc. When
asked, type in your real name and email address (they'll be asked for
separately). Some programs use the email address especially to
determine which key to use.

The "Comment" is a free form string you can use for whatever tickles
your fancy. Just leave it blank for now. Everything but the key size
and type can be changed later.

Use a *good* pass phrase. :)

Let GnuPG do it's "entropy gathering" and "random numbers" thing and
presto. You have a shiny new key pair. :) Do a 'gpg --list-keys' to get
some relevant information about them. A 'gpg -K' will show you your
"secret keys". Make note of the Key ID, you'll need it later...

 pub   1024D/BA8A9C29 2005-08-06
    4 uid                  Jeffrey F. Bloss <jbloss at tampabay.rr.com>
    [...]

The 'BA8A9C29' part is what you're looking for. Yours will be different.
If it isn't we have a problem. <grin>

Get your public key onto at least one server...

 gpg --send-key <ID> --keyserver hkp://random.sks.keyserver.penguin.de

You'll replace <ID> with your key ID as above. There's a couple other
servers you may want to send to. I'd at least do hkp://subkeys.pgp.net
also.

That takes care of GnuPG.

In evolution you'll want to go into (working blind here) Edit >
Preferences > Mail Accounts > Edit Account. One of the tabs on that
dialog is labeled "Security" I believe, and that's where you enter your
GnuPG information. Use your "BA8A*****: for Key ID again, check the
"always sign outgoing" if you want (some people dislike the extra
baggage), and it's a good idea to "encrypt to self" at least at first to
troubleshoot any problems you might have with encrypted mail if you
send any.

I think that should do it. Click your way back out of Evolution's
configs and generate a mail. If you have "always sign" set and the
proper Key ID entered you should be prompted for a pass phrase after
you've composed and hit the "Send" button.

-- 
     _?_      Outside of a dog, a book is a man's best friend.
    (o o)         Inside of a dog, it's too dark to read.
-oOO-(_)--OOo------------------------------[ Groucho Marx ]---
                    http://wrench.homelinux.net/~jeff/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 892 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070211/cb66c1ef/attachment.sig>


More information about the ubuntu-users mailing list