Re: [TLS] Late DLS 1.3 issue

Christopher Wood <caw@heapingbits.net> Wed, 06 October 2021 23:31 UTC

Return-Path: <caw@heapingbits.net>
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 B69643A0A64 for <tls@ietfa.amsl.com>; Wed, 6 Oct 2021 16:31:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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=heapingbits.net header.b=Gwpna2el; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=WkRPKM1f
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 7iE7ASDLxTBy for <tls@ietfa.amsl.com>; Wed, 6 Oct 2021 16:31:02 -0700 (PDT)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 397503A0AEE for <tls@ietf.org>; Wed, 6 Oct 2021 16:31:01 -0700 (PDT)
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 44F885C00DD for <tls@ietf.org>; Wed, 6 Oct 2021 19:31:00 -0400 (EDT)
Received: from imap41 ([10.202.2.91]) by compute5.internal (MEProxy); Wed, 06 Oct 2021 19:31:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heapingbits.net; h=mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm2; bh=yXQVs0EX1Wt77PwSYFGiVPI0wef0AAB YVvNHBWtd5r4=; b=Gwpna2elYB7YJgasZb1VfJ0HeXTIwlkAz3mh1YdHH7a/ipu SpDpc9/3ArEEop2VQ1kP75h3J9v9xPQzdy0ng+YCNXQaIex7MloUTMyTZ0zajYyr MG1trVLEPo86y1uL/VylND6CelgAn1YLXFR3+wPN4vehaVhpC22wwVmByYLGuc2a YwBr6uwmYzBXzOKdhQ2dnDwyG3Di7dKhOvbjZ2eULJBPJlXfM7RD2GBJZxMVLd7B SgKoY4UjNA6lLmsEYhS+S96Y+a/XpvbmHuMxWTJqJYH/k53tDHeq7h3WE/M4ONY8 bf1WArYtZTAT1M6xbmXc5LgEgf8PvY340lLA2DQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=yXQVs0 EX1Wt77PwSYFGiVPI0wef0AABYVvNHBWtd5r4=; b=WkRPKM1fH7857fsB0uj3a0 ODXUP7Rn3h4Ihb+UXgy3znihBQd+htTi6R6KjW10xQZywZaQYzH8K6RJfjSdqmIc 4FJftCaFcpbMhtjgkrl4ZoqJjFFZtbkTXWKV7fXcW1dlzmUY6UUDWZ3uuUHLvfnl FSg8ZuofBrM5GZpnRsCH7hNLsIseaSHJIAwM/eo3LpufR14Tfe3Xc/60ZRA6F1AJ jfOGu8HWgsCOY/acfbpKiOKsoFr87T/gX8tY9E7I4AwNEwDQx6MU7JUbzmUQEaF9 aYOnBeTNNzcw8J9v54oYOUphNwIMl8bxzUdLEnoGh/Az018R91f+D3qT6H1SZNOw ==
X-ME-Sender: <xms:tDFeYfu4U6JKerFauYBFBEG4SfIPNNSLRb-X6JVkfhgy10bY20LlDA> <xme:tDFeYQdhMc8MXAfzoyBvaBktJXG1M0_B6zPDwRHB7sQq99SltIloeXWGVsMc2ELIW sRQnFTqD8rShOes2mI>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudeljedgudekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfvehhrhhishhtohhphhgvrhcuhghoohgufdcuoegtrgif sehhvggrphhinhhgsghithhsrdhnvghtqeenucggtffrrghtthgvrhhnpeduffeitddutd etgfegfeekgedvkeelvdeiiedtjeetteeuvdejveelleeltedtheenucevlhhushhtvghr ufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegtrgifsehhvggrphhinhhgsg hithhsrdhnvght
X-ME-Proxy: <xmx:tDFeYSzyBhHBO1ZR4U3k53_Jp_WcRJbO5RmR1nDb5r_tA5stZmjSGQ> <xmx:tDFeYeMQ_CqRJjjCDogxTRudtmlPvhYGztgbxY_Nf4RARGHVHxYEUw> <xmx:tDFeYf_mBmzEBOIcnqQJECHmwsgWs5Z4YLaXh5_D73MggLk4S8OMCg> <xmx:tDFeYSIoRhoZCjd2eJV1tIVriuMIu_Z4jWWmEUWsw2kBXR_FydtLxQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 217F83C0246; Wed, 6 Oct 2021 19:31:00 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.5.0-alpha0-1331-g5ae342296a-fm-20211005.001-g5ae34229
Mime-Version: 1.0
Message-Id: <4e03b1c2-ee90-4418-b9d0-a48d8658d290@www.fastmail.com>
In-Reply-To: <7e32945e-af12-4d85-9739-473b64df40a0@www.fastmail.com>
References: <3e98642a-a232-471f-aacc-2f7a723be320@www.fastmail.com> <2dc51976-ee00-449c-b954-23b53d3607b7@www.fastmail.com> <CABcZeBM_Kx1fL4KU-9F9X3YjgDv2K4idDWXoLAfv9=-LbDLXjw@mail.gmail.com> <7e32945e-af12-4d85-9739-473b64df40a0@www.fastmail.com>
Date: Wed, 06 Oct 2021 16:30:39 -0700
From: Christopher Wood <caw@heapingbits.net>
To: "TLS@ietf.org" <tls@ietf.org>
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/lhDX2BUZ0ZmwZ-3iUM52sGy7jsQ>
Subject: Re: [TLS] Late DLS 1.3 issue
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: Wed, 06 Oct 2021 23:31:10 -0000

On Tue, Oct 5, 2021, at 8:36 PM, Martin Thomson wrote:
> On Wed, Oct 6, 2021, at 12:58, Eric Rescorla wrote:
>> This isn't dispositive, but note that TLS 1.3 doesn't include the epoch 
>> in its nonce at all. 
>
> That strengthens the gut instinct some, as does the fact that QUIC 
> doesn't either.  But neither of those protocols is exactly the same as 
> DTLS.  DTLS doesn't place a hard end on any given epoch.  TLS does.  
> QUIC's continuous packet number space creates a hard limit, even if 
> that limit isn't a single value.  That suggests that some analysis 
> would be helpful.
>
> I'm less concerned about analysis than I am about getting the 
> specification bit right.

FWIW, the intent of the change was to indeed truncate the epoch, as this is the variant that seems safest. I think you caught a couple places where that wasn't captured quite right, which we can fix.

Best,
Chris