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

Benjamin Kaduk <bkaduk@akamai.com> Sat, 07 March 2020 03:24 UTC

Return-Path: <bkaduk@akamai.com>
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 0DD863A1134 for <tls@ietfa.amsl.com>; Fri, 6 Mar 2020 19:24:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, 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=akamai.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 gEjNmS8OAYY5 for <tls@ietfa.amsl.com>; Fri, 6 Mar 2020 19:24:04 -0800 (PST)
Received: from mx0b-00190b01.pphosted.com (mx0b-00190b01.pphosted.com [IPv6:2620:100:9005:57f::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id A53D03A1148 for <tls@ietf.org>; Fri, 6 Mar 2020 19:24:04 -0800 (PST)
Received: from pps.filterd (m0050102.ppops.net [127.0.0.1]) by m0050102.ppops.net-00190b01. (8.16.0.42/8.16.0.42) with SMTP id 0273H6aH006693 for <tls@ietf.org>; Sat, 7 Mar 2020 03:24:03 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=akamai.com; h=date : from : to : subject : message-id : references : mime-version : content-type : in-reply-to; s=jan2016.eng; bh=sR9TO+4UHGDwiL0Pi25Ha3qvKhCx38KKEdP/ujRsglQ=; b=UHjzf1LkC1j+eEg2H100JKzeoeLRn0+bStw+k7cTIzngl5WQCkHQAKQwayVdJN99AlKX 1eYRMNMQZbBcIWOoXfSdw/EEAmIQUeuZ+R76acZq2cPAaftHXTtAxois9jO7uoZFUM2k pg6h7u+Bu1Z+FmyKo8aNHTwXOKG4y+jq8xpkIBUYIBo2ykNqkrQYG9g9QBeGZIPWi4HL y8SvbvjNukU4fAh9gZwVry99T+iQ9hXKX6T8dXJ7+R1KNXtAij5gDTRpjVhzH/9pOxLe qV2NLfDunOPqLVZQMoPVzZkNpQpm7gOCFycnuT3uTLydvSzNQu6nwCeBdGZa9BPA2AS6 nA==
Received: from prod-mail-ppoint6 (prod-mail-ppoint6.akamai.com [184.51.33.61] (may be forged)) by m0050102.ppops.net-00190b01. with ESMTP id 2ym1jm0bs5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <tls@ietf.org>; Sat, 07 Mar 2020 03:24:03 +0000
Received: from pps.filterd (prod-mail-ppoint6.akamai.com [127.0.0.1]) by prod-mail-ppoint6.akamai.com (8.16.0.27/8.16.0.27) with SMTP id 0273HxQt016509 for <tls@ietf.org>; Fri, 6 Mar 2020 22:24:02 -0500
Received: from prod-mail-relay10.akamai.com ([172.27.118.251]) by prod-mail-ppoint6.akamai.com with ESMTP id 2yfm5ynb6f-1 for <tls@ietf.org>; Fri, 06 Mar 2020 22:24:02 -0500
Received: from akamai.com (bos-lpczi.santaclara.corp.akamai.com [172.19.105.107]) by prod-mail-relay10.akamai.com (Postfix) with ESMTP id 4A61C32D67 for <tls@ietf.org>; Sat, 7 Mar 2020 03:24:02 +0000 (GMT)
Date: Fri, 06 Mar 2020 19:24:01 -0800
From: Benjamin Kaduk <bkaduk@akamai.com>
To: tls@ietf.org
Message-ID: <20200307032401.GZ3439@akamai.com>
References: <499f4c6f-fa95-44ea-8c44-c985e140c4e0@www.fastmail.com> <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>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20200306022747.GG7977@straasha.imrryr.org>
User-Agent: Mutt/1.9.4 (2018-02-28)
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-03-06_09:2020-03-06, 2020-03-06 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=818 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002050000 definitions=main-2003070022
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.572 definitions=2020-03-06_09:2020-03-06, 2020-03-06 signatures=0
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 clxscore=1015 mlxlogscore=825 spamscore=0 mlxscore=0 priorityscore=1501 impostorscore=0 suspectscore=1 phishscore=0 lowpriorityscore=0 malwarescore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2003070022
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/yt9S0jVMe0_PkO6ZCrAD4Rjnzuw>
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:24:06 -0000

On Thu, Mar 05, 2020 at 09:27:47PM -0500, Viktor Dukhovni wrote:
> On Thu, Mar 05, 2020 at 05:30:04PM -0800, Benjamin Kaduk wrote:
> 
> > > No it does not, because he specifically emphasised treating 0 in the
> > > resumption count as issue no tickets, whereas PR#18 says that that that
> > > don't support reuse (perhaps all if that's the present consensus, until
> > > such time as reuse becomes specified) need to treat both 0 and 1 as 1.
> > 
> > Is this actually the case, though?  If we keep the signal from server to
> > client in the echoed extension, the client will know whether or not the
> > server supports resumption, and thus can ask for the appropriate value 0 or 1
> > in subsequent handshakes.
> 
> Yes, if the signal from the server is reliable (e.g. required of servers
> that support reuse), and clients are updated to store that signal along
> with issued tickets, rather than treating each exchange de-novo, then
> yes, you're right the 0->1 becomes inessential.  I addressed this in
> response to your pull-request comments.
> 
> > 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.

-Ben