0-RTT usage rules are wrong

Martin Thomson <mt@lowentropy.net> Thu, 19 November 2020 06:00 UTC

Return-Path: <mt@lowentropy.net>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 470363A0E32 for <quic@ietfa.amsl.com>; Wed, 18 Nov 2020 22:00:48 -0800 (PST)
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=lowentropy.net header.b=L4qz5NUH; dkim=pass (2048-bit key) header.d=messagingengine.com header.b=NHxb83LM
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 6VLmciw_t_Vn for <quic@ietfa.amsl.com>; Wed, 18 Nov 2020 22:00:46 -0800 (PST)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id CE03F3A0E2F for <quic@ietf.org>; Wed, 18 Nov 2020 22:00:46 -0800 (PST)
Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 058E95C01A8 for <quic@ietf.org>; Thu, 19 Nov 2020 01:00:46 -0500 (EST)
Received: from imap10 ([10.202.2.60]) by compute1.internal (MEProxy); Thu, 19 Nov 2020 01:00:46 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=aAFHjqQgQF0pH7EV3OeSYgRh6rJ8Ro6n6MpUWM1wXRo=; b=L4qz5NUH LxLUTuBiVTLLNmNmXIYpuq/bQIqC2byfzupZj4Nrm26WL7AxyaxT0k5AxnGAhwAV t5bos59CC2oqmJM4afTrbyHdMUlRxYtJuUWg5DMpeAppt+teAdP3kKBtV+TTZLT6 yY6F31OWSx99Onnj4fdwAC4gtulXhs9YbmHWGyCXwTWAZe1/+yk2AkOoAOQ/ftq6 smdRY4LLCiy6o2pXvEOU67BHs44bObTBEMKb5bS/FrDq8EeHZSa0VAJbWq5kMzWj fFDwT/9eix6ktNLxNstDxfiDmEWiFPvwj6oU0D+CyBy9WwMiG4Px/+U+iHkUeTTL n88psBYp8o3ATw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=aAFHjqQgQF0pH7EV3OeSYgRh6rJ8R o6n6MpUWM1wXRo=; b=NHxb83LMlYGnC2wIGd82JW5K97sI2SI7p5Z2XvaoA5XZ9 crtbp70EdKJbR9MkRVdGxdNhchsGkrlfqg0if/O0/CFclG2NNDv59GEHvPYZeXcI xS0axeiOpdOUiIDkc9HYxJOR4KhAvsZAqlZbczg2VjiWa+BVAyNt5oSEp+1Y2rXS V6WOGa0RI74iGE43H8LrGhg7Ol3g8F8JjpJ0znt0Wypf8V3OMdTxGt0sz++mj7Nq 1r/Bl8QPQ1o/o/TZhdX+dVhF3hmbngYkPlzV3M1ubOwQbWnq0ifmhspK7rIMPHxS Yuo+YB9iYno4zQw8edSJiabnUac15395183HY1zlQ==
X-ME-Sender: <xms:DQq2X8FRlt-P1Kv0kq8aSnThvv18gwIrQiQhdyTTieyZoaEB8KfPcw> <xme:DQq2X1VRVkRuJv59hTeMeZo-0LRn3IgcqMr4c9YPo14-iNBgmZqsCLibt5_Isf6Hi ja7GuiG3Pc01MMGeMM>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudefiedgkeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfffhffvufgtsehttdertd erredtnecuhfhrohhmpedfofgrrhhtihhnucfvhhhomhhsohhnfdcuoehmtheslhhofigv nhhtrhhophihrdhnvghtqeenucggtffrrghtthgvrhhnpeegueehueejvdeiveffhedvke egffekgffgtdetleefkeeffedtjefhtdduvddutdenucffohhmrghinhepghhithhhuhgs rdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epmhhtsehlohifvghnthhrohhphidrnhgvth
X-ME-Proxy: <xmx:DQq2X2JXj01YCZtFUGnfZf4SUDGKCFdQES4V6lzDQZaYP99_PJVJpA> <xmx:DQq2X-GsxZ01SyIKB7Sujbd6IKGlkcl3szhIEIsUKnfJGsYwc_jsHw> <xmx:DQq2XyWGLIA4IIsryqBXvSJmQ07Q_LfeVnTFbJDK07XRVgApDkEhgw> <xmx:Dgq2X6jTXGvMdl89OrdIyOFj1f39-Xz5ggAEGoEiPQwvP5oD4AN_AQ>
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 8625120162; Thu, 19 Nov 2020 01:00:45 -0500 (EST)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.3.0-622-g4a97c0b-fm-20201115.001-g4a97c0b3
Mime-Version: 1.0
Message-Id: <326752af-6c6d-4fc8-ad76-0b00c7b46cbd@www.fastmail.com>
Date: Thu, 19 Nov 2020 17:00:25 +1100
From: Martin Thomson <mt@lowentropy.net>
To: quic@ietf.org
Subject: 0-RTT usage rules are wrong
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/D2CV4vnwxxX1Z1pwEN9oNzPaDM4>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Nov 2020 06:00:48 -0000

I was just reviewing the applicability draft (Brian, Mirja, expect a PR soon).  I was surprised to see such a strong assertion regarding idempotence in there.  I followed the link to the TLS draft and found that the text there was just wrong.  Not badly wrong, but wrong in a way that conflicts with RFC 8470.

Now, I wrote both, so there is no excuse.  But I'd like to be given a chance to fix this.

Issue: https://github.com/quicwg/base-drafts/issues/4393
Pull Request: https://github.com/quicwg/base-drafts/pull/4394

This is a substantive change that better aligns the rules here with existing work.

Cheers,
Martin