getBodyPart for S/MIME decryption

[email protected] Thu, 23 Mar 2017 14:40:48 -0400
Newsgroups gmane.comp.horde.devel
Message-ID <20170323144048.Horde.gK95Z6vTQj5By0t55QTG6Gx@winters.swishmail.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?

Thanks,

Joe Naegele
Grier Forensics

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]