james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Burrell Donkin (JIRA)" <mime4j-...@james.apache.org>
Subject [jira] Commented: (MIME4J-113) [SMIME and OpenPGP/MIME] Support For Canonicalication And Normalisation
Date Sat, 07 Feb 2009 07:54:59 GMT

    [ https://issues.apache.org/jira/browse/MIME4J-113?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671421#action_12671421
] 

Robert Burrell Donkin commented on MIME4J-113:
----------------------------------------------

http://mail-archives.apache.org/mod_mbox/james-mime4j-dev/200902.mbox/%3ca92573960902061448g647ca695s89dec26f464f0fe4@mail.gmail.com%3e

>> I think you've made a good point with #112. I also believe that
>> perfect reproduction of a message would be a necessity if a Mime4j DOM
>> should ever be used for verifying an S/MIME signature..
>
> it's not as simple as that: SMIME (and OpenPGP/MIME) require
> canonicalisation and normalisation

I know.. we've already had this discussion to some extent.

One the one hand we have RFC2633 that is a bit vague when it comes to
the concrete canonicalization steps: "The exact details of
canonicalization depend on the actual MIME type and subtype of an
entity, and are not described here." But at least it describes basic
CRLF canonicalization.

On the other hand we have some real world MUAs that support S/MIME.. I
know for sure that Outlook does not even perform basic CRLF
canonicalization. Neither Outlook nor Thunderbird decode transfer
encodings before verifying (nor should they if I understand
correctly).

So in order to support explicit S/MIME signatures Mime4j must not
automatically decode transfer encodings the way it does now. This
process is never reversible, especially for quoted-printable.

CRLF canonicalization does not worry me because it can always be
applied with a simple filter stream..

> [SMIME and OpenPGP/MIME] Support For Canonicalication And Normalisation
> -----------------------------------------------------------------------
>
>                 Key: MIME4J-113
>                 URL: https://issues.apache.org/jira/browse/MIME4J-113
>             Project: JAMES Mime4j
>          Issue Type: Wish
>    Affects Versions: 0.7
>            Reporter: Robert Burrell Donkin
>
> Add canonicalisation and normalisation support suitable for use with SMIME and OpenPGP/MIME

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message