Re: Key Update implementation priority
Marten Seemann <martenseemann@gmail.com> Sat, 22 July 2023 22:41 UTC
Return-Path: <martenseemann@gmail.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2AE61C151AE0 for <quic@ietfa.amsl.com>; Sat, 22 Jul 2023 15:41:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.097
X-Spam-Level:
X-Spam-Status: No, score=-1.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZJfBtuinWs1Z for <quic@ietfa.amsl.com>; Sat, 22 Jul 2023 15:41:11 -0700 (PDT)
Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4B854C15153F for <quic@ietf.org>; Sat, 22 Jul 2023 15:41:11 -0700 (PDT)
Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-9924ac01f98so524368266b.1 for <quic@ietf.org>; Sat, 22 Jul 2023 15:41:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690065669; x=1690670469; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=7Wzpe3U94Y5Pj/rVu09PAcV/KWLL2k7TNjMz3rdcEjQ=; b=Ss9x7HJJ7cV1TEp/oUm1HIwYkjHTct/nyJ6j1wkaWrobWSsC3MK5jWdevciiQ8WCn4 rdGtPDqf9Gnk58wmMFR5gqEXfvSjRSmWV0jZYup8VAogk4FPLH0Tzg82yMDKogXGrgrL nUn/W9s4++8QHYfvnmJLD2qDup1YDDzusQma3i92QsgoHnZfzXR7MeujcCJ7bTz/eYHg fhwC2GgM5VsxcvUfLPvXuFula79FApEA0wvbHz8r0rkZefPQf1GHprZYTF4dWnJGeA/j 0pJP7SxZfbuqhMhGpkxb30dhyO8HSl07eAxII4BksG4qqVOsiEis0o8Tz8jqBmKnvvre q1BQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690065669; x=1690670469; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7Wzpe3U94Y5Pj/rVu09PAcV/KWLL2k7TNjMz3rdcEjQ=; b=ZYxujHNo5PSd52J9h0XOBBWwpMLv2/SQEeABqamgPQEZjeVNi2JJahdp/C5UFwVcZ2 pKnvpJMOTM4247Ld2OgqviF3bT5yRmjYHFviPB9qtqdL+FqeQ9uituUJrmr33zBdwgAv i4ggpbXuz4W8GM6iDDHrrPb/gq2NCKZrshistjEZSkikjIenO2GNeYar0eEvwjXz7vc+ ibsvnEw13l2hYZhLsL8HFMlcrHUmKwvTPjIeev/xKjt8v+M82zTUw4ndTTD1G0Phc8rz eFb+UVhIviKIxREuTgxkQ7kTkinenXBh//VV+3Pvy6mbDPqtKM98UOcbgFUzxXPefYvv ipQA==
X-Gm-Message-State: ABy/qLb8z1RI5VgaA+uBHJR5/fJrB2jZtWo0MSnHwqBsUI0aOJBtf0KN odh3Oe9UGHOlTh+cAAouAc79F1hA5zmvcr7z7mR+WEj0
X-Google-Smtp-Source: APBJJlEcfwisHmvTfjFxVS5Uo7d9Dr3C7mBOMJq61yXgeqxeL1wdTMDbf9hdNnXQDZpXX7A5n749hJUBusG/CA65wMI=
X-Received: by 2002:a17:906:8e:b0:99b:5689:1331 with SMTP id 14-20020a170906008e00b0099b56891331mr5561634ejc.59.1690065669435; Sat, 22 Jul 2023 15:41:09 -0700 (PDT)
MIME-Version: 1.0
References: <CA+SyaVvJ11EcHjEzoUSgc-sJAkRNkvOceZPy=Eng8Zn4Q1GYhA@mail.gmail.com> <DM6PR00MB0768BB713A16763066C0EDD3B33CA@DM6PR00MB0768.namprd00.prod.outlook.com>
In-Reply-To: <DM6PR00MB0768BB713A16763066C0EDD3B33CA@DM6PR00MB0768.namprd00.prod.outlook.com>
From: Marten Seemann <martenseemann@gmail.com>
Date: Sat, 22 Jul 2023 15:40:58 -0700
Message-ID: <CAOYVs2ogExVg3Vprzp8N6QafSDb-PqXL9gyjUOPP7p0zunXJPg@mail.gmail.com>
Subject: Re: Key Update implementation priority
To: Nick Banks <nibanks=40microsoft.com@dmarc.ietf.org>
Cc: Kaushal Bhandankar <kaushalgoa@gmail.com>, "quic@ietf.org" <quic@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000dfb61606011b137a"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/glen5JXVLU9BhmIB73E2UOUOp6M>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 22 Jul 2023 22:41:13 -0000
Key updates as defined by RFC 9000 are not an optional feature. Any implementation that doesn't implement key updates is not compliant with the RFC and has to expect that transfers will randomly break. Even worse, ignoring a key update won't immediately kill the connection, but will eventually result in a connection timeout. quic-go is very aggressive and initiates the first key update after the first 100 short header packets. Subsequent key updates are triggered every 100k packets. On Sat, 22 Jul 2023 at 07:05, Nick Banks <nibanks= 40microsoft.com@dmarc.ietf.org> wrote: > Hello, > > For MsQuic, we have a hook to force a key update that can be used by test > code. Additionally, we have a knob to set a smaller threshold for the > number of bytes transferred to trigger the update scenario. Feel free to > look at our test code here > <https://github.com/microsoft/msquic/blob/main/src/test/lib/HandshakeTest.cpp#L2196> > . > > Thanks, > Nick > > Sent from Outlook <http://aka.ms/weboutlook> > ------------------------------ > *From:* QUIC <quic-bounces@ietf.org> on behalf of Kaushal Bhandankar < > kaushalgoa@gmail.com> > *Sent:* Saturday, July 22, 2023 3:04 AM > *To:* quic@ietf.org <quic@ietf.org> > *Subject:* Key Update implementation priority > > You don't often get email from kaushalgoa@gmail.com. Learn why this is > important <https://aka.ms/LearnAboutSenderIdentification> > > I would like to know how popular QUIC implementations force key-update to > evaluate the need to implement it. > > Chromium > Firefox Browser (neqo) > mvfst > quiche > > Regards, > Kaushal >
- Key Update implementation priority Kaushal Bhandankar
- Re: Key Update implementation priority Nick Banks
- Re: Key Update implementation priority Marten Seemann