Re: [quicwg/base-drafts] Client's initial destination CID is unauthenticated (#1486)

ekr <notifications@github.com> Mon, 09 July 2018 20:37 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 D40F4131065 for <quic-issues@ietfa.amsl.com>; Mon, 9 Jul 2018 13:37:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.01
X-Spam-Level:
X-Spam-Status: No, score=-3.01 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_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01] 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 BrDbPUrBcbUf for <quic-issues@ietfa.amsl.com>; Mon, 9 Jul 2018 13:37:32 -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 BC890129C6A for <quic-issues@ietf.org>; Mon, 9 Jul 2018 13:37:31 -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=RzVzwUNBNoujyRv9XWPiNnK6CjY=; b=Q2NgMU3+/8LNIrZu PI1j0/4ADGwtU0vHGLHnjyBM5Pw2jRG8kM5MmpO0PfdJO+jeU6aU+ATMLMjcJGBD 6D7Jsnr7lWNDIhIkCkPuiDwHMXYZHk/mw5NEJHr8dKtBuInjqFUaiuqCcQ01YGu4 L+++knZ9FGtcKyDw8CthcdmC5oU=
Received: by filter1448p1mdw1.sendgrid.net with SMTP id filter1448p1mdw1-14232-5B43C789-34 2018-07-09 20:37:29.887874751 +0000 UTC
Received: from github-lowworker-d2dd71d.cp1-iad.github.net (unknown [192.30.252.33]) by ismtpd0005p1iad1.sendgrid.net (SG) with ESMTP id kT2h5w7PSIadDEbpSJyxlw for <quic-issues@ietf.org>; Mon, 09 Jul 2018 20:37:29.908 +0000 (UTC)
Received: from github.com (localhost [127.0.0.1]) by github-lowworker-d2dd71d.cp1-iad.github.net (Postfix) with ESMTP id DC189880CD5 for <quic-issues@ietf.org>; Mon, 9 Jul 2018 13:37:29 -0700 (PDT)
Date: Mon, 09 Jul 2018 20:37:30 +0000
From: ekr <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abb9060fbda9ca275228f02422e636b25b21d2c90592cf00000001175b898992a169ce140801b8@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/issues/1486/403611953@github.com>
In-Reply-To: <quicwg/base-drafts/issues/1486@github.com>
References: <quicwg/base-drafts/issues/1486@github.com>
Subject: Re: [quicwg/base-drafts] Client's initial destination CID is unauthenticated (#1486)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b43c789da2df_1a183fec70b3af7813770"; 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: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak1EqNcSyfsLzRGB0LFe3U8cY8vWyut2S9DYEa m31fFsfbHP81KzaHDprtVVXb6Om68VIfMxZSUc4tgatYX/ki2136Ht7VXZI8rpNclVwaGeMmp76tcO mWhSFiLzcYDxW0e6jKf7FkISbtCDwnuaj9BBjASPeTu7HRbMHNRZxoHhbg==
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/nFERV12czoGpo6Ib0Ex2uqRWbrE>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.27
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, 09 Jul 2018 20:37:34 -0000

On Mon, Jul 9, 2018 at 1:30 PM, MikkelFJ <notifications@github.com> wrote:

> @ekr <https://github.com/ekr> - yes I was just about to post the below as
> you wrote. I was confused by thinking that you only need 1 roundtrip to
> have a secret - the DH secret - but that is the inner layer of TLS.
>
> Still hard to follow - but as I read it, the initial keys are used for a
> few roundtrips. Full encryption with DH exhanged keys would be possible at
> servers response, but that is not what happens. The outer layer stays
> weakly encrypted, but the TLS messages are protected until a solid 1-RTT
> key is forged, which is more production safe than the early DH exchange
>
Huh? No. The server starts sending using the Handshake keys in its first
flight. This is clearly shown in the diagram I linked to.


Therefore the client is forced to verify that ODCID was received if it
> wants to complete the handshake.
>
The AEAD tag cannot be used to strengthen that verification further because
> the AEAD tag depends on the initial secret and cannot depend on itself.
>
> It would still be safer if the clients AEAD tag were to be stored in the
> servers TP as an extra precaution because on path attacker could otherwise
> spoof the initial packet contents knowing the ODCID from plain text. QUIC
> doesn't generally try to protect from on-path attacks, but that is in
> regards to service disruption, not loss of integrity. This is worse.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <https://github.com/quicwg/base-drafts/issues/1486#issuecomment-403609915>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABD1ofsvpnfnyzxDOhgWZJ-cMTAId61Rks5uE71LgaJpZM4U5BQ4>
> .
>


-- 
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/1486#issuecomment-403611953