gpg-multi
~~~~~~~~~

gpg-multi is a little hack I wrote to automate signing keys.  I hope it
will be useful for you too.


Compiling gpg-multi
~~~~~~~~~~~~~~~~~~~

Type 'make'.  If it doesn't work, email me, <matthew@wil.cx>.


Installing gpg-multi
~~~~~~~~~~~~~~~~~~~~

It needs to be setuid-root (in order to use mlock()), so I normally do:

sudo chown root gpg-multi
sudo chmod 4755 gpg-multi

You might want to copy it to /usr/local/bin or something.  Up to you,
really.  If you're nervous about making a random program you downloaded
from the internet setuid-root (and, really, you should be!), feel free
to read the code to verify for yourself I don't add an extra entry to
/etc/passwd or something.  It's not a very large program.

If you trust me, "sudo make install" will do the above steps.


Using gpg-multi
~~~~~~~~~~~~~~~

./gpg-multi --sign-key 8E7C03FF 135EA668 BC8043BB 57548DCD

will first prompt you for your passphrase and then invoke gpg four times to
sign each of these keys.  You won't have to enter your passphrase again
because gpg-multi will pass it to gpg via the --passphrase-fd option.
See the gpg manual for details of how this works.
