Re: [quicwg/base-drafts] Mask packet numbers with a per-connection-ID key (#1043)

MikkelFJ <notifications@github.com> Tue, 09 January 2018 08:51 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 A1DCC124D85 for <quic-issues@ietfa.amsl.com>; Tue, 9 Jan 2018 00:51:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.028
X-Spam-Level:
X-Spam-Status: No, score=-2.028 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, 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 0XaAuft4rdvT for <quic-issues@ietfa.amsl.com>; Tue, 9 Jan 2018 00:51:22 -0800 (PST)
Received: from o10.sgmail.github.com (o10.sgmail.github.com [167.89.101.201]) (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 705BB120454 for <quic-issues@ietf.org>; Tue, 9 Jan 2018 00:51:22 -0800 (PST)
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=/X9FgpSZSqzAy+OcMEzxb2ggH0I=; b=akC59l9pqL1kDxUp ylgRHJIV5NPXsffZBCP2aeB43JLwBsGH5E2m1GVB5e/OW09N/7p3pYVOyg6IxzSO VPiq2GHYDmbTqUYzb8r6pTY9tCm4k9aRJLk/w5fDRdhSXxB89v0gz+wlRqQSn8yB KdM0sjv4h+CxrrSWRQEVxq7d6dc=
Received: by filter0325p1iad2.sendgrid.net with SMTP id filter0325p1iad2-17203-5A548288-16 2018-01-09 08:51:20.989837683 +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 ismtpd0007p1iad2.sendgrid.net (SG) with ESMTP id FbtYvWH3QOil1_wiewXLTg for <quic-issues@ietf.org>; Tue, 09 Jan 2018 08:51:20.951 +0000 (UTC)
Date: Tue, 09 Jan 2018 08:51:21 +0000
From: MikkelFJ <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abffbf51746e1a64ce8ee0cc587152fe17a80b57e792cf00000001166c448892a169ce111afff8@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1043/review/87445553@github.com>
In-Reply-To: <quicwg/base-drafts/pull/1043@github.com>
References: <quicwg/base-drafts/pull/1043@github.com>
Subject: Re: [quicwg/base-drafts] Mask packet numbers with a per-connection-ID key (#1043)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5a548288d33e9_4bbe3f97220ccf30293819"; 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
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak0a7pRRB+f2CAGCZ7Pyn3xIS/m64JASzQ57kw ewCX8xOeZ+rOR2rO0WQUk/uZFuRiYYp6vjoZFIAGca7PRah8bWbW+7SI/qmyUVgg5ifWSn6edjIrwT iG9aPFRudpTBWAqUiBBmMTK5psGqnJ5t2pUGx0vjj0dY3178Pg/BTj2+E3XVlmt+yq7W+RyNC/fdaJ k=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/uys4NzFHw60SmTE3KQPjGHoYyBk>
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: Tue, 09 Jan 2018 08:51:25 -0000

mikkelfj commented on this pull request.



> -indistinguishable from random. The packet number gap for a connection
-ID with sequence number is computed by encoding the sequence number
-as a 32-bit integer in big-endian format, and then computing:
-
-~~~
-Gap = HKDF-Expand-Label(packet_number_secret,
-                        "QUIC packet sequence gap", sequence, 4)
-~~~
-
-The output of HKDF-Expand-Label is interpreted as a big-endian
-number. "packet_number_secret" is derived from the TLS key exchange,
-as described in Section 5.6 of {{QUIC-TLS}}.
+connection ID provided by the server.  Using a new connection ID will produce a
+new packet protection key and IV.  New values for obscuring header fields (see
+{{header-obscuring}}) ensure that packet numbers can't be used to link activity
+on paths that use different connection IDs.
 

I think it was in relation to two separate connections during handshake in long form, so it might not actually apply here.

-- 
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/1043#discussion_r160346571