D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

[LUG] Graphical representation of the DCLUG keyring



Just if anyone is interested (just me then?), I managed to get one of the 
GnuPG/PGP keyring / web-of-trust imaging programs to work and after a lot of 
fiddling to get the scripts to concentrate just on DCLUG members, I've got 
the file small enough to be usable and actually viewable!

http://www.dclug.org.uk/linux_uk/dclugkeyring.png

The first run I did, it was still rendering the image SIX HOURS later. That's 
not the worst of it. I did a second run with a much reduced keyring and even 
though it took only 10minutes to run, the resulting PNG image was so large 
that it took 25 MINUTES for Konqueror to render the image! I shudder to think 
what could have happened if the first run had ever finished! Finally, I got 
it down to a 20 second rendering time and a 17k PNG file. If people really 
are interested, here's a list of the programs I had to install to do it:

sig2dot.pl
http://www.chaosreigns.com/code/sig2dot/

springgraph.pl
http://www.chaosreigns.com/code/springgraph/

trustgraph.sh
http://www.chaosreigns.com/code/sig2dot/trustgraph.sh

perl-GD-2.06, libgd2-2.0.9, libgd2-devel-2.0.9
(mandrake RPMs)

Then used:
$ chmod 755 sig2dot.pl springgraph.pl trustgraph.sh

$ gpg --output smallkeyring.gpg --export <keyidlist>

$ gpg --no-default-keyring --keyring ./smallkeyring.gpg --list-sigs | 
sig2dot.pl | ./springgraph.pl -s 0.75 > smallkeyring2.png

The crucial stage is working out just how many keys to put into the 
<keyidlist> - too few and there are too many [user id not found] links, too 
many and you may never get the image to load into a viewer.

-- 

Neil Williams
=============
http://www.codehelp.co.uk
http://www.dclug.org.uk

http://www.biglumber.com/x/web?sn=Neil+Williams

Attachment: pgp00003.pgp
Description: signature


Lynx friendly