How to bypass the passphrase prompt when runing gpg decrypt command in a script?

Anthony E. Greene agreene@pobox.com
Sat Aug 17 16:04:02 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 15-Aug-2002/17:24 -0700, Shiuwen Fu <shiuwenf@microsoft.com> wrote:
>Hi all,
>
>Does anyone know how to achieve this in a script when running gpg decrypt
>option w/o prompting for passphrase input? I'm using Version: GnuPG
>v1.0.7 (OSF1). 

FAQ
4.14) How can I use GnuPG in an automated environment?

  http://www.gnupg.org/faq.html#q4.14

Tony
- -- 
Anthony E. Greene <mailto:Anthony%20E.%20Greene%20%3Cagreene@pobox.com%3E>
OpenPGP Key: 0x6C94239D/7B3D BD7D 7D91 1B44 BA26  C484 A42A 60DD 6C94 239D
AOL/Yahoo Messenger: TonyG05    HomePage: <http://www.pobox.com/~agreene/>
Linux. The choice of a GNU generation <http://www.linux.org/>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Anthony E. Greene <mailto:agreene@pobox.com> 0x6C94239D

iD8DBQE9XlfdpCpg3WyUI50RAhj4AKCXu788RNM84deuvryfPbH3igKpTgCgp49e
iYGI2432/OPC90DyT3nrBRg=
=XTBI
-----END PGP SIGNATURE-----