[dev] getBodyPart for S/MIME decryption

Michael J Rubinsky mrubinsk at horde.org
Thu Mar 23 20:15:03 UTC 2017


Quoting jnaegele at grierforensics.com:

> Hi folks,
>
> I'm unable to decrypt S/MIME encrypted messages using a new hosted  
> IMAP server with Horde 5.2.14 and IMP 6.2.18. I've narrowed down the  
> issue to my IMAP server not responding at all to the  
> Horde_Imap_Client_Fetch_Query requesting the headers and body in  
> imp/lib/Contents.php, getBodyPart(). The Mime ID is just '1' so it's  
> not using rfc822. I don't get a response when  
> "$query->mimeHeader($id, ...)" is set. Because I don't get any  
> response, the full message text sent to openssl_pkcs7_decrypt is an  
> empty string, hence the inability to decrypt.
>
> This is possibly an issue with my IMAP server, however neither  
> Outlook nor Thunderbird have any issue decrypting these messages,  
> and my IMAP provider is widely used. Is this something I can  
> potentially fix on the IMP side?

Please enable IMAP server debugging in imp/config/backends[.local].php  
and reproduce the issue.

> Thanks,
>
> Joe Naegele
> Grier Forensics
>
> -- 
> dev mailing list
> Frequently Asked Questions: http://wiki.horde.org/FAQ
> To unsubscribe, mail: dev-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3282 bytes
Desc: S/MIME Signature
URL: <https://lists.horde.org/archives/dev/attachments/20170323/ab281f95/attachment.bin>


More information about the dev mailing list