Help

David Shaw dshaw at jabberwocky.com
Tue Nov 4 23:04:53 CET 2003


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

On Tue, Nov 04, 2003 at 09:28:22AM -0500, smoore wrote:
> I imported a group of keys using gpg and need to sign them all. How can I
> automate this process. Currently, I have over 3000 users to sign.

There are several ways to automate this:

1) If you don't mind typing your passphrase over and over, you can do
something like

for i in `cat list_of_keys`
do
gpg --sign-key $i
done

2) Use the --status-fd interface to drive GnuPG via an external
script.

3) Use expect.

I'm not going to get into the issue of how you assure that all 3000+
keys are the right ones for you to sign.  Presumably you have a
solution for that. ;)

David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.4-cvs (GNU/Linux)
Comment: Key available at http://www.jabberwocky.com/david/keys.asc

iHEEARECADEFAj+oduUqGGh0dHA6Ly93d3cuamFiYmVyd29ja3kuY29tL2Rhdmlk
L2tleXMuYXNjAAoJEOJmXIdJ4cvJcR0AoNT24NBh/D+aF54Ztp8Ys8bbSh1wAJ4i
OQRqyfXZ8ejqryOD976MYQ/QFw==
=Lz+m
-----END PGP SIGNATURE-----



More information about the Gnupg-devel mailing list