[Tickets #11058] Re: S/MIME signed messages cannot be verified if body contains 8-bit characters

bugs at horde.org bugs at horde.org
Thu Mar 15 10:06:31 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/11058
------------------------------------------------------------------------------
  Ticket             | 11058
  Updated By         | mm at FreeBSD.org
  Summary            | S/MIME signed messages cannot be verified if body
                     | contains 8-bit characters
  Queue              | IMP
  Version            | 5.0.19
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


mm at FreeBSD.org (2012-03-15 10:06) wrote:

The problem is not in postfix but in Horde/Mime/Part.php, function  
send(), starting on line 1669.

There is code that detects if MTA supports 8BITMIME (RFC 1652) or  
BINARYMIME (RFC 3030) extensions and re-encodes the mimePart.

A S/MIME part cannot be reencoded from quoted-printable to anything  
else because it breaks the signature.

One of possible solutions would be to extend the send function by  
giving it a new boolean parameter to use only 7bit encoding  
(quoted-printable) for S/MIME signed messages and set this parameter  
on sign time.





More information about the bugs mailing list