#!/bin/sh # Where does BigLumber have our key KEYURL="http://www.biglumber.com/x/web?keyring=5028;download=1" # A temporary ring TMPRING="/tmp/trilug.gpg" # Where do you want the picture? OUTPUT="/tmp/trilug-wot.png" # The base GPG command to use the temporary ring and not # muck about with your own. GPGCMD="gpg --no-options --no-default-keyring --keyring ${TMPRING}" # Generate a temporary keyring for GPG to chew on curl "$KEYURL" | $GPGCMD --import # Process the keyring $GPGCMD --list-sigs | sig2dot | springgraph > ${OUTPUT}