Citeren Simon Wilson <si...@simonandkate.net>:

Am I doing something wrong, or has something broken with pgp??

You're messages show up with good signatures here, so the messages don't seem to be the problem. Could it be you have $conf[gnupg][timeout] set to an unrealisticly small value? Mine is 10 seconds now, which usually seems to do the job. But if you're using a slow keyserver ($conf[gnupg][keyserver]), you may need even longer.


----- End message from Arjen de Korte <arjen+ho...@de-korte.org> -----

Thanks Arjen - yes, I just installed Thunderbird / Enigmail / gpg4win, and it show most of them as OK.

But my Horde server no longer does. When I look at a pgp signed email in Imp, within 2 seconds it comes back with a BAD signature, regardless of which of the three pgp servers I pick in Config, and with timeout set to 20 seconds, so it's not getting anywhere near that...

SO:

I set Horde logging to INFO, and tried one - and Lo! and Behold...

2013-06-07T01:34:46+10:00 WARN: HORDE [imp] PHP ERROR: stream_get_contents(): Failed to seek to position 0 in the stream [pid 24835 on line 449 of "/var/www/horde/imp/lib/Mime/Viewer/Pgp.php"]

So there is definitely something going on that is not just config...

First, I can't reproduce: your message verified fine.

Second: line 449 of Pgp.php (in IMP 6.1) doesn't contain any code (it is a closing bracket: }).

michael


In Imp 6.1 it's line 448:

2013-06-07T10:00:19+10:00 WARN: HORDE [imp] PHP ERROR: stream_get_contents(): Failed to seek to position 0 in the stream [pid 11218 on line 448 of "/var/www/horde/imp/lib/Mime/Viewer/Pgp.php"]

And it's still doing it after upgrade to 6.1

Simon.


With Horde in DEBUG logging:

2013-06-07T22:02:43+10:00 WARN: HORDE [imp] PHP ERROR: stream_get_contents(): Failed to seek to position 0 in the stream [pid 14745 on line 448 of "/var/www/horde/imp/lib/Mime/Viewer/Pgp.php"] 2013-06-07T22:02:43+10:00 DEBUG: HORDE 1. Horde_Core_Ajax_Application->doAction() /var/www/horde/services/ajax.php:58
 2. call_user_func() /usr/share/pear/Horde/Core/Ajax/Application.php:162
 3. IMP_Ajax_Application_Handler_Common->showMessage()
4. IMP_Ajax_Queue->message() /var/www/horde/imp/lib/Ajax/Application/Handler/Common.php:645 5. IMP_Ajax_Application_ShowMessage->showMessage() /var/www/horde/imp/lib/Ajax/Queue.php:367 6. IMP_Contents->getInlineOutput() /var/www/horde/imp/lib/Ajax/Application/ShowMessage.php:285
 7. IMP_Contents->renderMIMEPart() /var/www/horde/imp/lib/Contents.php:1382
 8. Horde_Mime_Viewer_Base->render() /var/www/horde/imp/lib/Contents.php:590
9. Horde_Mime_Viewer_Base->_renderInline() /usr/share/pear/Horde/Mime/Viewer/Base.php:156 10. Horde_Mime_Viewer_Base->render() /usr/share/pear/Horde/Mime/Viewer/Base.php:207 11. IMP_Mime_Viewer_Pgp->_renderInline() /usr/share/pear/Horde/Mime/Viewer/Base.php:156 12. IMP_Mime_Viewer_Pgp->_outputPGPSigned() /var/www/horde/imp/lib/Mime/Viewer/Pgp.php:153
13. stream_get_contents() /var/www/horde/imp/lib/Mime/Viewer/Pgp.php:448
14. Horde_ErrorHandler::errorHandler()

--
Simon Wilson
M: 0400 12 11 16

Attachment: binomd7JeeDal.bin
Description: PGP Public Key

Attachment: pgpX0vrmdqEya.pgp
Description: PGP Digital Signature

-- 
imp mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: imp-unsubscr...@lists.horde.org

Reply via email to