Re: [quicwg/base-drafts] Clarify crypto context for Connection Close (#1818)

Kazuho Oku <> Tue, 02 October 2018 02:13 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id ED3BF129C6B for <>; Mon, 1 Oct 2018 19:13:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -8
X-Spam-Status: No, score=-8 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (1024-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 8Ktkpx6_qCQN for <>; Mon, 1 Oct 2018 19:13:39 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id D5DAA129AB8 for <>; Mon, 1 Oct 2018 19:13:38 -0700 (PDT)
Date: Mon, 01 Oct 2018 19:13:38 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=pf2014; t=1538446418; bh=hruo2Z9CuMy/1nzMMyGNXHPsC4imbiEteJz104wv5oM=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=hGvwzBDrGFg4T3Q5lNP45l31Sp7up5VN7EDdwXUxAyz9fmMLg7vZ2ejSNEp7N9VBV vA0HDTD4Khu7GUb3CbyzpNOExObHtTNmNXEqJ6sBC1ze9VfqRQOOZL9ghEfrhiq26o BvziO7+QOFBernrl5A0advz/6Iu2qwpcq9SWd1qc=
From: Kazuho Oku <>
Reply-To: quicwg/base-drafts <>
To: quicwg/base-drafts <>
Cc: Subscribed <>
Message-ID: <quicwg/base-drafts/pull/1818/review/>
In-Reply-To: <quicwg/base-drafts/pull/>
References: <quicwg/base-drafts/pull/>
Subject: Re: [quicwg/base-drafts] Clarify crypto context for Connection Close (#1818)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5bb2d452586d_54b03fa7ee6d45b8106677"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: kazuho
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
Archived-At: <>
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Tue, 02 Oct 2018 02:13:41 -0000

kazuho commented on this pull request.

> @@ -2606,6 +2606,16 @@ An endpoint sends a closing frame (CONNECTION_CLOSE or APPLICATION_CLOSE) to
 terminate the connection immediately.  Any closing frame causes all streams to
 immediately become closed; open streams can be assumed to be implicitly reset.
+If the endpoint has successfully decrypted a 1-RTT packet from its peer, it
+SHOULD send CONNECTION_CLOSE in a 1-RTT packet. If not, and it has received a

That works for me, though I would prefer dropping the former (i.e. "handshake is complete") because it's confusing; IIUC we do not have a definition of when the handshake becomes complete, and we could argue in various ways on when it becomes complete. Actually, the latter condition (i.e. "knows the peer can decrypt a 1-RTT packet") is when the handshake is _known_ to have been complete.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub: