User Tools

Site Tools


projects:spacekeys

Spacekeys

thumb|200px|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 [http://www.chaosreigns.com/code/sig2dot/ sig2dot] and [http://graphviz.org/ 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 [mailto:irl@fsfe.org|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

projects/spacekeys.txt · Last modified: 2020/07/07 20:48 (external edit)