Re: [TLS] consensus call: (not precluding ticket request evolution)

Viktor Dukhovni <ietf-dane@dukhovni.org> Sat, 07 March 2020 03:35 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 199833A1166 for <tls@ietfa.amsl.com>; Fri, 6 Mar 2020 19:35:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, 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 vJO56GvPY_Wb for <tls@ietfa.amsl.com>; Fri, 6 Mar 2020 19:35:07 -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 1DB433A1164 for <tls@ietf.org>; Fri, 6 Mar 2020 19:35:07 -0800 (PST)
Received: by straasha.imrryr.org (Postfix, from userid 1001) id 07B841B1EE0; Fri, 6 Mar 2020 22:35:06 -0500 (EST)
Date: Fri, 06 Mar 2020 22:35:05 -0500
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: tls@ietf.org
Message-ID: <20200307033505.GM7977@straasha.imrryr.org>
Reply-To: tls@ietf.org
References: <20200305004211.GP7977@straasha.imrryr.org> <f1b5df82-d0a7-4f76-a6e6-a9627b5671fc@www.fastmail.com> <20200305010602.GR7977@straasha.imrryr.org> <CACdeXiJL2ESG0HOx7QquS0zkYTw_uarOc6vXeaEwE4sz=Zi9TA@mail.gmail.com> <20200305012651.GU7977@straasha.imrryr.org> <CACdeXiLaMcWHJY+a_07JvorBO_qf=_bYXKedqs4tD8RDUKff2Q@mail.gmail.com> <20200305030407.GV7977@straasha.imrryr.org> <20200306013004.GW3439@akamai.com> <20200306022747.GG7977@straasha.imrryr.org> <20200307032401.GZ3439@akamai.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20200307032401.GZ3439@akamai.com>
User-Agent: Mutt/1.12.2 (2019-09-21)
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/lhligbiQOqFMk3nkujClTUq9Alc>
Subject: Re: [TLS] consensus call: (not precluding ticket request evolution)
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: Sat, 07 Mar 2020 03:35:09 -0000

On Fri, Mar 06, 2020 at 07:24:01PM -0800, Benjamin Kaduk wrote:

> > > It seems like this would avoid the trap of alternating full and resumption
> > > handshakes that was discussed downthread for the case where client supports
> > > reuse but server does not.
> > 
> > Yes, there is some wiggle-room here.  What's your sense of the best
> > way forward?
> 
> So far as I know, either version will meet the technical needs, so it's to
> large extent a matter of style and "philosophical consistency with the
> rest of the protocol".  My personal thoughts are that "make zero mean zero"
> makes a lot of sense, and there doesn't seem to be much burden from the
> "return whether the server supports reuse" part of things, so if I held the
> pen that's what I'd go with.  But I will take whichever version the WG
> sends to me for publication.

The main reason I was reluctant to rely on the echoed extension from the
server is that it changes the data-type of the client's ticket cache, it
is no longer just an array of tickets, there now needs to be additional
associated metadata.  This is likely not a major burden, but a small
potential hurdle.

If we do get to specify reuse, then ultimately either choice can work,
with the new alternative being that an echoed extension supporting
reuse (in whatever form that takes) is required for the client to
attempt reuse.  Perhaps that's the cleaner option.  I failed to
consider making the echoed extension (optional in the original
text) mandatory in the reuse case.  Thanks for noticing.

-- 
    Viktor.