Index

Subject : LUG: gpg shell scripts

From : Ian Meyer <ianmeyer@mac.[redacted]>

Date : Thu, 20 Oct 2005 00:57:17 -0400


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alright, so I'm lazy.

But someone else asked for this, so I'll share.

Ed thought that this would be a Bad Idea (tm), but when its run, it
shows you the key data, and prompts for verification (Are you sure
you want to sign this key?) and a passphrase every time, then sends
them all up to the server. I think I have a typo though, and didn't
keep my sheet, so if someone wants to reply and point out the
erroneous fingerprint, that would be great. I've marked it with *s.
Also, I have edited the scrips to include my own fingerprint, which
it did not originally include for obvious reasons, and you may with
to remove your own, but GPG should skip right over it since its
already signed.

And now, the script:

#!/bin/bash

for key in B779F2D4 BA050CFC 5BE1A884 33E2528C D5A3A55C *05C55D73*
2BA383C0 0E069059 4C502FA0 B779F2D4 9793CFED 9BD85A05 24D9EEB7
do
gpg --sign-key $key
done

for key in B779F2D4 BA050CFC 5BE1A884 33E2528C D5A3A55C *05C55D73*
2BA383C0 0E069059 4C502FA0 B779F2D4 9793CFED 9BD85A05 24D9EEB7
do
gpg --send-keys $key
done

~ian

- --
Ian Meyer - ianmeyer@mac.[redacted], ianmeyer@gmail.[redacted]

GPG Key ID: B779F2D4
Fingerprint: FF2D F47B DCEB 4434 7DFF 9078 F857 DFC4 B779 F2D4

- - Wait a minute, Doc. Ah... Are you telling me you built a time
machine... out of a DeLorean?
- - The way I see it, if you're gonna build a time machine into a car,
why not do it with some style?
- --




-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFDVyOu+FffxLd58tQRAq69AJ9APJCLGzPOxwosAXMazwqCEw3cyQCeNzIF
AMvQ/u2GBV4BXa0YkpD8Gmo=
=Jgrf
-----END PGP SIGNATURE-----