Flag to pass the passphrase dynamically while decrypting...

Loo, Peter Peter.Loo@bannerhealth.com
Thu Sep 26 18:28:02 2002


How would you handle this in Windows arena?  I hate Windows, but I am =
having to deal with this for our clients.

Thanks.

Peter

-----Original Message-----
From: Michael H. Warfield [mailto:mhw@wittsend.com]
Sent: Wednesday, September 25, 2002 4:54 PM
To: Loo, Peter
Cc: gnupg-users@gnupg.org
Subject: Re: Flag to pass the passphrase dynamically while decrypting...


On Wed, Sep 25, 2002 at 04:38:23PM -0700, Loo, Peter wrote:

> Hi,

> Does anyone know how I can go about decrypting a file dynamically =
without getting prompted for a passphrase?  Under the licensed version =
of PGP, you are able to accomplish this by issuing a command like the =
following:

> pgp --decrypt --passphrase "xoxoxoxoxoxo" --output $file.txt =
$file.txt.pgp --overwrite

> I was unable to find the flag --passphrase in "gpg --help".

	echo "xoxoxoxoxoxo" | gpg --passphrase-fd 0 ...

> Thanks.=20

> Peter Loo (Senior Programmer)
> peter.loo@bannerhealth.com <mailto:peter.loo@bannerhealth.com>=20

> "Whatever you do will be insignificant, but it is very important that =
you do it."
> -- Mahatma Gandhi

	Mike
--=20
 Michael H. Warfield    |  (770) 985-6132   |  mhw@WittsEnd.com
  /\/\|=3Dmhw=3D|\/\/       |  (678) 463-0932   |  =
http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of =
all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!