Re: [Unbearable] Alexey Melnikov's Discuss on draft-ietf-tokbind-negotiation-12: (with DISCUSS and COMMENT)
Martin Thomson <martin.thomson@gmail.com> Thu, 10 May 2018 01:21 UTC
Return-Path: <martin.thomson@gmail.com>
X-Original-To: unbearable@ietfa.amsl.com
Delivered-To: unbearable@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE26312E865; Wed, 9 May 2018 18:21:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.699
X-Spam-Level:
X-Spam-Status: No, score=-2.699 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 zHrsDFJ9qa_g; Wed, 9 May 2018 18:21:07 -0700 (PDT)
Received: from mail-oi0-x232.google.com (mail-oi0-x232.google.com [IPv6:2607:f8b0:4003:c06::232]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6BEC312E858; Wed, 9 May 2018 18:21:07 -0700 (PDT)
Received: by mail-oi0-x232.google.com with SMTP id l1-v6so410976oii.1; Wed, 09 May 2018 18:21:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=DbdpnpbD610Zm4xxNe48kRvhNn/gw3nuJdkLlL0eeew=; b=KZyIFUfIDKJriGWNdFO/r+9rKkEwjosMhBS+HckWkHY0lN5IVuxWURAKvu+R7LkYJh q2R7TVZ7kyU2K56CfDPW8y1IdJZstQa93hB0nvlcmwa1E2VuPeCjN9/pkNgFTsQK++3G eTz1oy1IiVFHPucUoj3TXPx2/vQ7kNlQxxKdp/RKFYHo5qm8HrLolYumeZXcC6aUnwMX jd9rvOqs6A6Gi6224MXGaAH0yNG73zCmeZX0lwDb1IMg0WqRw4sRFTKuaIwlk/hLR+P8 Nw+4syWnf3kKG/gcb4ce4EJYKjdsiB45tsV+qGjCEs+6QaJ/l93KZa8n/7Uempmm6iZW pDEQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=DbdpnpbD610Zm4xxNe48kRvhNn/gw3nuJdkLlL0eeew=; b=Waqt9XZwg1+T8OgoqDxKu1Nhh23uWzzhTwmxqdePfOVXvZXaIAwVOVbRm8+tqiXW01 JQhu7P/lMe+yZaG0+lqqED0LnExcmN4ltFjNT4AWneqw7M8liGkpWEjmWACt0Fmrrzvs EhYfC5Nj7b9FX1kIJ1P5WxIMz1in1S9XV5IxJXh6AAlsulibEsEmnoyeabkZADmdZsmH uKcXfiZQa1KUd7yd2PwU+1z625uM1WRtx4D+jY2sjOJDauNkhcz5XQCsLQHg8ZAA2dRJ EnkLzr+fO0scNZuJWZYZVvjOObFKkDf5E5xoIj/K8rdcPjQMo7d3wtEKG9f6AbmFLXp4 9+dg==
X-Gm-Message-State: ALQs6tD1EIIqIuI0X74eWZtMFffa9rjLNsmuZRkVAfhkDbfSm0C27d7I 6R2RTaJjXC2f1zlBRCullQzenncHZKvKC5lxtidD9Xl1
X-Google-Smtp-Source: AB8JxZqyX8q+Clr7XnR2XIhcdMKHd6jKapfCLCcpx6t3+sxPoJVziYO5NJxqMEFqptuwDdnDCNnAwPMZoeGWeH5BfJs=
X-Received: by 2002:aca:3905:: with SMTP id g5-v6mr30074418oia.215.1525915266483; Wed, 09 May 2018 18:21:06 -0700 (PDT)
MIME-Version: 1.0
References: <152562063795.26840.1916104340550306942.idtracker@ietfa.amsl.com> <DM5PR21MB0507C39C1A09C13C32385F2F8C9B0@DM5PR21MB0507.namprd21.prod.outlook.com> <1525879084.3938368.1366298224.73E1E829@webmail.messagingengine.com>
In-Reply-To: <1525879084.3938368.1366298224.73E1E829@webmail.messagingengine.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Thu, 10 May 2018 01:20:56 +0000
Message-ID: <CABkgnnXrBvfeP6hF7ewd0r5MH+XeiEQ4AteHfR0HrAt=y2DsRA@mail.gmail.com>
To: Alexey Melnikov <aamelnikov@fastmail.fm>
Cc: Andrei Popov <Andrei.Popov@microsoft.com>, The IESG <iesg@ietf.org>, John Bradley <ve7jtb@ve7jtb.com>, draft-ietf-tokbind-negotiation@ietf.org, IETF Tokbind WG <unbearable@ietf.org>, tokbind-chairs@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/unbearable/WXa0g1t2sBB5qPCXxjODI_z8b7k>
Subject: Re: [Unbearable] Alexey Melnikov's Discuss on draft-ietf-tokbind-negotiation-12: (with DISCUSS and COMMENT)
X-BeenThere: unbearable@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "\"This list is for discussion of proposals for doing better than bearer tokens \(e.g. HTTP cookies, OAuth tokens etc.\) for web applications. The specific goal is chartering a WG focused on preventing security token export and replay attacks.\"" <unbearable.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/unbearable>, <mailto:unbearable-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/unbearable/>
List-Post: <mailto:unbearable@ietf.org>
List-Help: <mailto:unbearable-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/unbearable>, <mailto:unbearable-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 10 May 2018 01:21:10 -0000
I had similar questions to Alexey, but - process-wise at least - those were discussed in the working group. I was eventually convinced that extensibility might be of some value. It's tenuous though. I remain certain that the TB version negotiation is not just pointless, but actively hazardous. I was in the rough there. But if you have it the major/minor separation is pointless. I was either in the rough there, or I was so far in the rough on the first part that no one wanted to follow me. On Thu, May 10, 2018 at 1:18 AM Alexey Melnikov <aamelnikov@fastmail.fm> wrote: > Hi Andrei, > On Mon, May 7, 2018, at 8:06 PM, Andrei Popov wrote: > > Hi Alexey, > > > > Thanks for reviewing the specs, I appreciate your comments. > > > > > What is the significance of "major" and "minor" versions? > > There is no normative significance; the version value is split into two > > parts for convenience of discussion only, so that we can talk about > > versions such as 0.10, 0.13, 1.0, etc. > I am tempted to suggest that you should replace it with a single unsigned 16bit, as "major" doesn't mean anything > > > Any rules on what kind of changed would require increment of the "major" version. > > > Any restrictions on what must remain the same when the "major" (or "minor") version gets incremented? > > We have no such rules; it is common to increment the "major" protocol > > version when "significant" changes happen, but this is up to future > > protocol specs to define. > I urge the WG to think about extensibility now, as opposed to deciding later. Both TLS and HTTP specifications put much more thoughts into versionning. > If you don't need generic extensibility (you already have ability to support different private key types), then maybe you don't need the version field at all. You can just get a new TLS extension number if you need some incompatible changes. (Or to ask it in another way: do you just have the version number field to work around strict TLS extension code point allocation rules?) > > > Any requirements on backward compatibility when only the "minor" version is incremented? > > There is no backward compatibility between different Token Binding > > protocol versions, regardless of which component of TB_ProtocolVersion > > changes. > > > > > Wouldn't be better to point to the IANA registry established by [I-D.ietf-tokbind-protocol]? > > Indeed, it may be better to say something like "[I-D.ietf-tokbind- > > protocol] establishes an IANA registry for Token Binding key parameters" > > or something to this effect. > > I'll try to wordsmith this. > Yes, this sounds good. > Best Regards, > Alexey > > Cheers, > > > > Andrei > > > > -----Original Message----- > > From: Alexey Melnikov <aamelnikov@fastmail.fm> > > Sent: Sunday, May 6, 2018 8:31 AM > > To: The IESG <iesg@ietf.org> > > Cc: draft-ietf-tokbind-negotiation@ietf.org; John Bradley > > <ve7jtb@ve7jtb.com>; tokbind-chairs@ietf.org; ve7jtb@ve7jtb.com; > > unbearable@ietf.org > > Subject: Alexey Melnikov's Discuss on draft-ietf-tokbind-negotiation-12: > > (with DISCUSS and COMMENT) > > > > Alexey Melnikov has entered the following ballot position for > > draft-ietf-tokbind-negotiation-12: Discuss > > > > When responding, please keep the subject line intact and reply to all > > email addresses included in the To and CC lines. (Feel free to cut this > > introductory paragraph, however.) > > > > > > Please refer to > > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.ietf.org%2Fiesg%2Fstatement%2Fdiscuss-criteria.html&data=02%7C01%7CAndrei.Popov%40microsoft.com%7C59e09351f0fe4b2fb9ac08d5b366524f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636612174409112174&sdata=LDU%2F%2FEr7lCYt0gm0yExDVINW1DGJh5S5cJJRv%2FRULQY%3D&reserved=0 > > for more information about IESG DISCUSS and COMMENT positions. > > > > > > The document, along with other ballot positions, can be found here: > > https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdatatracker.ietf.org%2Fdoc%2Fdraft-ietf-tokbind-negotiation%2F&data=02%7C01%7CAndrei.Popov%40microsoft.com%7C59e09351f0fe4b2fb9ac08d5b366524f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C1%7C636612174409112174&sdata=ka1kQLpRehbQmXHtxHj73cqfGsRw1Axvk%2BS%2BjkbOatQ%3D&reserved=0 > > > > > > > > ---------------------------------------------------------------------- > > DISCUSS: > > ---------------------------------------------------------------------- > > > > I will be switching to "Yes" once one issue mentioned below is discussed: > > > > I would like to have a quick discussion about your versionning model: > > > > struct { > > uint8 major; > > uint8 minor; > > } TB_ProtocolVersion; > > > > What is the significance of "major" and "minor" versions? > > Any rules on what kind of changed would require increment of the "major" > > version. Any restrictions on what must remain the same when the > > "major" (or > > "minor") version gets incremented? Any requirements on backward > > compatibility when only the "minor" version is incremented? > > > > > > ---------------------------------------------------------------------- > > COMMENT: > > ---------------------------------------------------------------------- > > > > In Section 2: > > > > "key_parameters_list" contains the list of identifiers of the Token > > Binding key parameters supported by the client, in descending order > > of preference. [I-D.ietf-tokbind-protocol] defines an initial set of > > identifiers for Token Binding key parameters. > > > > Wouldn't be better to point to the IANA registry established by [I- > > D.ietf-tokbind-protocol]? > > My concern is that you might be misleading implementors into not looking > > there. > > > > > _______________________________________________ > Unbearable mailing list > Unbearable@ietf.org > https://www.ietf.org/mailman/listinfo/unbearable
- [Unbearable] Alexey Melnikov's Discuss on draft-i… Alexey Melnikov
- Re: [Unbearable] Alexey Melnikov's Discuss on dra… Andrei Popov
- Re: [Unbearable] Alexey Melnikov's Discuss on dra… Alexey Melnikov
- Re: [Unbearable] Alexey Melnikov's Discuss on dra… Andrei Popov
- Re: [Unbearable] Alexey Melnikov's Discuss on dra… Mike Jones
- Re: [Unbearable] Alexey Melnikov's Discuss on dra… Spencer Dawkins at IETF
- Re: [Unbearable] Alexey Melnikov's Discuss on dra… Martin Thomson
- Re: [Unbearable] Alexey Melnikov's Discuss on dra… Andrei Popov
- Re: [Unbearable] Alexey Melnikov's Discuss on dra… Martin Thomson
- Re: [Unbearable] Alexey Melnikov's Discuss on dra… Alexey Melnikov