[Tickets #6343] fetch keyserver fails because of exact=on

bugs at horde.org bugs at horde.org
Thu Feb 28 13:25:42 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/6343
-----------------------------------------------------------------------
 Ticket             | 6343
 Created By         | skhorde at smail.inf.fh-bonn-rhein-sieg.de
 Summary            | fetch keyserver fails because of exact=on
 Queue              | Horde Groupware Webmail Edition
 Version            | 1.0.3
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Milestone          | 
 Patch              | 
 Owners             | 
-----------------------------------------------------------------------


skhorde at smail.inf.fh-bonn-rhein-sieg.de (2008-02-28 08:25) wrote:

Usually I use the hkp server pgpkeys.pca.dfn.de as keyserver. GnuPG handles
it well, but Horde does not find no keys on the server.

The culprit is:

+++ b/var/www/horde/lib/Horde/Crypt/pgp.php     Thu Feb 28 13:59:49 2008
+0100
@@ -711,7 +711,7 @@
         $fprint = '0x' . $fprint;

         /* Connect to the public keyserver. */
-        $cmd = 'GET /pks/lookup?op=get&exact=on&search=' . $fprint . '
HTTP/1.0';
+        $cmd = 'GET /pks/lookup?op=get&search=' . $fprint . ' HTTP/1.0';
         $output = $this->_connectKeyserver($cmd, $server, $timeout);
         if (is_a($output, 'PEAR_Error')) {
             return $output;

The implementor defined "exact=on" variables let the request fail. Without
it, it works.



More information about the bugs mailing list