Darxus on Sat, 18 Nov 2000 20:09:30 -0500


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

[PLUG] traced a gpg signature path from Linus Torvalds to myself


The program I wrote to do the trace is
http://www.chaosreigns.com/code/sigtrace.pl

I started by adding the following to my ~/.gnupg/options:

 keyserver wwwkeys.pgp.net

-- so that gpg could grab new keys itself.


Basically what I did was, I exported my own public key to a seperate
keyring (since I didn't want to clutter my primary one) by doing:

gpg --no-default-keyring --keyring mysigs --recv-keys 0E9FF879

Then I executed a command to download all the keys that signed all the
keys in my keyring:

gpg --no-default-keyring --keyring mysigs --recv-keys `gpg --no-default-keyring --keyring mysigs --list-sigs | grep 'User id not found' | cut -c12-20 | sort -u | tr "\012" " "`

I did that 5 times.  It took a long time.  That gave me 1067 keys.
Then I did listed all the keys in the keyring, and read through them:

gpg --no-default-keyring --keyring mysigs --list-keys | grep ^pub

I found keys from Linus Torvalds and Steve Wozniak.  I traced the
signatures from Steve Wozniak manually.  It was slow.  It sucked.  So I
wrote the program at the above URL, and used that to trace the path from
Linus.  (I actually got Steve's key at the 4th level of recursion, and
Linus's at the 5th, that's why I did Steve's 1st)

$ gpg --fast-list-mode --keyring mykeyring --list-sigs > mysigs
$ cat mysigs | ./sigtrace.pl 449FA3AB 0E9FF879 mykeyring
Loaded data, tracing....
path: 449FA3AB 2BCBC621 93674C40 DC60654E 80675E65 0E9FF879
pub  1024D/449FA3AB 1999-10-05 Linus Torvalds <torvalds@transmeta.com>
pub  1024D/2BCBC621 1999-09-08 H. Peter Anvin (hpa) <hpa@zytor.com>
pub  1024D/93674C40 1997-08-12 Theodore Y. Ts'o <tytso@mit.edu>
pub  1024D/DC60654E 1998-08-17 Miro Jurisic <meeroh@mit.edu>
pub  1024D/80675E65 1997-07-30 Leonard D. Rosenthol <leonardr@lazerware.com>
pub  1024D/0E9FF879 2000-09-05 Darxus <Darxus@ChaosReigns.com>

$ cat mysigs | ./sigtrace.pl 148C6F43 0E9FF879 mykeyring
Loaded data, tracing....
path: 148C6F43 0B3EF042 CD36816B 80675E65 0E9FF879
pub  1024D/148C6F43 1997-10-16 Steve Wozniak <steve@woz.org>
pub  1024D/0B3EF042 1997-06-27 Vinnie Moscaritolo <vinnie@vmeng.com>
pub  1024D/CD36816B 1998-06-11 Pete Gontier <gurgle@iname.com>
pub  1024D/80675E65 1997-07-30 Leonard D. Rosenthol <leonardr@lazerware.com>
pub  1024D/0E9FF879 2000-09-05 Darxus <Darxus@ChaosReigns.com>


Please test this out and let me know how it goes.  And participate in a
keysinging at PLUG or PADS sometime (http://www.phillylinux.org/keys).

-- 
http://www.ChaosReigns.com


______________________________________________________________________
Philadelphia Linux Users Group       -      http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion  -  http://lists.phillylinux.org/mail/listinfo/plug