Passphrase in the command line

Bart Martens bart.martens@advalvas.be
Fri Mar 15 19:13:02 2002


On Fri, Mar 15, 2002 at 01:55:00PM +0000, Armin Schöch wrote:
> > I have a question about the GPG's command line:
> > How can I specify the passhprase in the command line?
> > in the PGP 6.5.8 command-line there is option
> > -z PASSPHRASE
> > it is very usefull option in the scripts that automatic process
> > encrypted mail
> 
> And it's an FAQ:
> echo PASSPHRASE | gpg --passphrase-fd=0 ......
> Check the manual: Unix/Linux "man gpg", Windows "gpg.man" or something
> similar.
> HTH,
> Armin
> 

Here it is --passphrase-fd 0 without the '='.