[gpgme] Decryption gives "No Data" in a CGI

Gordon Worley redbird at mac.com
Sun Jul 27 20:05:01 CEST 2003


On Saturday, July 26, 2003, at 03:00  PM, NICHOLAS ALLEN HALL wrote:

> I recently started using GPGMe (version 0.3.15) to decrypt information 
> for a project and have hit a roadblock. I have written a small library 
> to provide my decryption interface with GPGMe, much of it based off 
> GPGMe's test program "t-decrypt.c" since I started over after hitting 
> the problem mentioned below.
>
> If I try to use my code in a CGI program (using GNU's excellent CGICC 
> library), a call to gpgme_op_decrypt mysteriously fails with "No 
> Data", even though there is data passed to it to decrypt. This is 
> using Apache 1.3.26.

Did you remember to rewind your data?  I've had errors that look like 
No Data but really I had forgotten to rewind the data.

--
Gordon Worley - Mac GPG Project
http://macgpg.sourceforge.net/              ``Doveriai no proveriai.''
redbird at mac.com                                    --Russian proverb
PGP:  0xBBD3B003





More information about the Gnupg-devel mailing list