[imp]
[Horde-CVS Patch]: bug in function _connectKeyserver in pgp.php
Gregory Poudrel (Chojin)
chojin at chojin.info
Mon Mar 3 22:18:50 PST 2003
Hello,
Here is a patch for Horde-CVS to send correctly a command to a key server (to
retrieve pgp signature verification with their website).
In fact, with \r\n Horde was waiting for a result it never receives (then
infinite waiting time to verify a pgp signature in a message).
--- /usr/local/www/horde/lib/Crypt/pgp.php.old Mon Mar 3 11:26:46 2003
+++ /usr/local/www/horde/lib/Crypt/pgp.php Mon Mar 3 22:12:12 2003
@@ -748,7 +748,7 @@
print "$errstr, $errno\n";
$connError = true;
} else {
- fputs($fp, $command . "\r\n");
+ fputs($fp, $command . "\n\n");
while (!feof($fp)) {
$output .= fgets($fp, 1024);
}
I hope that will help.
Regards.
--
Gregory Poudrel
(Chojin)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Signature =?iso-8859-1?b?bnVt6XJpcXVl?= PGP
Url : http://lists.horde.org/archives/imp/attachments/20030303/f0632026/attachment.bin
More information about the imp
mailing list