Detached signature on multiple files?

David Shaw
Wed Aug 14 23:10:01 2002

On Wed, Aug 14, 2002 at 03:56:31PM -0500, Greg Strong wrote:

> Hello Anthony,
> On Sun, 11 Aug 2002, at 12:24:30 [GMT -0400] your time you wrote in
> <mid:20020811122430.B1458@cp5340>:
> AEG> No. You have to run gpg once for each file. You can use a batch
> AEG> file with a FOR loop. You can do this on the command line in a *nix
> AEG> shell.
> AEG> for docfile in `ls *.doc`; do gpg --detach-sign $docfile; done
> Thanks! I have no Unix box so that leaves me SOL.

GnuPG can do multiple detached signatures without any shell magic.

  gpg -b *.doc

I don't have a windows box in front of me, but it should work the same
way there.  I believe the problem you were having was using "-sb" to
sign, and not just plain "-b".


   David Shaw  |  |  WWW
   "There are two major products that come out of Berkeley: LSD and UNIX.
      We don't believe this to be a coincidence." - Jeremy S. Anderson