Re: [media-types] Update of MIME media type application/pkcs7-mime Registration

Sean Turner <turners@ieca.com> Mon, 17 June 2013 21:37 UTC

Return-Path: <turners@ieca.com>
X-Original-To: media-types@ietfa.amsl.com
Delivered-To: media-types@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BE26A21F9B80 for <media-types@ietfa.amsl.com>; Mon, 17 Jun 2013 14:37:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.242
X-Spam-Level:
X-Spam-Status: No, score=-102.242 tagged_above=-999 required=5 tests=[AWL=0.357, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NT5X5bBp83gQ for <media-types@ietfa.amsl.com>; Mon, 17 Jun 2013 14:37:03 -0700 (PDT)
Received: from pechora4.lax.icann.org (pechora4.icann.org [IPv6:2620:0:2d0:201::1:74]) by ietfa.amsl.com (Postfix) with ESMTP id A2BDA21F88FB for <media-types@ietf.org>; Mon, 17 Jun 2013 14:37:01 -0700 (PDT)
Received: from gateway06.websitewelcome.com (gateway06.websitewelcome.com [64.5.50.11]) by pechora4.lax.icann.org (8.13.8/8.13.8) with ESMTP id r5HLafgE016661 for <media-types@iana.org>; Mon, 17 Jun 2013 21:37:01 GMT
Received: by gateway06.websitewelcome.com (Postfix, from userid 5007) id 5DC29928FD0E9; Mon, 17 Jun 2013 15:42:10 -0500 (CDT)
Received: from gator1743.hostgator.com (gator1743.hostgator.com [184.173.253.227]) by gateway06.websitewelcome.com (Postfix) with ESMTP id 4F650928FD0A5 for <media-types@iana.org>; Mon, 17 Jun 2013 15:42:10 -0500 (CDT)
Received: from [147.28.0.178] (port=50003 helo=thunderfish.local) by gator1743.hostgator.com with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.80) (envelope-from <turners@ieca.com>) id 1UogFd-0003m5-Up; Mon, 17 Jun 2013 15:42:10 -0500
Message-ID: <51BF749F.2090209@ieca.com>
Date: Tue, 18 Jun 2013 05:42:07 +0900
From: Sean Turner <turners@ieca.com>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <51B5E98A.50404@ieca.com> <fd8jr8hcb2e2ls0cporhg27io571n5fb5m@hive.bjoern.hoehrmann.de> <51B9C058.9060803@ieca.com> <51B9D49D.5000502@isode.com> <51B9D656.1050401@ieca.com> <51B9DB28.5090204@ieca.com> <1D55B1F2-C803-4EA4-94D1-4CE08ECCB54B@isode.com> <51BB7E3E.9060607@ieca.com>
In-Reply-To: <51BB7E3E.9060607@ieca.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - gator1743.hostgator.com
X-AntiAbuse: Original Domain - iana.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - ieca.com
X-BWhitelist: no
X-Source:
X-Source-Args:
X-Source-Dir:
X-Source-Sender: (thunderfish.local) [147.28.0.178]:50003
X-Source-Auth: sean.turner@ieca.com
X-Email-Count: 10
X-Source-Cap: ZG9tbWdyNDg7ZG9tbWdyNDg7Z2F0b3IxNzQzLmhvc3RnYXRvci5jb20=
X-Greylist: Delayed for 00:29:40 by milter-greylist-4.0 (pechora4.lax.icann.org [192.0.33.74]); Mon, 17 Jun 2013 21:37:01 +0000 (UTC)
Cc: Bjoern Hoehrmann <derhoermi@gmx.net>, "media-types@iana.org" <media-types@iana.org>, "draft-ietf-pkix-est.all@tools.ietf.org" <draft-ietf-pkix-est.all@tools.ietf.org>, "app-ads@tools.ietf.org" <app-ads@tools.ietf.org>
Subject: Re: [media-types] Update of MIME media type application/pkcs7-mime Registration
X-BeenThere: media-types@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "IANA mailing list for reviewing Media Type \(MIME Type, Content Type\) registration requests." <media-types.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/media-types>, <mailto:media-types-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/media-types>
List-Post: <mailto:media-types@ietf.org>
List-Help: <mailto:media-types-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/media-types>, <mailto:media-types-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Jun 2013 21:37:09 -0000

On 6/15/13 5:34 AM, Sean Turner wrote:
> On 6/14/13 6:05 AM, Alexey Melnikov wrote:
>> On 13 Jun 2013, at 15:46, Sean Turner <turners@ieca.com> wrote:
>>
>>> On 6/13/13 10:25 AM, Sean Turner wrote:
>>>> On 6/13/13 10:18 AM, Alexey Melnikov wrote:
>>>>> On 13/06/2013 13:51, Sean Turner wrote:
>>>>>> On 6/13/13 6:47 AM, Bjoern Hoehrmann wrote:
>>>>>>> * Sean Turner wrote:
>>>>>>>> The application/pkcs7-mime content type defines the optional
>>>>>>>> "smime-
>>>>>>>> type" parameter [RFC5751].  The smime-type parameter for
>>>>>>>> Server-side
>>>>>>>> Key Generation Response is server-generated-key.
>>>>>>>>
>>>>>>>> smime-type name: server-generated-key
>>>>>>>>
>>>>>>>> Required parameters: None
>>>>>>>
>>>>>>> This should be preceded by
>>>>>>>
>>>>>>>    Type name: application
>>>>>>>
>>>>>>>    Subtype name: pkcs7-mime
>>>>>>>
>>>>>>> If this is supposed to register the application/pkcs7-mime type.
>>>>>>> But it
>>>>>>> seems to me that using the media type registration template here
>>>>>>> is not
>>>>>>> correct, I would rather expect "Updates: 5751" and then simply
>>>>>>> defining
>>>>>>> the additional smime-type parameter, no need for the template.
>>>>>>
>>>>>> It's not registering application/pkcs7-mime is adding a parameter. If
>>>>>> I understand correctly, if we added "Updates: 5751 (once
>>>>>> approved)" to
>>>>>> the header we could just omit the template completely?  I'd argue
>>>>>> that
>>>>>> if we don't need the template that's great, but what's more important
>>>>>> is that people be able to find these subtypes and the way to do that
>>>>>> is to have them pointed to by the registry not the original document.
>>>>>> How about if we just omit the template and ask IANA to *also*
>>>>>> point to
>>>>>> this document from the application/pkcs7-mime registry?
>>>>> Sounds sensible to me. (But also see my other email).
>>>>
>>>> Other email is about using +der and adding some generic considerations
>>>> about parsers.  I'll have to go check on the +der bit with some folks
>>>> but the other suggestion seems very reasonable.
>>>
>>> I don't think we can put +der at the end of this because the others
>>> don't include it.
>>
>> There is no backward compatibility issue here, so I don't understand
>> your argument.
>> The +suffix convention is a relatively new, but I think it should e
>> used for all new registrations that match existing suffixes.
>
> So it'd look like this:
>
> Content-Type: application/pkcs7-mime+der;
> smime-type=server-generated-key; name=smime.p7m
>
> I'm not sure this will work though.  The certs are definitly use DER and
> so would any signed attributes but the rest of need not be.

The more I think about adding +ber to the media type for this request 
the more it doesn't make sense to me.  This is not defining a new 
top-level media type nor a new sub-type it's defining a new optional 
parameter.  This might have not been clear now that I look back at the form:

OLD:

   smime-type name: server-generated-key

   Required parameters: None

   Optional parameters: None

NEW:

   Required parameters: None

   Optional parameters: smime-type name: server-generated-key

Adding +ber to application/pkcs7-mime doesn't seem to make sense to me 
because it would be retro actively changing a widely supported media 
type.  The other thing would be to use +ber but only when this optional 
parameter appeared and that also seems a bit odd to me.

spt