You are viewing cjcollier

Tired of ads? Upgrade to paid account and never see ads again!
entries friends calendar profile The Pædantic Programmer Previous Previous Next Next
The Pædantic Programmer's LiveJournal - Generate a GnuPG key
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
pub 1024D/6CC27EA8 2001-04-27
uid C.J. Collier <>
uid C.J. Collier <>
uid C.J. Collier <>
uid [jpeg image of size 9187]

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

gpg --keyserver --send-keys <your id>

mine looks like this:

$ gpg --keyserver --send-keys 6CC27EA8
gpg: sending key 6CC27EA8 to hkp server

You can get my GnuPG key with the following command:

$ gpg --keyserver --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