Suppressing passphrase prompt

Frank Tobin ftobin@neverending.org
Fri Jun 21 17:59:02 2002


Steven Handleman, on 2002-06-21, wrote:

> I am a new user to GPG and I am hoping that someone on this list can
> provide an easy answer to this.  When I try to sign & encrypt a file
> (--sign -- encrypt --armor), gpg prompts me for a passphrase for my
> secret key.  Is there any way to suppress this prompt?  I need to
> suppress it because the encryption is going to become part of an
> automated batch file.

Use --passphrase-fd then for automated entering.

-- 
Frank Tobin			http://www.neverending.org/~ftobin/