Re: [TLS] WGLC for draft-ietf-tls-ticketrequests

Viktor Dukhovni <ietf-dane@dukhovni.org> Tue, 21 January 2020 09:16 UTC

Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C572B1200B3 for <tls@ietfa.amsl.com>; Tue, 21 Jan 2020 01:16:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 bpfOAoDdLZOs for <tls@ietfa.amsl.com>; Tue, 21 Jan 2020 01:16:19 -0800 (PST)
Received: from straasha.imrryr.org (straasha.imrryr.org [100.2.39.101]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1332E12008D for <tls@ietf.org>; Tue, 21 Jan 2020 01:16:19 -0800 (PST)
Received: by straasha.imrryr.org (Postfix, from userid 1001) id 0D3E849144; Tue, 21 Jan 2020 04:16:18 -0500 (EST)
Date: Tue, 21 Jan 2020 04:16:18 -0500
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: tls@ietf.org
Message-ID: <20200121091618.GK73491@straasha.imrryr.org>
Reply-To: tls@ietf.org
References: <20191117002249.GV34850@straasha.imrryr.org> <CADZyTkmaUVj=sFdgg93MuM2au0B=1M1k3yCA1XDoaAneVDmnNw@mail.gmail.com> <14690874-E301-4BC0-B385-00DEBCBA94C2@apple.com> <20191120034812.GQ34850@straasha.imrryr.org> <5FBFE820-8C53-4B32-9520-343279C1A6CC@apple.com> <20191120064819.GR34850@straasha.imrryr.org> <CAPDSy+6DFJ+OYRtYK6eEiUt1noiik4KxqrGFx0ro_RL2Mft_VA@mail.gmail.com> <fd37bd2a-c799-4bf4-95b3-65943681683b@www.fastmail.com> <20200121055411.GJ73491@straasha.imrryr.org> <97de6364-c628-45aa-8613-ba1a32cc41b2@www.fastmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <97de6364-c628-45aa-8613-ba1a32cc41b2@www.fastmail.com>
User-Agent: Mutt/1.12.2 (2019-09-21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/wgccNTH9Bq3i8FpSjwJRpD4N1rQ>
Subject: Re: [TLS] WGLC for draft-ietf-tls-ticketrequests
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 21 Jan 2020 09:16:21 -0000

On Tue, Jan 21, 2020 at 07:57:27PM +1100, Martin Thomson wrote:

> On Tue, Jan 21, 2020, at 16:54, Viktor Dukhovni wrote:
> > There's no need to exclude valid use-cases.  The refined proposal
> > is rather non-invasive, and handles this case cost-effectively
> > on clients that re-use tickets (and don't use early-data, ...).
> 
> I don't find your arguments persuasive.  This adds complexity
> specifically to address a case that has - in the general case -
> suboptimal characteristics, both in terms of forward secrecy and
> linkability.  Whether or not there are specific cases that might
> tolerate these suboptimalities, the complexity and risks are borne by
> everyone.

    * Switching to a new ticket is of no help if the server is still
      using the same STEK.  Any forward-secrecy concerns are a function
      of the frequency of STEK rotation on the server.

    * We work in noticeably different application spaces.  SMTP client
      MTAs send 220 greetings and EHLO commands identifying themselves
      in the clear prior to the STARTTLS handshake.  MTAs don't roam
      from network to network, and linkability of traffic is not a
      concern.

    * Postfix, for example, rotates STEKs by default once an hour,
      making the forward-secrecy exposure quite limited. 

    * Clients don't use the same ticket indefinitely, they too discard
      stale tickets, if the server does not beat them to it.

The requested change is rather minimal, it merely asks the server to
intepret 0 as "optional ticket" rather than "no ticket" reserving the
last code point (not uncommon to have make it special) as a no-go
sentinel.

Even if the proposal is not compelling for some, it allows additional
legitimate use-cases at negligible cost.  So barring some actual
problem, it is hard to see on what basis it can be reasonably excluded. 

That's all from me.  Thanks.

-- 
    Viktor.