Batch mode and PassPhrase problems
Fri Jul 27 02:00:02 2001
On Thu, 26 Jul 2001, Brian Powers wrote:
> I have downloaded the GNUPG version for WIndows NT and I need to be able to
> run it in a batch mode in a production environment where no prompts are
> popped up. I see that there is a batch command but it doesn't seem to work:
> I saw the other comment about using the passphrase-fd n command and I have
> not had any luck with it either. I was basically trying to find some
> documentation that explained how to install and run these commands. I found
> some documentation but it would start talking about Linux commands and ways
> of doing things.
Well the command was a bit confusing to me to but this is how it should
look like in your batchfile:
<password> | gpg -a --force-v3-sigs --passphrase-fd 0 -u <userid> -sb
This would sign your file.
"A power so great, it can only be used for Good or Evil!"
-- Firesign Theatre, "The Giant Rat of Summatra"