Script use of GPG

Mark Empson empson@lmphotonics.com
Wed Sep 4 12:38:01 2002


This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C25464.827C4440
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I had major problems getting GNUpg to run in a script on my server, (worked
fine from the command line under telnet!),  but eventually found that
provided that the script is located in the cgi-bin directory, there is no
problem. For PHP, I installed a wrapper for gpg in the cgi-bin directory and
call that from my PHP form located elsewhere. Works well. Found the same
using perl.
Best regards,
Mark Empson.
empson@lmphotonics.com





------=_NextPart_000_0000_01C25464.827C4440
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2719.2200" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D332583810-04092002>I had =
major problems=20
getting GNUpg to run in a script on my server, (worked fine from the =
command=20
line under telnet!),&nbsp; but eventually found that provided that the =
script is=20
located in the cgi-bin directory, there is no problem. =
</SPAN></FONT><FONT=20
face=3DArial size=3D2><SPAN class=3D332583810-04092002>For PHP, I =
installed a wrapper=20
for gpg in the cgi-bin directory and call that from my PHP form located=20
elsewhere. Works well. Found the same using perl.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D332583810-04092002>Best=20
regards,</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D332583810-04092002>Mark=20
Empson.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D332583810-04092002><A=20
href=3D"mailto:empson@lmphotonics.com">empson@lmphotonics.com</A></SPAN><=
/FONT></DIV>
<P align=3Dcenter><FONT face=3DArial size=3D2></FONT><BR>&nbsp;</P>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0000_01C25464.827C4440--