From: Adam Shostack <adam@bwh.harvard.edu>
To: cypherpunks@toad.com (Cypherpunks Mailing List)
Message Hash: f541ec0ae263aae735adcebc06e12db7761a407fd78dcb282db645e6954064ad
Message ID: <199412060248.VAA04314@bwh.harvard.edu>
Reply To: N/A
UTC Datetime: 1994-12-06 02:49:21 UTC
Raw Date: Mon, 5 Dec 94 18:49:21 PST
From: Adam Shostack <adam@bwh.harvard.edu>
Date: Mon, 5 Dec 94 18:49:21 PST
To: cypherpunks@toad.com (Cypherpunks Mailing List)
Subject: fixed code
Message-ID: <199412060248.VAA04314@bwh.harvard.edu>
MIME-Version: 1.0
Content-Type: text/plain
The procmail stuff I sent yesterday was slightly broken. It
seems that keyservers respond well to 'mget 36E61FB1', but not 'get
36E61FB1'
To auto retrieve keys, use these two procmail recipies:
# auto key retreival
:0BW
* -----BEGIN PGP
KEYID=|/usr3/adam/bin/sender_unknown
# I have an elm alias, pgp, points to a keyserver
:0ac
|elm -s"mget $KEYID" pgp
sender_unknown
#!/bin/sh
# sender_unknown returns a keyid, exits 1 if the key is known
OUTPUT=`pgp -f +VERBOSE=0 +batchmode -o /dev/null`
echo $OUTPUT | egrep -s 'not found in file'
EV=$?
if [ $EV -eq 0 ]; then
echo $OUTPUT | awk '{print $6}'
fi
exit $EV
Return to December 1994
Return to “Rick Busdiecker <rfb@lehman.com>”