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

Charles Shapiro hooterpincher at gmail.com
Fri Nov 20 11:37:14 EST 2009


Oops, hit <send> by accident.

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

for  kk in `cat key_list.txt`
do
   gpg --keyserver keyserver.ubuntu.com --send-key $kk
done

-- CHS

On Fri, Nov 20, 2009 at 11:35 AM, Charles Shapiro
<hooterpincher at gmail.com> wrote:
> 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
>
>
> Of course, I cheated and used expect(1), but you didn't hear that from me.
>
> -- CHS
>



More information about the Ale mailing list