Gnupg from a script
Mark Empson
empson@lmphotonics.com
Sat Aug 31 12:01:02 2002
This is a multi-part message in MIME format.
------=_NextPart_000_000D_01C2513A.ABFFDB60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hello
I am having difficulty running gpg from a script. I have tried PHP and Perl.
I can run gpg quite happily from telnet, but I get errors such as :
secring.gpg: can't create keyring: Permission denied
when I call gpg from a script. I have set --home-dir to the correct
directory. (tested under telnet)
Any clues??
L.M.Photonics Ltd
P.O. Box 13 076, Christchurch, New Zealand.
ph : +64 27 436 3067 fax : +64 3 332 5220
mailto:info@lmphotonics.com http://www.lmphotonics.com
Join our email discussion forum on Motor Control.
Try Secure Password Store
Visit our online forums
------=_NextPart_000_000D_01C2513A.ABFFDB60
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=20
class=3D799360210-31082002>Hello</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D799360210-31082002>I am =
having=20
difficulty running gpg from a script. I have tried PHP and Perl. I can =
run gpg=20
quite happily from telnet, but I get errors such as : secring.gpg: can't =
create=20
keyring: Permission denied</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D799360210-31082002>when I =
call gpg from=20
a script. I have set --home-dir to the correct directory. (tested under=20
telnet)</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D799360210-31082002>Any=20
clues??</SPAN></FONT></DIV>
<P><FONT face=3DArial size=3D2>L.M.Photonics Ltd</FONT> <BR><FONT =
face=3DArial=20
size=3D2>P.O. Box 13 076, Christchurch, New Zealand.</FONT> <BR><FONT =
face=3DArial=20
size=3D2>ph : +64 27 436 3067 fax : +64 3 332 =
5220</FONT>=20
<BR><U><FONT face=3DArial color=3D#0000ff size=3D2><A=20
href=3D"mailto:info@lmphotonics.com">mailto:info@lmphotonics.com</A></FON=
T></U><FONT=20
face=3DArial color=3D#000000 =
size=3D2> </FONT><U> <FONT=20
face=3DArial color=3D#0000ff size=3D2><A =
href=3D"http://www.lmphotonics.com/"=20
target=3D_blank>http://www.lmphotonics.com</A></FONT></U> </P><BR>
<P align=3Dcenter><U><FONT face=3DArial color=3D#0000ff><A=20
href=3D"http://tahiti.dnsvault.com/mailman/listinfo/motorcontrol_lmphoton=
ics.com">Join=20
our email discussion forum on Motor Control</A>.</FONT></U></P>
<P align=3Dcenter><U><FONT face=3DArial><A=20
href=3D"http://www.lmphotonics.com/passwrd.htm">Try Secure Password=20
Store</A></FONT></U></P>
<P align=3Dcenter><A href=3D"http://www.lmphotonics.com/forum/"><FONT=20
face=3DArial>Visit our online forums</FONT></A></P>
<P align=3Dcenter><BR> </P>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_000D_01C2513A.ABFFDB60--