Projects:Spacekeys

From 57North Hacklab

Spacekeys
Description Web-based view of the 57North web of trust
People User:irl
Theme Community
Website https://irl.sdf.org/spacekeys/
Status Active
A (probably outdated) snapshot of the 57North web-of-trust

Spacekeys is a small project by irl to visualise the 57North web-of-trust for OpenPGP keys. It uses sig2dot and graphviz to produce the visualisations. Remember that you should not trust Spacekeys for key discovery, you should always check that you have a trust path from your key via trusted people. There is no verification when new keys are added beyond a basic sanity check.

Adding your key to Spacekeys

Send an email to irl@fsfe.org to request that your key fingerprint is added (don't forget to include the fingerprint!).

Implementation

The bulk of the logic is contained in a single shell script run by cron job. The KEYS environment variable is set to contain a space separated list of OpenPGP fingerprints.

 gpg --recv-key $KEYS
 gpg --list-keys $KEYS > html/spacekeys/list.txt
 gpg --list-sigs $KEYS | sig2dot -a -s html/spacekeys/table.html > html/spacekeys.dot
 neato -Tpng html/spacekeys.dot > html/spacekeys.png
 neato -Tsvg html/spacekeys.dot > html/spacekeys.svg
 dot -Tpng html/spacekeys.dot > html/spacekeys-dot.png
 dot -Tsvg html/spacekeys.dot > html/spacekeys-dot.svg
 twopi -Tpng html/spacekeys.dot > html/spacekeys-twopi.png
 twopi -Tsvg html/spacekeys.dot > html/spacekeys-twopi.svg
 circo -Tpng html/spacekeys.dot > html/spacekeys-circo.png
 circo -Tsvg html/spacekeys.dot > html/spacekeys-circo.svg
 osage -Tpng html/spacekeys.dot > html/spacekeys-osage.png
 osage -Tsvg html/spacekeys.dot > html/spacekeys-osage.svg

See Also

External Links