Using passphase-fd from within a batch procedure

Eugene Kotlyarov ekot at
Thu May 13 07:22:30 CEST 2004

Todd wrote:
> I recall reading here on this list that when you use echo into a pipe,
> you need to have the pipe directly after the %1, as windows will pass
> the space between the %1 and the pipe to gpg as part of the
> passphrase.
Yes this is really so, I didn't check my example before sending. It 
should be:

'echo %1| gpg ...'

without space after %1

More information about the Gnupg-users mailing list