Re: [quicwg/base-drafts] HOL blocking on Finished (#446)

ekr <notifications@github.com> Mon, 24 April 2017 00:10 UTC

Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.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 34F1F1270AC for <quic-issues@ietfa.amsl.com>; Sun, 23 Apr 2017 17:10:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.8
X-Spam-Level:
X-Spam-Status: No, score=-4.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, RCVD_IN_MSPIKE_H2=-2.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 Hms09YOSWzW2 for <quic-issues@ietfa.amsl.com>; Sun, 23 Apr 2017 17:10:02 -0700 (PDT)
Received: from o3.sgmail.github.com (o3.sgmail.github.com [192.254.112.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 546A31204DA for <quic-issues@ietf.org>; Sun, 23 Apr 2017 17:10:02 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=+MSrYq81YWMoTYc5O0qiksnldu8=; b=O8rTFs/8x53Ng7A0 2vaAVyeki1M2jvnMUbnVhyU2kAsaBB1hgD99eZGA9U7hm3fvOuq3cCBgVer2vrQj 2MKGmjLmCdLD/vhzXxCdkdgnH+MhaWdXv4e5KNtxu7/gQFh4gp5ikban+/3Cfdtl TV3Ima4SrSNzyJa/rdHaUSYvVR4=
Received: by filter0078p1las1.sendgrid.net with SMTP id filter0078p1las1-30379-58FD4258-44 2017-04-24 00:10:00.776319948 +0000 UTC
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2b-ext-cp1-prd.iad.github.net [192.30.253.17]) by ismtpd0001p1iad1.sendgrid.net (SG) with ESMTP id 9-M8F-W-Rji4zCfxNVb4Cw for <quic-issues@ietf.org>; Mon, 24 Apr 2017 00:10:00.715 +0000 (UTC)
Date: Sun, 23 Apr 2017 17:10:00 -0700
From: ekr <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab6e2757e711f8690bf15755ccc21e5991de57df7e92cf000000011515045892a169ce0d495814@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/446/296499054@github.com>
In-Reply-To: <quicwg/base-drafts/issues/446@github.com>
References: <quicwg/base-drafts/issues/446@github.com>
Subject: Re: [quicwg/base-drafts] HOL blocking on Finished (#446)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_58fd425889f6a_292f3faa611dfc2c10216b"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: ekr
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak1iPgoZTxTUc+lqfhywWP2m/VVvNPeRarDSr4 ypiMEKoiu9mm1qDYDuMoPcUIPtYEV0LkkWQUWz3cBHwcl4Qt0wEPkxzp0ipGWmAGk5FQ4D+6xaEEk1 Z1DHpJF2LCIfwGbKcNSjPO5xOASqi25JOELau/t5XKb3KGBHgcCy4z0YIA==
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/HyGTDOUtZ2o6-8EhM2bmx-uHfP8>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 24 Apr 2017 00:10:04 -0000

The issue here is about the composability of the handshake and the record layer.

Specifically, the conventional way to analyze the security of a handshake protocol such as the TLS 1.3 handshake is to have it spit out a "session key" with the (or at least one) objective being that if both sides think that the handshake is complete then they will also have matching session keys ([CK01]; defn 1). Because the Finished MAC uses keys which are internal to the handshake (and independent of the traffic keys), then you can prove this fact about the TLS handshake without knowing anything about the record layer behavior and in fact no matter what shenanigans go on at the record layer.

If you don't receive the Finished message and use the receipt of an application-layer record then you don't have this assurance at the server side that the client completed the handshake if you just analyze the handshake itself, so you need to also analyze the application layer. To some extent this is just a barrier to analysis and there are analytic techniques which can handle both the handshake and record layer at once, but it's at least possible to imagine situations in which this would lead to problems. For instance, you might imagine having a protocol which negotiated a very weak record layer MAC (as people sometimes do with SRTP), in which case, you would have a correspondingly weak assertion that the client completed the handshake.

[CK01]     Canetti, R. and H. Krawczyk, "Analysis of Key-Exchange  Protocols and Their Use for Building Secure Channels",  Proceedings of Eurocrypt 2001 , 2001.


-- 
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/issues/446#issuecomment-296499054