[Tickets #9426] Re: Error in S/Mime Signing of messages
bugs at horde.org
bugs at horde.org
Tue Dec 21 21:55:35 UTC 2010
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/9426
------------------------------------------------------------------------------
Ticket | 9426
Updated By | Michael Slusarz <slusarz at horde.org>
Summary | Error in S/Mime Signing of messages
Queue | Horde Framework Packages
Version | Git master
Type | Bug
-State | Assigned
+State | Resolved
Priority | 1. Low
Milestone |
Patch |
Owners | Michael Slusarz
------------------------------------------------------------------------------
Michael Slusarz <slusarz at horde.org> (2010-12-21 16:55) wrote:
> The problem is that openssl_pkcs7_sign() does not create canonical
> mime messages, thus Horde_Mime_Part::parseMessage() fails to detect
> the message header. I'm not sure what's the best way to fix it,
> maybe to make sure that the Horde_Mime_Part passed to
> Horde_Crypt_Smime doesn't use canonical line breaks and then adapt
> the message parsing?
openssl_pkcs7_sign() appears to be inconsistently using EOL strings
internally. So our only option is to convert/canonicalize after
grabbing the data from it.
More information about the bugs
mailing list