Passphrase as parameter in the command line

Stefan Bellon
Fri Jan 4 18:43:01 2002

"ritter, horst (EDS CH)" <> wrote:

> I have been looking for weeks for a solution to the following problem.

... but neither on this mailing list nor in the archives nor with

and then the first link.

> How can I give gpg the passphrase as parameter in the commandline to
> decrypt files, instead to type it in after GPG's request?

echo "my_secret_passphrase" | gpg --passphrase-fd 0 --foo --bar



 Stefan Bellon * <> * <>
 PGP 2 and OpenPGP keys available from my home page

 WOMAN.ZIP - Great program but no documentation.