Search code examples
visualizationgnupggraph-visualization

visualize the GnuPG web of trust


Is there some way to visualise the GnuPG web of trust? With my (or any other) key in the middle, with the signed keys in the first circle, the trustpersons' trustpersons in the next and so on?

If there is nothing like that, I should be able to build something like that based on the key signatures from my lokal keyring, right?


Solution

  • One approach is to convert the output of gpg --list-sigs to a dot file that can be rendered into a graph with the graphviz tools.

    Use gpg, sig2dot, and dot like this:

    gpg --list-sigs | sig2dot.pl > gpg.dot
    dot -Tps gpg.dot > gpg.ps
    evince gpg.ps