[Tickets #12430] S/MIME: Rarely signature failure if adding attachment

noreply at bugs.horde.org noreply at bugs.horde.org
Fri Jul 5 08:50:32 UTC 2013


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

Ticket URL: http://bugs.horde.org/ticket/12430
------------------------------------------------------------------------------
  Ticket             | 12430
  Created By         | lauffer at ph-freiburg.de
  Summary            | S/MIME: Rarely signature failure if adding attachment
  Queue              | IMP
  Version            | 6.1.2
  Type               | Bug
  State              | Unconfirmed
  Priority           | 2. Medium
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


lauffer at ph-freiburg.de (2013-07-05 08:50) wrote:

Hello!

Atm we search for the reason why... but we can see this failure:

If one of our users is adding an attachment to a s/mime signed mail  
the signature got broken (this is only the case if he adds an  
attachment!).

If you look at the source of the mail you see the problem:

Right near the end of the signed base64 part there is a newline. For  
example it looks like this:

<<snip>>
[...]
JayliE7ts/PZyJ+457ZjNrOEavIdp5g+bmJc+kSbhSTLH2aNmrXCV7OYlh7Xwy+3s9uZX6zQ1CwQ
eJgT4auOKTQZ13fPXNf18hig10ldbveKfdDo7lhlXCSUYl0hPuLnaunlz7/K/i0sUShebd3jn9Jk

Q7hJ05ghz2EeSYT4Om+5p2PXQDhZsHWWxR55J7hWsA2pkEDlPGzYQoDusyC6Bt5qBsIBeIlXCJjZ
guUoAAq5mwh2mfBaTJzmFmhr0M1SuMcDMCO68uL5fj9iZiKRBEvrHmc77DSsIZR7wxR1Y23YYm10
[...]
<<snapp>>

So if I delete the newline the mail is ok, signature valid.

(strange, isn't it? maybe a invalid character somehow in the users  
identity profile... we are searching...)





More information about the bugs mailing list