Log in

entries friends calendar profile The Pædantic Programmer Previous Previous Next Next
Generate a GnuPG key - The Pædantic Programmer's LiveJournal
Generate a GnuPG key
Nota Bene
The key indicated below has been compromised since around 03/2007. I'll generate a new one and upload it to the MIT key server when my domain is securely back in place.

to generate a gpg key, run the following:

gpg --gen-key

when that completes, run

gpg --list-keys <email you used>

for instance, to get the key information from my pub key, I run:

$ gpg --list-keys cjcollier@mysql.com
pub 1024D/6CC27EA8 2001-04-27
uid C.J. Collier <cjcollier@colliertech.org>
uid C.J. Collier <cjcollier@sinclair.net>
uid C.J. Collier <cjcollier@mysql.com>
uid [jpeg image of size 9187]

After you generate it, you should publish your public key:

gpg --keyserver pgp.mit.edu --send-keys <your id>

mine looks like this:

$ gpg --keyserver pgp.mit.edu --send-keys 6CC27EA8
gpg: sending key 6CC27EA8 to hkp server pgp.mit.edu

You can get my GnuPG key with the following command:

$ gpg --keyserver pgp.mit.edu --recv-keys 6CC27EA8

Let me know what your ID is when you complete this. When I see you
next, I'll sign your key. Provided you remind me :)

Tags: , , , , ,

2 comments or Leave a comment
krow From: krow Date: February 23rd, 2006 03:08 am (UTC) (Link)
I lose my key for my main email address years ago :(
cjcollier From: cjcollier Date: February 23rd, 2006 03:25 am (UTC) (Link)
You can always mark it lost and generate a new one :)
2 comments or Leave a comment