Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1])
 by ietfa.amsl.com (Postfix) with ESMTP id 00408120857
 for <quic-issues@ietfa.amsl.com>; Tue, 19 Nov 2019 01:59:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.382
X-Spam-Level: 
X-Spam-Status: No, score=-6.382 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, HTML_IMAGE_ONLY_24=1.618,
 HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key)
 header.d=github.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 RupqdDlRv5FD for <quic-issues@ietfa.amsl.com>;
 Tue, 19 Nov 2019 01:59:45 -0800 (PST)
Received: from out-23.smtp.github.com (out-23.smtp.github.com [192.30.252.206])
 (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
 (No client certificate requested)
 by ietfa.amsl.com (Postfix) with ESMTPS id 443D4120829
 for <quic-issues@ietf.org>; Tue, 19 Nov 2019 01:59:45 -0800 (PST)
Received: from github-lowworker-ca5950c.va3-iad.github.net
 (github-lowworker-ca5950c.va3-iad.github.net [10.48.17.57])
 by smtp.github.com (Postfix) with ESMTP id 607DE66041C
 for <quic-issues@ietf.org>; Tue, 19 Nov 2019 01:59:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
 s=pf2014; t=1574157584;
 bh=U0zH2OQuAgN47Xb+76+18rK4g/FozFtKOwuuYQ/+S2o=;
 h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
 List-Archive:List-Post:List-Unsubscribe:From;
 b=Q4RxujRo8QEkBW84d6urBiEiQ24z/i0ZEruAPwLlxcxDnzYoHTe7WBn3qP5K8b9wZ
 AZ7Ue4f7ahNR9r21zwc/z+WTa/OEIEJEUOiD6Uel6Fg1zAIhN7uj7CAeCTNQKkrinl
 xVrE6wP3nC3r2hHeDhywjw9c4ovvdGwRxiFXeV6g=
Date: Tue, 19 Nov 2019 01:59:44 -0800
From: MikkelFJ <notifications@github.com>
Reply-To: quicwg/base-drafts
 <reply+AFTOJK3JK2YV43SJR4ANTMN34DXZBEVBNHHB6ES7L4@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/3224/c555427392@github.com>
In-Reply-To: <quicwg/base-drafts/pull/3224@github.com>
References: <quicwg/base-drafts/pull/3224@github.com>
Subject: Re: [quicwg/base-drafts] No reading of 1-RTT before the handshake is
 complete (#3224)
Mime-Version: 1.0
Content-Type: multipart/alternative;
 boundary="--==_mimepart_5dd3bd1051468_41c53fdb6f8cd964120414";
 charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: mikkelfj
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/KGEewrY0BU4jJmDVlj4BE4D-tN8>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
List-Id: Notification list for GitHub issues related to the QUIC WG
 <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>,
 <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>,
 <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 19 Nov 2019 09:59:47 -0000


----==_mimepart_5dd3bd1051468_41c53fdb6f8cd964120414
Content-Type: text/plain;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

I know this has been discussed before - but reading the text as it is I wonder:

the text mixes three different terms, seeming arbitrarily: decryption of 1-RTT, processing of 1-RTT, and reading 1-RTT packets, and not using the 1-RTT keys at all.

I can see how packets MUST not be processed ahead of time, but I don't see why the keys cannot be used to qualify the packets. In fact the text says you can store 1-RTT packets until ready, but how do you know they are indeed 1-RTT packets if you cannot use the keys in some form?

There is a related concern about timing attacks if you do not both decrypt and verify but if that is not topic here, and if it is a concern it should probably be mentioned or referenced.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/pull/3224#issuecomment-555427392
----==_mimepart_5dd3bd1051468_41c53fdb6f8cd964120414
Content-Type: text/html;
 charset=UTF-8
Content-Transfer-Encoding: 7bit

<p>I know this has been discussed before - but reading the text as it is I wonder:</p>
<p>the text mixes three different terms, seeming arbitrarily: decryption of 1-RTT, processing of 1-RTT, and reading 1-RTT packets, and not using the 1-RTT keys at all.</p>
<p>I can see how packets MUST not be processed ahead of time, but I don't see why the keys cannot be used to qualify the packets. In fact the text says you can store 1-RTT packets until ready, but how do you know they are indeed 1-RTT packets if you cannot use the keys in some form?</p>
<p>There is a related concern about timing attacks if you do not both decrypt and verify but if that is not topic here, and if it is a concern it should probably be mentioned or referenced.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/quicwg/base-drafts/pull/3224?email_source=notifications&amp;email_token=AFTOJK34JG4Q7E3ZOWPJBC3QUO2JBA5CNFSM4JL5PYL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEENSMQA#issuecomment-555427392">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AFTOJK6WUCNDY2WOSLM37WDQUO2JBANCNFSM4JL5PYLQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AFTOJK6K2F3YCGJ7MPJOOFLQUO2JBA5CNFSM4JL5PYL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEENSMQA.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/quicwg/base-drafts/pull/3224?email_source=notifications\u0026email_token=AFTOJK34JG4Q7E3ZOWPJBC3QUO2JBA5CNFSM4JL5PYL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEENSMQA#issuecomment-555427392",
"url": "https://github.com/quicwg/base-drafts/pull/3224?email_source=notifications\u0026email_token=AFTOJK34JG4Q7E3ZOWPJBC3QUO2JBA5CNFSM4JL5PYL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEENSMQA#issuecomment-555427392",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>
----==_mimepart_5dd3bd1051468_41c53fdb6f8cd964120414--

