GPG Decrypt via PHP

Clough, Samuel Samuel_Clough@invesco.com
Thu Jun 27 17:04:02 2002


You might could try the option that works in Windows (although it is =
not
very secure) of putting the password in a file and then using that file =
as:
c:\gnupg\gpg -o outputfile.txt --passphrase-fd 0 --decrypt somefile.txt =
<
passfile.txt
I would try that with PHP's option that lets you shell out, but I =
cannot
make promises on Windows.  While I do develop on php, I use Linux and =
have
not had to shell out.

> Hi List,
>=20
> I try to decrypt gpg files on W2K with PHP dynamicly. What I need is =
a
> command that includes all infomation for the decryption incl. the
> passphrase. I=B4ve seen same parameter like --passphrase-fd, but I =
don=B4t now
> how I can use these.
> I hope anyboby can help me
>=20
>=20