Re: [Unbearable] Switching exporters for 0-RTT Token Binding

Nick Harper <nharper@google.com> Fri, 05 May 2017 20:25 UTC

Return-Path: <nharper@google.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 25AE2128BB6 for <unbearable@ietfa.amsl.com>; Fri, 5 May 2017 13:25:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.803
X-Spam-Level:
X-Spam-Status: No, score=-0.803 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 Z39u8yTeorho for <unbearable@ietfa.amsl.com>; Fri, 5 May 2017 13:25:38 -0700 (PDT)
Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (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 6451F124217 for <unbearable@ietf.org>; Fri, 5 May 2017 13:25:38 -0700 (PDT)
Received: by mail-lf0-x236.google.com with SMTP id j1so9304421lfh.2 for <unbearable@ietf.org>; Fri, 05 May 2017 13:25:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jrToIZ7lR3lAdaRoxga1jg4GitgLMEucTolRPu8mVbA=; b=DiL78wIx/PWHHV+AYspE6i5szUy318gk/kkLELzo9o1fADZxfW4H89Q4157int8UcJ dSF0j+62Ja/Y/64BXEWh9BOMd8O96icvk6Vl1szIFkMzDlDNitVgIgeyVu7UZsbUbyKe 69yZZTVnP3UAekvyoJWbXOCKhr6zo0AKTlm/OI7FVQJRKp4GjMxrh56/7IL8krzyBxcm H7mbLhknh34sZPJ5mIeVK3p7S23OGRNAm18Aww8hweGdD4QXOWAScrqc0ApQDxG3us6H EN1ilTCeqVFg5K9LvrbRDsO+N6u7S+YnFneWQM0seXDsXNFfEUUyi+7p4yCwrd0OyZFB nH+A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jrToIZ7lR3lAdaRoxga1jg4GitgLMEucTolRPu8mVbA=; b=G6Iw46Mn1cy9gV5SuE+QOL+amJ3s/fBqAQgi9l7pYtOlinGZilykhrYQEJj/Nx75ux e0nbG4MjtDqdWQ8hzFzPOqdhOk3KfBQT+YBrTZgpVqRa+i5jGlPRdnUmVm3B0tnxbDHH gb2oA9up8WHj0XneTZ1ePH3v5FzpZLLAON8GBkkjW+Wl6rQqSLdMDtssGOKT4eVQYTsK lO3vNT1Vw4Qk2yUuCAFbO0DjsWPnASVfBqO09Ov4p5DBhiRZuZrEb1pGyZllNBl/+kvx dep0qFX5nW0NimkJHANq9DQSp5eeTLbYjHp/MJPpL6YDcezPwqeHJFFso1lyCittZdti W7+w==
X-Gm-Message-State: AODbwcBqaOyOltrfP9jP5B7jxU+jCOWRUT0Bqt3FNUDbZdw/q6EnX489 O9nu/QBrCQYxfYxQkbo3V0Yyp9spCNeE6B6DQg==
X-Received: by 10.25.193.193 with SMTP id r184mr2365565lff.125.1494015936436; Fri, 05 May 2017 13:25:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.25.150.149 with HTTP; Fri, 5 May 2017 13:25:15 -0700 (PDT)
In-Reply-To: <20170428021355.GY30306@kduck.kaduk.org>
References: <CACdeXiLF3G8tBO5z5L2mfe5N-kYMv_4TNFS2_0YdecquMM_kuw@mail.gmail.com> <20170420020846.GY30306@kduck.kaduk.org> <CACdeXiLPb-QwLhG89ahV_q8q3n16jA+WEnsTzKTAyMtYcVF4Pw@mail.gmail.com> <SN1PR21MB0096D78DF3E9C07B23DC76078C100@SN1PR21MB0096.namprd21.prod.outlook.com> <20170428021355.GY30306@kduck.kaduk.org>
From: Nick Harper <nharper@google.com>
Date: Fri, 05 May 2017 13:25:15 -0700
Message-ID: <CACdeXiLGL7ejX00xkHPDwd1gTEaxD++QEisH9v_R=hSHJA9KJw@mail.gmail.com>
To: Benjamin Kaduk <kaduk@mit.edu>
Cc: Andrei Popov <Andrei.Popov@microsoft.com>, IETF Tokbind WG <unbearable@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/unbearable/Jb_6_X_xwgl7KrKUZZhVhOmaoT0>
Subject: Re: [Unbearable] Switching exporters for 0-RTT Token Binding
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: Fri, 05 May 2017 20:25:40 -0000

It sounds like the consensus on this thread is that 0-RTT TB should
use the 0-RTT exporter for the whole connection - switching exporters
adds complexity, and no use cases have been identified where it
provides extra value. I will update the draft to have it not switch
exporters. Once I make the language change around switching exporters
and also resolve the 4 issues currently open on
https://github.com/nharper/0-rtt-token-binding/issues, I'll upload a
new I-D.

On Thu, Apr 27, 2017 at 7:13 PM, Benjamin Kaduk <kaduk@mit.edu> wrote:
> On Thu, Apr 27, 2017 at 10:46:18PM +0000, Andrei Popov wrote:
>> If one is willing to do TB without POP, then one will probably appreciate a simpler way to do this, with fewer moving parts and less room for interop issues. (IMHO, the value of TB without POP approaches zero, but that's a separate discussion.)
>>
>> The extra complexity of upgrading to secure TB after a bound token and associated application message(s) have been accepted and processed does not increase security in the common use-cases that I can think of.
>
> One could perhaps concoct a case where the application layer agrees
> to only send certain mundane stuff over 0-RTT but for some reason
> still wants TB for it.  (That is not intended to be a compelling
> argument.)
>
> But in general, I agree with Andrei (especially with the parenthetical).
>
> In particular, all these discussions of how once you've accepted
> 0-RTT TB it doesn't make sense to try to upgrade to 1-RTT are just
> serving to cement my feeling that doing 0-RTT TB is a bad idea.  So,
> to answer Nick's question, I have no interest in implementing 0-RTT
> Token Binding, and thus don't have a use case in mind that would
> make me only implement (2).  :)
>
> -Ben