Re: [Gen-art] Gen-ART Last Call review of draft-ietf-tokbind-negotiation-10

Andrei Popov <Andrei.Popov@microsoft.com> Sun, 26 November 2017 22:18 UTC

Return-Path: <Andrei.Popov@microsoft.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 445C71201F2; Sun, 26 Nov 2017 14:18:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.021
X-Spam-Level:
X-Spam-Status: No, score=-2.021 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-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 YA2rJ6bdIMlp; Sun, 26 Nov 2017 14:18:06 -0800 (PST)
Received: from NAM02-BL2-obe.outbound.protection.outlook.com (mail-bl2nam02on0112.outbound.protection.outlook.com [104.47.38.112]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 987671200C1; Sun, 26 Nov 2017 14:18:05 -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=VnFnK2JeEW9mlxDc/+0K4NWb6uFX/sTU67uC+YQUpO4=; b=RZatBqlHRh5uRAweV8jQrKmeAfjkXS9P36Ku2Jjvo5qHqcGKeZUVow4BqDcfyz2/Nsfjzcf/LmdH1PJea2G+7CG2qqStGZJEZTEIbHGK05He4OZypsH2GZjjk9memNznOQb8AdKNlZGIWJ8jrmY1XYkWdWRJgmW0nXFIEKCvNZQ=
Received: from MWHPR21MB0189.namprd21.prod.outlook.com (10.173.52.135) by MWHPR21MB0846.namprd21.prod.outlook.com (10.173.51.140) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.302.0; Sun, 26 Nov 2017 22:18:02 +0000
Received: from MWHPR21MB0189.namprd21.prod.outlook.com ([10.173.52.135]) by MWHPR21MB0189.namprd21.prod.outlook.com ([10.173.52.135]) with mapi id 15.20.0302.001; Sun, 26 Nov 2017 22:18:02 +0000
From: Andrei Popov <Andrei.Popov@microsoft.com>
To: Paul Kyzivat <pkyzivat@alum.mit.edu>, "draft-ietf-tokbind-negotiation.all@ietf.org" <draft-ietf-tokbind-negotiation.all@ietf.org>
CC: General Area Review Team <gen-art@ietf.org>
Thread-Topic: Gen-ART Last Call review of draft-ietf-tokbind-negotiation-10
Thread-Index: AQHTZvH0w8XlUQXgoUCzQLGsjNF1Z6MnGtFQgAAYJgCAAAM1kA==
Date: Sun, 26 Nov 2017 22:18:02 +0000
Message-ID: <MWHPR21MB0189D9A14FDD8F265F27A7B48C240@MWHPR21MB0189.namprd21.prod.outlook.com>
References: <c863ce3f-149b-8d97-592b-6ce6dbc62660@alum.mit.edu> <MWHPR21MB01897C017B48452218F353F88C240@MWHPR21MB0189.namprd21.prod.outlook.com> <c604191d-0fa2-3865-4922-4202c3d36bc8@alum.mit.edu>
In-Reply-To: <c604191d-0fa2-3865-4922-4202c3d36bc8@alum.mit.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [2001:4898:80e8:4::4ca]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; MWHPR21MB0846; 6:VsH75FXgxIEl8ljz95UYgac0F10bqgxudCStZRSIkDtPJiHnBooobm0YSMWWwht0GZVhzNjorCHLDAeae4yCn+l8cH7wnCcKpF8REnThqNjd7IAFu/1eK6aX6+iw4w7TbpeIZhZBO70sfk9Y/5Us4vri+EUIafJUKxScmJuQCV4l5MyErvEQmhQU+UqSrNGg4cx7xTYYNqiQK5N6ggjql8hNX3sVNCRnGfalw7jkAw8wf/WMptPF2sJjtOYYmdWlPKoSpnAfT/oDQ114GrtO/bsLDKWW1q0+R5sJAir+X/0Qy19xJyCN2XRieGzh0/FJkn/GA0T1XQBsaP++dnYAur25wTq+xfJBkpbV0lSwJ84=; 5:ASeivu7aiwcLzM+B9u+ICF+am+FEHRrZgva9OvSgAfZAvnGkDEUmopAM6VX2DTBy3MCZkHThO+NwvNW8cXbHYOVfoCw3mKO2hWwn2yyXlwYPBIeBBSrRomHVzG6y/iwcqg/cFpErCP4IYnaPqSOOAjHytF/VDRPueN5BP2PVu0M=; 24:qTOLIpZ/3sqmT8utCiWPUZGxEvjS7VIC/KPka2dK3Zttu1OYoJCxqkwgiPnelS3X0GVGvoeoWf4H91qWSakAe+0WA+diCjQ3n3NCs0VncKQ=; 7:vihGU6oKYMviF4TyQJPN6eUpFkdJ48yR+2knVN5BTl/kw1A1SxtJv1bcqsrY0BhdzCI5ha8/ccBYSA9gp0ld9qGtrYELzcfPuXtTIBOPxc+qPVZ6RWSpt82F6bjVMjXSjD61MRVaHZ/ZnZqWdD8ircVGPG0wy/3kdYnuhj5K+qtZMKGa7YWhwz4XwvYGCeqifqCrl4nrURj6kUgVHSP1EKfCsdurplLTR2XmDrmgSBuSOKlId6/CrUVo4E4mF5oV
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-ht: Tenant
x-ms-office365-filtering-correlation-id: 07f62685-4c89-4570-07f9-08d5351b8f6f
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(48565401081)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603258); SRVR:MWHPR21MB0846;
x-ms-traffictypediagnostic: MWHPR21MB0846:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=Andrei.Popov@microsoft.com;
x-microsoft-antispam-prvs: <MWHPR21MB084612A60FE2BE1F8DB8B3B28C240@MWHPR21MB0846.namprd21.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(89211679590171)(192374486261705)(189930954265078)(100405760836317)(219752817060721);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(61425038)(6040450)(2401047)(8121501046)(5005006)(3231022)(3002001)(93006095)(93001095)(10201501046)(6055026)(61426038)(61427038)(6041248)(20161123560025)(20161123562025)(20161123558100)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011); SRVR:MWHPR21MB0846; BCL:0; PCL:0; RULEID:(100000803101)(100110400095); SRVR:MWHPR21MB0846;
x-forefront-prvs: 0503FF9A3E
x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(39860400002)(376002)(346002)(366004)(47760400005)(13464003)(199003)(51914003)(377424004)(189002)(24454002)(14454004)(101416001)(68736007)(102836003)(6116002)(99286004)(3660700001)(106356001)(105586002)(33656002)(2950100002)(10090500001)(189998001)(6246003)(53546010)(53936002)(7736002)(3280700002)(8936002)(72206003)(2171002)(8990500004)(97736004)(575784001)(86362001)(86612001)(2906002)(25786009)(10290500003)(9686003)(305945005)(230783001)(74316002)(54356999)(4001150100001)(478600001)(8676002)(229853002)(81166006)(81156014)(316002)(2501003)(22452003)(6436002)(7696005)(2900100001)(110136005)(77096006)(6506006)(50986999)(55016002)(4326008)(5660300001)(76176999); DIR:OUT; SFP:1102; SCL:1; SRVR:MWHPR21MB0846; H:MWHPR21MB0189.namprd21.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en;
received-spf: None (protection.outlook.com: microsoft.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 07f62685-4c89-4570-07f9-08d5351b8f6f
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Nov 2017 22:18:02.7413 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47
X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR21MB0846
Archived-At: <https://mailarchive.ietf.org/arch/msg/gen-art/MeClZf7zMMpNrFyYysVgXvCUPtU>
Subject: Re: [Gen-art] Gen-ART Last Call review of draft-ietf-tokbind-negotiation-10
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 26 Nov 2017 22:18:08 -0000

> Otherwise it isn't much of a negotiation.
I agree that this version negotiation mechanism is very basic; e.g., this is how TLS version negotiation (call it version indication?) works today.
Various alternatives have been discussed several times, and WG consensus has been that we do not need more from our version negotiation mechanism.

> But this document doesn't apply to any version of TLS > 1.2, so that point is moot. What am I missing?
This document is referenced by other documents that specify the use of TB with TLS > 1.2, so I think it does not hurt to clarify that EMS requirement applies to TLS <= 1.2.
Before this language was added, WG participants commented that TLS >= 1.3 does not require EMS (because it's essentially implied in 1.3)...

-----Original Message-----
From: Paul Kyzivat [mailto:pkyzivat@alum.mit.edu] 
Sent: Sunday, November 26, 2017 1:49 PM
To: Andrei Popov <Andrei.Popov@microsoft.com>; draft-ietf-tokbind-negotiation.all@ietf.org
Cc: General Area Review Team <gen-art@ietf.org>
Subject: Re: Gen-ART Last Call review of draft-ietf-tokbind-negotiation-10

Andrei,

On 11/26/17 3:41 PM, Andrei Popov wrote:
> Thanks for the review, Paul.
> 
>> For example, if the supplied version is 3.5, what does it say about other versions supported?
> Similarly to TLS <= 1.2 version negotiation, this says nothing about any other protocol versions supported by the client. It only means that the server may respond with version X.Y where X<=3 and Y<=5. If the client happens to not support the version the server has chosen, the client will not use Token Binding on this connection.
> Will expand this section to make things more clear in the next revision (after collecting more comments).

ISTM that for the client to simply indicate a single "max" version and for the server to then choose any lesser version that it supports implies that if you support 3.x then you must be able to support *any* 2.n or 1.n version. Otherwise it isn't much of a negotiation.

This isn't a problem if the policy is that anything added in a minor version update can be ignored if not understood. In that case if you support N.0 then you also can work with any N.M.

If that isn't the case, then it can still work if there is a policy that once a new major version is defined all the prior versions are frozen so that no new minor versions of them can be defined.

>> Please consider if these are saying what you mean, and tweak the wording.
> This language is intended to make it clear that EMS is only required when using TLS <= 1.2. I would prefer to keep this language, perhaps removing the word "only".

But this document doesn't apply to any version of TLS > 1.2, so that point is moot. What am I missing?

	Thanks,
	Paul

> Cheers,
> 
> Andrei
> 
> -----Original Message-----
> From: Paul Kyzivat [mailto:pkyzivat@alum.mit.edu]
> Sent: Sunday, November 26, 2017 12:06 PM
> To: draft-ietf-tokbind-negotiation.all@ietf.org
> Cc: General Area Review Team <gen-art@ietf.org>
> Subject: Gen-ART Last Call review of draft-ietf-tokbind-negotiation-10
> 
> I am the assigned Gen-ART reviewer for this draft. The General Area Review Team (Gen-ART) reviews all IETF documents being processed by the IESG for the IETF Chair. Please wait for direction from your document shepherd or AD before posting a new version of the draft. For more information, please see the FAQ at <​https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.tools.ietf.org%2Farea%2Fgen%2Ftrac%2Fwiki%2FGenArtfaq&data=02%7C01%7CAndrei.Popov%40microsoft.com%7C0f4698b009614092b71608d53509151a%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636473235488200134&sdata=c0ASLsM1Y0evZrebBavBk%2FQDG5rVZUPxw57GpmAzih0%3D&reserved=0>.
> 
> Document: draft-ietf-tokbind-negotiation-10
> Reviewer: Paul Kyzivat
> Review Date: 2017-11-26
> IETF LC End Date: 2017-11-27
> IESG Telechat date: TBD
> 
> Summary:
> 
> This draft is on the right track but has open issues, described in the review.
> 
> Issues:
> 
> Major: 0
> Minor: 1
> Nits:  1
> 
> (1) MINOR:
> 
> Section 2 states the following requirement:
> 
>      ... it SHOULD
>      indicate the latest (highest valued) version in
>      TokenBindingParameters.token_binding_version.
> 
> But this doesn't state the precise meaning of "highest valued version".
> For example, if the supplied version is 3.5, what does it say about other versions supported? Presumably it covers 3.0...3.5. But what about lower major versions? I guess it must mean that 1.0...1.x and 2.0...2.y are also supported for some value of x and y. But *what* values of x and y? All that were ever defined? And what are the rules about versions 0.n?
> 
> This use of versioning implies that a particular discipline be followed for defining new major/minor version numbers, and for implementors. But no such discipline is described.
> 
> Additional text is needed to nail all of this down.
> 
> (2) NIT:
> 
> The Introduction says:
> 
>      The negotiation of the Token Binding protocol and key
>      parameters in combination with TLS 1.3 and later versions is beyond
>      the scope of this document.
> 
> while item (3) of section 3 says:
> 
>          This requirement only applies when TLS 1.2 or an older TLS
>          version is used (see security considerations section below for
>          more details).
> 
> Taken together these seem odd - the requirement only applies to the entire scope of the document!
> 
> Please consider if these are saying what you mean, and tweak the wording.
>