Re: [Ace] Genart telechat review of draft-ietf-ace-cbor-web-token-12

Mike Jones <Michael.Jones@microsoft.com> Tue, 27 February 2018 22:52 UTC

Return-Path: <Michael.Jones@microsoft.com>
X-Original-To: ace@ietfa.amsl.com
Delivered-To: ace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 55B3212E8C4; Tue, 27 Feb 2018 14:52:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.009
X-Spam-Level:
X-Spam-Status: No, score=-3.009 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=-1, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=microsoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9ojyEDZavA7Q; Tue, 27 Feb 2018 14:52:43 -0800 (PST)
Received: from NAM03-BY2-obe.outbound.protection.outlook.com (mail-by2nam03on0102.outbound.protection.outlook.com [104.47.42.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 802BE12E8CD; Tue, 27 Feb 2018 14:52:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=b585fUPPPQF2+gdOko5SmWEIMnSHKMTFWHm2Kbas1z4=; b=JWcHv5+mG2/ikUxsHu3GS3rev95OtBy+Gm6OL3gEBGvi56bL/ugsJ0SnCBcEyIfNt54R0sEHTqf2Ugafs9YapEyuQSaEv6SWRba38b9tjRuiEUYhHmES3KS7XTQDTw9P9pcGIlNG/MAB9dSwbY9jQNJ1NW1v/Do3Bn8uKkb2GcY=
Received: from SN6PR2101MB0943.namprd21.prod.outlook.com (52.132.114.20) by SN6PR2101MB0910.namprd21.prod.outlook.com (52.132.117.11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.567.2; Tue, 27 Feb 2018 22:52:31 +0000
Received: from SN6PR2101MB0943.namprd21.prod.outlook.com ([fe80::9866:f6b5:e2d6:50]) by SN6PR2101MB0943.namprd21.prod.outlook.com ([fe80::9866:f6b5:e2d6:50%2]) with mapi id 15.20.0567.002; Tue, 27 Feb 2018 22:52:31 +0000
From: Mike Jones <Michael.Jones@microsoft.com>
To: Dan Romascanu <dromasca@gmail.com>, Jim Schaad <ietf@augustcellars.com>
CC: gen-art <gen-art@ietf.org>, "ace@ietf.org" <ace@ietf.org>, ietf <ietf@ietf.org>, Benjamin Kaduk <kaduk@mit.edu>, "draft-ietf-ace-cbor-web-token.all@ietf.org" <draft-ietf-ace-cbor-web-token.all@ietf.org>
Thread-Topic: [Ace] Genart telechat review of draft-ietf-ace-cbor-web-token-12
Thread-Index: AQHTrzRyo8Mp7FBA1UOtbTCoMqPdBaO3HdCAgAASogCAAGp5gIAAahUAgACEUACAAEs+AIAABFGQ
Date: Tue, 27 Feb 2018 22:52:31 +0000
Message-ID: <SN6PR2101MB09436CCA10FD477A41819B42F5C00@SN6PR2101MB0943.namprd21.prod.outlook.com>
References: <151967178760.21771.14005895812023525211@ietfa.amsl.com> <021201d3af3e$1f204cc0$5d60e640$@augustcellars.com> <CAFgnS4USoaMrDSbvOZj4Pwg3DprMNNxrHoPn+DK-YjVNB-Jrog@mail.gmail.com> <20180227034009.GT50954@kduck.kaduk.org> <CAFgnS4VJDs0Xm2zFG5jXQ3eTC0umNvLxBmkLzQKzbPARZq1RVA@mail.gmail.com> <028701d3aff3$df7ef6f0$9e7ce4d0$@augustcellars.com> <CAFgnS4WrfRHPiMqETyOK=2g-bNKp66i-9NC9JLbbO6eh7brV6w@mail.gmail.com>
In-Reply-To: <CAFgnS4WrfRHPiMqETyOK=2g-bNKp66i-9NC9JLbbO6eh7brV6w@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Owner=mbj@microsoft.com; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2018-02-27T22:52:29.0385988Z; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=General; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Application=Microsoft Azure Information Protection; MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Extended_MSFT_Method=Automatic; Sensitivity=General
x-originating-ip: [2001:4898:80e8:d::562]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; SN6PR2101MB0910; 7:pmrNSUPPYv9B4ay480ui6kQGanhoBWR5Nheke6QlMlSxODZ5mtXiQBjSWoSrDUD18MaXRDETVEWIbR3KWzhXHKbfJiBx5SiSTBmHY74lue+khydGLDHGJhD7V2WJgyxPPjkdCYBy6NESY+rQyWOf/nySEh2tRfpxxlgXJDnfl3qKdJt7sgGkHKSELfA/oVmZOiga8B517ko6FGSLbhwlm1or94kgUCDjq7qsUVQF7ZThM+y8WP5xaOZXs7mu/Lz0
x-ms-exchange-antispam-srfa-diagnostics: SOS;
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: a306ac7a-ae4d-4285-3bbe-08d57e34c909
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(4534165)(4627221)(201703031133081)(201702281549075)(48565401081)(5600026)(4604075)(3008032)(2017052603307)(7193020); SRVR:SN6PR2101MB0910;
x-ms-traffictypediagnostic: SN6PR2101MB0910:
x-microsoft-antispam-prvs: <SN6PR2101MB0910A8F07A9B4F3B2BFA4A13F5C00@SN6PR2101MB0910.namprd21.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(28532068793085)(85827821059158)(100405760836317)(21748063052155)(240460790083961)(1591387915157);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(61425038)(6040501)(2401047)(5005006)(8121501046)(93006095)(93001095)(3231220)(944501207)(52105095)(3002001)(10201501046)(6055026)(61426038)(61427038)(6041288)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123558120)(20161123562045)(20161123564045)(6072148)(201708071742011); SRVR:SN6PR2101MB0910; BCL:0; PCL:0; RULEID:; SRVR:SN6PR2101MB0910;
x-forefront-prvs: 05961EBAFC
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(979002)(39860400002)(346002)(39380400002)(396003)(366004)(376002)(13464003)(54094003)(189003)(199004)(76104003)(51914003)(53376002)(3280700002)(345774005)(76176011)(68736007)(7696005)(33656002)(10090500001)(316002)(5660300001)(14454004)(229853002)(9686003)(93886005)(478600001)(72206003)(2900100001)(10290500003)(54896002)(55016002)(6306002)(2950100002)(110136005)(54906003)(966005)(606006)(236005)(3660700001)(186003)(86362001)(53936002)(59450400001)(106356001)(6346003)(6246003)(97736004)(5250100002)(53546011)(102836004)(8936002)(6506007)(6436002)(25786009)(19609705001)(8990500004)(7736002)(81166006)(81156014)(74316002)(8676002)(4326008)(99286004)(6116002)(790700001)(2906002)(86612001)(22452003)(39060400002)(105586002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1102; SCL:1; SRVR:SN6PR2101MB0910; H:SN6PR2101MB0943.namprd21.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Michael.Jones@microsoft.com;
x-microsoft-antispam-message-info: g8+8UFD8TTJvVrBXR8jYKMlhyoQdGG/XTSz7/AKw7OFTg0Mtx8Sr25xQ0eNRFeZSFnHQUoybDAhRxUtCoU2w5K2KC0nGhEfaYiHAFodH0Xl/+g44VH/PSwCdRD4fsogq9+dsmStRhBkfbu3+Iyc4NNTavPqacMLgXtWdAvxJbPs=
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_SN6PR2101MB09436CCA10FD477A41819B42F5C00SN6PR2101MB0943_"
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-Network-Message-Id: a306ac7a-ae4d-4285-3bbe-08d57e34c909
X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Feb 2018 22:52:31.7927 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR2101MB0910
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/tC_B4_iGH2oQiQNqoyDBCt4NkQI>
Subject: Re: [Ace] Genart telechat review of draft-ietf-ace-cbor-web-token-12
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Authentication and Authorization for Constrained Environments \(ace\)" <ace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ace>, <mailto:ace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ace/>
List-Post: <mailto:ace@ietf.org>
List-Help: <mailto:ace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ace>, <mailto:ace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 27 Feb 2018 22:52:47 -0000

Replies inline…

From: Ace <ace-bounces@ietf.org> On Behalf Of Dan Romascanu
Sent: Tuesday, February 27, 2018 2:23 PM
To: Jim Schaad <ietf@augustcellars.com>
Cc: gen-art <gen-art@ietf.org>; ace@ietf.org; ietf <ietf@ietf.org>; Benjamin Kaduk <kaduk@mit.edu>; draft-ietf-ace-cbor-web-token.all@ietf.org
Subject: Re: [Ace] Genart telechat review of draft-ietf-ace-cbor-web-token-12

Hi Jim,

There are still a few problems:

1. The policies and mapping to the values ranges are hidden in the Claim Key field in the template (the comment also made by Kathleen)

Per my earlier note, I will be making this language clearer when the next revision is published.

2. At least one incorrect policy name is used: Standards Track Required - do you mean Standards Action (?)

Thanks – I’ll update the terminology when the next draft is published.

3. You describe a process that involves a mail list (cwt-reg-review@ietf.org<mailto:cwt-reg-review@ietf.org>) and Experts Review. This description is not clear. Usually IANA approaches one DE for advice and expects the advice from the same DE in a reasonable period of time. If I understand correctly the process described in Section 9.1 one or more DEs make a recommendation and run it with the mail list. Who establishes the consensus on the mail list? Assuming the mail list disagrees with the DE recommendation, who decides?

This is the process used for the .well-known URI spec, the JSON Web Token (JWT) spec, the JOSE specs, many OAuth specs and it works well.  It allows interested parties to see and comment on registration requests.  The Designated Experts are still the ones to decide.  See these references for some uses of this kind of publicly-visible registration procedure:

https://tools.ietf.org/html/rfc5785#section-5.1 (using wellknown-uri-review@ietf.org<mailto:wellknown-uri-review@ietf.org>)
https://tools.ietf.org/html/rfc6749#section-11.1 (using oauth-ext-review@ietf.org<mailto:oauth-ext-review@ietf.org>)
https://tools.ietf.org/html/rfc7515#section-9 (using jose-reg-review@ietf.org<mailto:jose-reg-review@ietf.org>)
https://tools.ietf.org/html/rfc7800#section-6 (using jose-reg-review@ietf.org<mailto:jose-reg-review@ietf.org>)

I can find more examples of the use of this publicly-visible registration procedure if you like.

Regards,
Dan

                                                          Thanks for the careful review, Dan,
                                                          -- Mike

On Tue, Feb 27, 2018 at 7:53 PM, Jim Schaad <ietf@augustcellars.com<mailto:ietf@augustcellars.com>> wrote:
Integer values between -256 and 255 and strings of length 1 are designated as Standards Track Required.

Integer values from -65536 to 65535 and strings of length 2 are designated as Specification Required.

Integer values of greater than 65535 and strings of length greater than 2 are designated as Expert Review.

Integer values less than -65536 are marked as Private Use.

So that says what IANA policy is to be used for each of the different items.  This defines the policies and the ranges for those policies.

There is not anything that is making a distinction on what the criteria to be used by the DE in the document which is separate, but I don’t think that is needed.  This is why they are DEs.

I still don’t see what you think is missing.

Jim


From: Dan Romascanu [mailto:dromasca@gmail.com<mailto:dromasca@gmail.com>]
Sent: Tuesday, February 27, 2018 2:00 AM
To: Benjamin Kaduk <kaduk@mit.edu<mailto:kaduk@mit.edu>>
Cc: Jim Schaad <ietf@augustcellars.com<mailto:ietf@augustcellars.com>>; gen-art <gen-art@ietf.org<mailto:gen-art@ietf.org>>; draft-ietf-ace-cbor-web-token.all@ietf.org<mailto:draft-ietf-ace-cbor-web-token.all@ietf.org>; ietf <ietf@ietf.org<mailto:ietf@ietf.org>>; ace@ietf.org<mailto:ace@ietf.org>
Subject: Re: [Ace] Genart telechat review of draft-ietf-ace-cbor-web-token-12

Hi,
See also my other notes.
I believe that what the document tries to say is:
Register R is divided into four different ranges R1, R2, R3, R4 (defining the value limits may be useful)
Values in range R1 are allocated according to policy P1 in the case that ...
Values in range R2 are allocated according to policy P2 in the case that ...
Values in range R3 are allocated according to policy P3 in the case that ...
Values in range R4 are allocated according to policy P4 in the case that ...
But it doesn't say it. Mentioning four concurrent policies for the same registry without separation of values range, and without providing clear instructions when each policy is recommended to be used, seems confusing to me, and may be confusing for users of this document in the future.
Regards,
Dan

On Tue, Feb 27, 2018 at 5:40 AM, Benjamin Kaduk <kaduk@mit.edu<mailto:kaduk@mit.edu>> wrote:
On Mon, Feb 26, 2018 at 11:19:04PM +0200, Dan Romascanu wrote:
> Hi Jim,
>
> Thank you for your answer and for addressing my comments.
>
> On item #2:
>
>
>
> On Mon, Feb 26, 2018 at 10:12 PM, Jim Schaad <ietf@augustcellars.com<mailto:ietf@augustcellars.com>> wrote:
>
> >
> >
> > > -----Original Message-----
> > > From: Dan Romascanu [mailto:dromasca@gmail.com<mailto:dromasca@gmail.com>]
> > >
> >
> > ...
>
> > >
> > > 2. I am a little confused by the definition of policies in Section 9.1:
> > >
> > >    Depending upon the values being requested, registration requests are
> > >    evaluated on a Standards Track Required, Specification Required,
> > >    Expert Review, or Private Use basis [RFC8126] after a three-week
> > >    review period on the cwt-reg-review@ietf.org<mailto:cwt-reg-review@ietf.org> mailing list, on the
> > >    advice of one or more Designated Experts.
> > >
> > > How does this work? The request is forwarded to the designated expert,
> > > he/she make a recommendation concerning the policy on the mail list, and
> > > depending on the feedback received a policy is selected? Who establishes
> > > consensus?
> > >
> > > Frankly, I wonder if this can work at all. Are there other examples of
> > four
> > > different policies for the same registry, applied on a case-to-case
> > basis?
> >
> > This is the same approach that is being used for the COSE registries.  As
> > an example, you can look at https://www.iana.org/
> > assignments/cose/cose.xhtml#algorithms.
> >
> > Part of the issue about this is that the JOSE/JWT registries do have the
> > same different policies, but that differences are hidden from the IANA
> > registry.  Since they allow for a URI to be used as the identifier of a
> > field, only the plain text versions are registered.  Thus I can use "
> > http://augustcellars.com/JWT/My_Tag" as an identifier.  Since for CBOR
> > the set of tag values is closed and does not have this escape (nor would
> > one want the length of the tag) it is necessary to have this break down of
> > tag fields.
> >
> >
> >
> >
> This does not seem to be exactly the same approach. The COSE RFC 8152
> defines the registry policy in a different manner. There is only one policy
> that is proposed 'Expert Review' and than the Expert Review Instructions
> are used to define the cases when a Standards Track specification is
> required. No such text exists in the current I-D. There is no separation of
> the values space in the registry according to the type of assignment here,
> as  in RFC 8152.
The template in section 9.1.1 has the different policies for the
different integer ranges, under the 'Claim Key' section.  Kathleen
(IIRC) already noted that this should probably be repeated in the
introductory part of section 9.1 as well, and that will be done
before the document is sent to the IESG.

-Benjamin