Re: getBodyPart for S/MIME decryption

Michael J Rubinsky <[email protected]> Thu, 23 Mar 2017 20:15:03 +0000
Newsgroups gmane.comp.horde.devel
Message-ID <20170323201503.Horde.aJGOyL6yFKgeuJEA5lvcrB6@h4.theupstairsroom.com>
Quoting [email protected]:

> 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: [email protected]



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject

-- 
dev mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: [email protected]
smime.p7s (application/pkcs7-signature, 3.2 KB) - not displayed