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

ekr <notifications@github.com> Mon, 09 July 2018 20:28 UTC

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 785FC131057 for <quic-issues@ietfa.amsl.com>; Mon, 9 Jul 2018 13:28:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.01
X-Spam-Level:
X-Spam-Status: No, score=-8.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_HI=-5, 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 5gZqkfYxYlTn for <quic-issues@ietfa.amsl.com>; Mon, 9 Jul 2018 13:27:57 -0700 (PDT)
Received: from out-7.smtp.github.com (out-7.smtp.github.com [192.30.252.198]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 62856130DE1 for <quic-issues@ietf.org>; Mon, 9 Jul 2018 13:27:57 -0700 (PDT)
Date: Mon, 09 Jul 2018 13:27:56 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1531168076; bh=QGN9wa/pgHNO17P+Eyv1DOM/Bfu4uI9F6P+zJGdihs8=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=bao7IDBtj5xAlxZJgOrzxUKtojvlzFXM8O0Y6ChMWrKW6EPsOkgjbU7JDoNj3RfAq SfYzua+pfdwyXRcJOIkR3U7VO1MkZ0oIaWrmWFqI6PPivCmyPH2KaEyQgPwVnEuxGv PUN4zrC/Wp3pv472sWjY8Rn5a6Z5sjYkPCP6wHiA=
From: ekr <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abb098b79fa18a6aac3cbd3bf65b1bc7e8eaf2035592cf00000001175b874c92a169ce140801b8@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/403609306@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_5b43c54c6e003_5433fb5efd92f80300712"; 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
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/pqL9DDnICDPDmKKtk-CkuRh7Zu4>
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:28:01 -0000

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

> If the server sent something back encrypted with the initial server secret
> and verified by the client, then that would also work. But the QUIC TLS doc
> is hard to read. It is not very clear what kind of key is used in the
> servers initial response - is that already 1-RTT,
>
It clearly can't be the 1-RTT key because it contains the DH share that le
used to generate the 1-RTT key. But after that in the same flight there is
data that is in epoch 2.

This should be fairly clear in:
https://tools.ietf.org/html/draft-ietf-quic-transport-13#section-6.5

or is there a first flight with initial keys. If it is the initial key,
> then the client can only verify the tag if the ODCID matches. If it is
> hashed into the 1-RTT context, it doesn't matter.
>
> this makes little sense to me: what key is used after GetHandshake server
> side?
> https://quicwg.org/base-drafts/draft-ietf-quic-tls.html#rfc.section.4.1.3
>

Initial keys.


—
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/quicwg/base-drafts/issues/1486#issuecomment-403605280>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/ABD1od32gfZqnuhqKo3Wqv-iqJPm14SAks5uE7lcgaJpZM4U5BQ4>
> .
>


-- 
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-403609306