Re: [Unbearable] I-D Action: draft-ietf-tokbind-tls13-0rtt-02.txt

John Bradley <ve7jtb@ve7jtb.com> Thu, 29 June 2017 19:02 UTC

Return-Path: <ve7jtb@ve7jtb.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 75E39129ABD for <unbearable@ietfa.amsl.com>; Thu, 29 Jun 2017 12:02:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=ve7jtb-com.20150623.gappssmtp.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 K6xb8aQrULKh for <unbearable@ietfa.amsl.com>; Thu, 29 Jun 2017 12:02:24 -0700 (PDT)
Received: from mail-qt0-x234.google.com (mail-qt0-x234.google.com [IPv6:2607:f8b0:400d:c0d::234]) (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 AA614126D05 for <unbearable@ietf.org>; Thu, 29 Jun 2017 12:02:12 -0700 (PDT)
Received: by mail-qt0-x234.google.com with SMTP id i2so82246379qta.3 for <unbearable@ietf.org>; Thu, 29 Jun 2017 12:02:12 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ve7jtb-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=0L0jPyG9Cq+Gbgei0NGfi14pne3Rlwmol7RqTF+iM2U=; b=IuhpPX1iw5ajhtat5MQHaarwe1724xVwY2J574/MZz43Rs+m3EEoXQ8KZPz/Jv9XCV gjgkDnO1Lh/MWsN2wYAMs/TNRe51cVprmk8lXc6DizdCdTKL/ETslfC3X729DnJ3sO3Y RD9+cXo7YFvgiujMwKpDNwtmHIkDm79uiptS9cJgwTM1MihY2Szsec9CAeGqIPtu3sFJ zTbK8tUt022Ox8N2xiqqaCDLFlmsyi+QyS8MdbKJs2MmUYxtoIuKFSvVWMu+ZWQw3A3q tEWYcq7sgWLBVdTWsIaCg7EHHkyFgbWQ5a1SuN1IlYxQFxQfNM7C1PHfS9NE4UBmhDe2 ueiQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=0L0jPyG9Cq+Gbgei0NGfi14pne3Rlwmol7RqTF+iM2U=; b=Lk89fBc3B5ach6GYoB1UvYeBDWZHZHZBwfjot0+CuTo1tHv3t3NmH2hzP4Yy8QRPLG L6e+qQqNiHfKD34fIIS0yw59LCuIwUAZVBn8gpIG1nqazNoEdRyOwmy6S2CkL3ztOiLF FK03jf2pVa6mJ/REGkEzFwU3wYghYTwAM8vvgRaTNIWgAmqcUMCOapMmzmMplvp7SJws fX0aVb5Q1IXw/3vsAxInjSQFQvaCevTa5tmWyW36E32PDb34WRgdEhWFgIZs/8ZzEo5s H6cz83VmOwtiAL5j8ZWXU6qQV2wbPpE2dgZxiZYgIg8lp86Ec4fABqJYKUJqeU65rtlw Y/JA==
X-Gm-Message-State: AKS2vOzFE2dQgSrz0dcM/CQ9bXdGismwixxH8dXxh/qGRTNYFFgF7rwX JE+4CL2uVjjNmOzY
X-Received: by 10.200.9.55 with SMTP id t52mr21947108qth.107.1498762930343; Thu, 29 Jun 2017 12:02:10 -0700 (PDT)
Received: from johns-mbp.lan ([191.115.107.144]) by smtp.gmail.com with ESMTPSA id l207sm4318914qke.36.2017.06.29.12.02.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Jun 2017 12:02:09 -0700 (PDT)
From: John Bradley <ve7jtb@ve7jtb.com>
Message-Id: <97A1224B-5B6C-41EC-9FE0-CA0DE53746E1@ve7jtb.com>
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Date: Thu, 29 Jun 2017 15:02:05 -0400
In-Reply-To: <CACdeXiKOGptZ2WSZ_nVo-LmS5W0kqUszx_BpOcOWnfV05KO7mQ@mail.gmail.com>
Cc: Leif Johansson <leifj@sunet.se>, Benjamin Kaduk <kaduk@mit.edu>, IETF Tokbind WG <unbearable@ietf.org>, tokbind-chairs@ietf.org
To: Nick Harper <nharper@google.com>
References: <149868793805.5443.4284920405751222901@ietfa.amsl.com> <CACdeXiLqmdVpQryrPOBnUrbrk24Vap7QrASK-_vnwH91vwkZ3A@mail.gmail.com> <20170629024818.GI68391@kduck.kaduk.org> <9057a735-a907-d06c-327b-a959e4f554f0@sunet.se> <CACdeXiKOGptZ2WSZ_nVo-LmS5W0kqUszx_BpOcOWnfV05KO7mQ@mail.gmail.com>
X-Mailer: Apple Mail (2.3273)
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg="sha-256"; boundary="001a1144dfa027f58005531df0fc"
Archived-At: <https://mailarchive.ietf.org/arch/msg/unbearable/jL4MdhRPc16aFGAtpwxGx_xbg1g>
Subject: Re: [Unbearable] I-D Action: draft-ietf-tokbind-tls13-0rtt-02.txt
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, 29 Jun 2017 19:02:26 -0000

Inline

> On Jun 29, 2017, at 2:33 PM, Nick Harper <nharper@google.com> wrote:
> 
> On Thu, Jun 29, 2017 at 2:05 AM, Leif Johansson <leifj@sunet.se <mailto:leifj@sunet.se>> wrote:
>> On 2017-06-29 04:48, Benjamin Kaduk wrote:
>>> On Wed, Jun 28, 2017 at 03:25:13PM -0700, Nick Harper wrote:
>>>> Here's a summary of the changes since the last draft:
>>>> 
>>>> - If TB is accepted in 0-RTT data, keep using the early exporter for
>>>> the whole connection. There was some discussion on this in Chicago,
>>>> with more on the mailing list. Chairs, can you confirm whether we
>>>> reached consensus on the mailing list or whether we should take a hum
>>>> in Prague?
>>> 
>>> I am a WG chair, but not a tokbind chair, but that question does not
>>> seem to make sense.  Consensus must be reached (or confirmed) on the
>>> mailing list, so deciding there wasn't enough feedback on the list and
>>> going to an in-room hum seems backwards, procedurally.
>> 
>> Judging consensus is sometimes tricky. I think what Nick meant was that
>> we may want to do a hum in Prague /in addition to/ seeking confirmation
>> on the list.
> 
> It is unclear to me whether consensus was reached (hence deferring to
> the chairs on that judgement). If we don't have consensus, I'm fine
> continuing the discussion on list and in Prague. Let me check that I
> understand the process properly: first, discuss (on list and possibly
> in person), then if the discussion sounds like it's reached a
> consensus, optionally hum in person, and then confirm consensus on the
> list. Does that sound about right?

Yes
>> 
>>> 
>>>> - 0-RTT TB cannot be used with externally provisioned PSKs or with a
>>>> PSK-only key exchange mode
>>>> 
>>>> - A new TLS extension is used for negotiating and indicating use of 0-RTT TB
>>>> 
>>>> - The replay indication TLS extension has been removed
>>> 
>>> Some discussion on the httpbis list brought up that this document should
>>> mandate that 0-RTT token binding is only used in conjunction with
>>> a TLS stack that provides strong anti-replay protections (i.e., zero
>>> additional replays possible and one retransmission via DKG attack).  In other
>>> words, the time-based scheme of (draft-02) section 6.4 should be removed,
>>> and perhaps 6.3.1 reworded somewhat.
> 
> I read over the "New Version Notification for
> draft-thomson-http-replay-00.txt" thread on the httpbis list. My
> understanding of the issue raised on that list is simply that there
> are attacks on 0-RTT Token Binding if there isn't a strict global
> anti-replay mechanism. There are still attacks possible on 0-RTT Token
> Binding even if there is a strict global anti-replay mechanism. I need
> to consider what additional attacks are possible without such a
> mechanism, and if any of those attacks require less privileges than
> the attacks possible with the mechanism.
>>> 
>>> (It also brought up multiple peoples' sentiments that 0-RTT token binding
>>> is a bad idea in general, but this may not be procedurally the right time
>>> to have that discussion.)
>>> 
>>> -Ben
>>> 
>> 
> I'm aware that multiple people think that 0-RTT token binding is a bad
> idea in general. So far, the impression I've gotten of this sentiment
> is "0-RTT Token Binding is not something I have any interest in
> implementing". If the sentiment is closer to "0-RTT Token Binding is
> such a horrible thing that no one should be implementing it", then
> maybe we should discuss that sooner.

A good point,  if the attacks are still possible then supporting 0-RTT is problematic.  
On the other hand 0-RTT is a big speed boost for resumed connections.  It is hard to imagine that servers are going to disable it to use token binding over the long term.

I don’t believe the WG has any real consensus on this yet.   The draft spec is helpfull for us to discuss the issues.   

I encourage more discussion on the list on the topic of the draft and if this is the correct way to deal with 0-rtt if there are counter opinions.

Regards
John B.