Error on gpg encription using perl cgi

Michael Kesper mkesper at schokokeks.org
Fri Dec 4 14:27:49 CET 2009


Hi,

On Mon, Feb 23, 2009 at 11:33:02PM -0800, hxzeng wrote:
> But when I deployed first.cgi in apache and run it using:
> http://localhost/cgi-bin/test.cgi
> The file cannot be successfully encrypted and also in error.log there has
> such errors:
> 
> [Tue Feb 24 15:01:40 2009] [error] [client 127.0.0.1] gpg: Henry: skipped:
> public key not found\r
> [Tue Feb 24 15:01:40 2009] [error] [client 127.0.0.1] gpg:
> C:\\apache\\cgi-bin\\451080.txt: encryption failed: public key not found\r

Apache runs with a different user than you tested before.
It has got to have access to that key and know where it can find it.

Best wishes
Michael
-- 
Free Software Foundation Europe (FSFE) []   (http://fsfe.org)
Treten Sie der Fellowship bei!       [][][] (http://fellowship.fsfe.org/join?ref=mkesper)
Ihre Spende ermöglicht unsere Arbeit!  ||   (http://fsfe.org/donate)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: Digital signature
URL: </pipermail/attachments/20091204/f0c1aae8/attachment.pgp>


More information about the Gnupg-users mailing list