Re: [quicwg/base-drafts] Expand AEAD limits to consider multi-user security. (#3789)
Christopher Wood <notifications@github.com> Mon, 29 June 2020 15:52 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 6F04D3A0365 for <quic-issues@ietfa.amsl.com>; Mon, 29 Jun 2020 08:52:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.697
X-Spam-Level:
X-Spam-Status: No, score=-6.697 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, DKIM_VALID_EF=-0.1, HTML_IMAGE_ONLY_28=1.404, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, 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 snh1oWho981X for <quic-issues@ietfa.amsl.com>; Mon, 29 Jun 2020 08:52:04 -0700 (PDT)
Received: from out-20.smtp.github.com (out-20.smtp.github.com [192.30.252.203]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 07BD73A00E0 for <quic-issues@ietf.org>; Mon, 29 Jun 2020 08:52:04 -0700 (PDT)
Received: from github-lowworker-6349a71.ac4-iad.github.net (github-lowworker-6349a71.ac4-iad.github.net [10.52.18.20]) by smtp.github.com (Postfix) with ESMTP id 555F98C113B for <quic-issues@ietf.org>; Mon, 29 Jun 2020 08:52:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1593445923; bh=rAb+KfQ1l3wVkDpsiPclHXe/nwCrneAnFiYnooh0pUE=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=RplflaOrtcOabOrQ7x+2xay5o9bKvzDP2ikRMuWP9SpknzWocdcE87znxI+arKHCo DBrl30xZDwre75p/dIrFFB1Om31EYjPPavqz5aaSTbsBctdPI0inx+Z7/lkE/nmrcV MR//HpwtIsdjCNZa2q+3fAMijSx2HJiQlZun7poE=
Date: Mon, 29 Jun 2020 08:52:03 -0700
From: Christopher Wood <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+AFTOJKZBBLOAUERAOUMHMAV5AXXSHEVBNHHCM4U4BA@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/3789/review/439280984@github.com>
In-Reply-To: <quicwg/base-drafts/pull/3789@github.com>
References: <quicwg/base-drafts/pull/3789@github.com>
Subject: Re: [quicwg/base-drafts] Expand AEAD limits to consider multi-user security. (#3789)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5efa0e2346541_45e03fb04b4cd96c148625e"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: chris-wood
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/iAjtiFbeY63HOa5bOWuZGax-OMY>
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: Mon, 29 Jun 2020 15:52:06 -0000
@chris-wood commented on this pull request. > - This means that packets that fail authentication will often use the packet - protection keys from the next key phase. It is therefore necessary to also - track the number of packets that fail authentication with the next set of - packet protection keys. To avoid exhaustion of both sets of keys, it might be - necessary to initiate two key updates in succession. - -For AEAD_AES_128_GCM, AEAD_AES_256_GCM, and AEAD_CHACHA20_POLY1305, the limit on -the number of packets that fail authentication is 2^36. Note that the analysis -in {{AEBounds}} supports a higher limit for the AEAD_AES_128_GCM and -AEAD_AES_256_GCM, but this specification recommends a lower limit. For -AEAD_AES_128_CCM, the limit on the number of packets that fail authentication -is 2^23.5; see {{ccm-bounds}}. +Endpoints MUST count the number of encrypted packets for each set of keys. If +the number of encrypted packets with the same key exceeds a limit that is +specific to the AEAD in use, the endpoint MUST stop using those keys. If a key +update is not possible, the endpoint MUST immediately close the connection. I took a crack at this, though I don't love the language. Clarifying suggestions would be most welcome! -- 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/3789#discussion_r447075004
- [quicwg/base-drafts] Expand AEAD limits to consid… Christopher Wood
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Christopher Wood
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Jana Iyengar
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Jana Iyengar
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Jana Iyengar
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Christopher Wood
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Christopher Wood
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Christopher Wood
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Christopher Wood
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Christopher Wood
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Christopher Wood
- Re: [quicwg/base-drafts] Expand AEAD limits to co… martinduke
- Re: [quicwg/base-drafts] Expand AEAD limits to co… martinduke
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Christopher Wood
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Christopher Wood
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Christian Huitema
- Re: [quicwg/base-drafts] Expand AEAD limits to co… David Schinazi
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Jana Iyengar
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Christopher Wood
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Christopher Wood
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Christopher Wood
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Christopher Wood
- Re: [quicwg/base-drafts] Expand AEAD limits to co… ekr
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Jana Iyengar
- Re: [quicwg/base-drafts] Expand AEAD limits to co… David Schinazi
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson
- Re: [quicwg/base-drafts] Expand AEAD limits to co… Martin Thomson