GnuPG::Interface
Frank Tobin
ftobin@uiuc.edu
Mon, 2 Oct 2000 13:34:21 -0500 (CDT)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michael Curtis, at 14:17 +0900 on Mon, 2 Oct 2000, wrote:
> My Web host installed GnuPG and GnuPG::Interface. I generated some
> keys and wrote a script that encrypts data using GnuPG::Interface
> commands. Permissions were set by my Web host so that Gnu can be run
> by user nobody through CGI. I also used GnuPG::Interface to send
> stderr to a variable for printing any error messages. The script runs
> perfectly through Telnet, but not through CGI. Through CGI, the script
> runs but returns no encrypted data and no error messages. Does anyone
> know why this would happen or where to start looking for the source of
> the problem?
I should put this up as a FAQ in SourceForge's documentation for
GnuPG::Interface. Your problem is likely due to permissions problems,
such as readability of $gnupg->options->homedir(), and the public keys
related. Capture the output of GnuPG's stderr, print it to your stdout.
Let me know how you solved the problem so I can make a good canned
response.
- --
Frank Tobin http://www.uiuc.edu/~ftobin/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.3 (FreeBSD)
Comment: pgpenvelope 2.9.0 - http://pgpenvelope.sourceforge.net/
iEYEARECAAYFAjnY1S8ACgkQVv/RCiYMT6OKWgCglMimLdbjUK4bPr57X90dKjqr
teMAmwUhaxKI3HE+RBOPyYpu9GF0iEke
=UgVw
-----END PGP SIGNATURE-----
--
Archive is at http://lists.gnupg.org - Unsubscribe by sending mail
with a subject of "unsubscribe" to gnupg-users-request@gnupg.org