[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] Short script that might help on key-signing
- Subject: [ale] Short script that might help on key-signing
- From: hooterpincher at gmail.com (Charles Shapiro)
- Date: Fri, 20 Nov 2009 11:37:14 -0500
- In-reply-to: <[email protected]>
- References: <[email protected]>
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
>