[ale] Short script that might help on key-signing

Charles Shapiro hooterpincher at gmail.com
Fri Nov 20 11:35:16 EST 2009


Nothin' too complicated..

#!/bin/bash

if gpg --list-sigs $1 | grep $2 > /dev/null
then
    true
else
    echo $1
fi

What I did was meticulously check the keys once against
keyserver.ubuntu.com, then make a list of the key ids, one to a line.

Then I could sign them with:

for kk in `cat key_list.txt`
do
gpg --sign-key $kk
done

And check them with:

for kk in `cat key_list.txt`
do
    check_key $kk {my hex id}
done

When no key IDs came out, I knew I was good. Then I could send them:

for  kk in `cat key_list.txt`
do


Of course, I cheated and used expect(1), but you didn't hear that from me.

-- CHS


More information about the Ale mailing list