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

Alexey Melnikov <alexey.melnikov@isode.com> Tue, 18 June 2013 10:36 UTC

Return-Path: <alexey.melnikov@isode.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 9383E21F9A27 for <media-types@ietfa.amsl.com>; Tue, 18 Jun 2013 03:36:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.534
X-Spam-Level:
X-Spam-Status: No, score=-102.534 tagged_above=-999 required=5 tests=[AWL=0.065, 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 3UCSVTgcS+-O for <media-types@ietfa.amsl.com>; Tue, 18 Jun 2013 03:36:13 -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 3C57821F9A49 for <media-types@ietf.org>; Tue, 18 Jun 2013 03:36:13 -0700 (PDT)
Received: from statler.isode.com (statler.isode.com [62.3.217.254]) by pechora4.lax.icann.org (8.13.8/8.13.8) with ESMTP id r5IAZqoj029592 for <media-types@iana.org>; Tue, 18 Jun 2013 10:36:12 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1371551750; d=isode.com; s=selector; i=@isode.com; bh=YxGrGho/gnixxFQIqlw8wKhsCwKQgoHubw8F5Y8VKzU=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=E5z1JTv89quA4EmRn3rQGyssp9uHMznNGRJmUDMTVdM5bLIQ5eD9E1fDUk4GcFwZKkneA+ aHosEbzZeG48pe3WtmSeyiEYOVxIqhk74BhKJh4EseDIUrmen0kmmUKiZOgjxwE664MXrF jzbGPY50sdlvEApu7ppuQ0ecCcQZjDY=;
Received: from [172.16.1.29] (shiny.isode.com [62.3.217.250]) by statler.isode.com (submission channel) via TCP with ESMTPA id <UcA3-wB9nnkN@statler.isode.com>; Tue, 18 Jun 2013 11:35:50 +0100
Message-ID: <51C0380D.2010502@isode.com>
Date: Tue, 18 Jun 2013 11:35:57 +0100
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
To: Sean Turner <turners@ieca.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> <51BF749F.2090209@ieca.com>
In-Reply-To: <51BF749F.2090209@ieca.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.0 (pechora4.lax.icann.org [192.0.33.74]); Tue, 18 Jun 2013 10:36:13 +0000 (UTC)
Cc: "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: Tue, 18 Jun 2013 10:36:18 -0000

On 17/06/2013 21:42, Sean Turner wrote:
> 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.

One (or both) of us got confused. Of course it doesn't make sense to 
change existing MIME type. I was recommending use of +ber suffix for new 
MIME type registrations.