[imp] All my PGP signed messages marked as BAD

Simon Wilson simon at simonandkate.net
Fri Jun 7 00:03:47 UTC 2013


> Quoting Simon Wilson <simon at simonandkate.net>:
>
>> ----- Message from Arjen de Korte <arjen+horde at de-korte.org> ---------
>>   Date: Thu, 06 Jun 2013 17:07:33 +0200
>>   From: Arjen de Korte <arjen+horde at de-korte.org>
>> Subject: Re: [imp] All my PGP signed messages marked as BAD
>>     To: imp at lists.horde.org
>>
>>
>>> Citeren Simon Wilson <simon at 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+horde at 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.

--
Simon Wilson
M: 0400 12 11 16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1339 bytes
Desc: PGP Public Key
URL: <http://lists.horde.org/archives/imp/attachments/20130607/95a4b5e9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/imp/attachments/20130607/95a4b5e9/attachment-0001.bin>


More information about the imp mailing list