PHP5+PECL-gnupg-1.3 fails in CLI mode ("Result too large", "could not init keylist")

Werner Koch wk at
Wed Jan 18 14:30:45 CET 2012

On Tue, 17 Jan 2012 23:38, leftfoot at said:
> Attempting a simple PHP (pecl) gnupg key lookup fails with a "could not init
> keylist" error in a Solaris environment, using PHP CLI mode. Note that using

> Enabling GPGME_DEBUG=9 environment variable includes the following message:
> GPGME 2012-01-06 11:59:56 <0x0638>  gpgme_op_keylist_start: error: Result too
> large <GPGME>

"Result too large" is not an error code printed by GPGME or GnuPG.  The
debug output might be mixed up with other output to stdout.  To check
this, please use:


so that gpgme will only write to the given file.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.

More information about the Gnupg-devel mailing list