[TLS] Re: draft-ietf-tls-key-share-prediction next steps
Loganaden Velvindron <loganaden@gmail.com> Wed, 11 September 2024 06:14 UTC
Return-Path: <loganaden@gmail.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6BE92C15199C for <tls@ietfa.amsl.com>; Tue, 10 Sep 2024 23:14:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham 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 twmsuY4dZ5zQ for <tls@ietfa.amsl.com>; Tue, 10 Sep 2024 23:14:08 -0700 (PDT)
Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 936EDC151995 for <tls@ietf.org>; Tue, 10 Sep 2024 23:14:08 -0700 (PDT)
Received: by mail-ot1-x332.google.com with SMTP id 46e09a7af769-710e489860bso1398013a34.1 for <tls@ietf.org>; Tue, 10 Sep 2024 23:14:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1726035248; x=1726640048; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=3TsWSs4tQsUAUFTLZPR+pO8DTwgV0lgw74zgMH6R478=; b=DmnGQSC/1PupTngTfs6txJTHRVmHKs7vACEAFx8ZGwmhiJIL1gyZwzqCiXa2AqOWMR YtdNyeiB8Ee9WlZ96ux0pY1tY34d22EhJfHlsO/Btgkz6ADPj31pGzYTik3iX3QLDDA9 FcxIRZV/pzd/9Qe3dXNA0GyIYdTZASzleCcx8V1PN/SRStXfieHIWGAYhPZw61cotEDG aguOYHSqO545/AkHaV9E+iufIscXugLJ+JwWicWKtIRC47lz79wBrJKJEb1WbQYTr+nn v1E//ZsxQSqWoU0el5FoDHXjnp2JD64biTrLIRHOWU1SLGFaW92aEfjYanv7WqA0EYGN ISZQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1726035248; x=1726640048; h=content-transfer-encoding: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=3TsWSs4tQsUAUFTLZPR+pO8DTwgV0lgw74zgMH6R478=; b=hl1EN8zRDVy1/LtMDOEASiIunE0EnpgUZKe6SAzF97GJc6uGaOrpiloV4CYcQ8JgWk ieq7nuKj5bltdnb5movhywwxwSZyjSqFfBg7M/ol5s87C12RqDHMOrrtXQujKj+bFO7X E47fWBtC15EGtdwcfWzqZ/AWRSK+kjAKbgcmZQAhYcv3LEN4xVeuzXalKJExqbx9UL+N tTfQm6bPH7c3ugo2hud8H680+dxZhx+c1PRQPFySLNDyHTRkGcMm/TB7bdiRXpi67b6f bOH59HZ5uBHZmTeuk50KKTqmh76Ql3nUuPmzti69WPZgCd2BzzOacPaFcEAuc7JJfP4j KhOg==
X-Gm-Message-State: AOJu0YwXF7dv5X4808eDT9toqfK/7plcGYwW5Z4KwZ2+s6PMgBJbJZov IcsJiBNo1/JyYRltyP+27/PkXXGVv9M7+HFAXvMMLD0kZYHb/l5Qn9tBG8/BXMKDZtN8TFHJKEc VvA1q+qutUAL+LgXkhUSJa9nBk6EIkw==
X-Google-Smtp-Source: AGHT+IGFAdZmtdtKtz/753cADXWGLyvXXOW8fT5kOqZUL4t4UecvUlM5nKqseK/CkIwd0qiE7AHQOOUogXLUbkkJ82E=
X-Received: by 2002:a05:6830:6c17:b0:710:f5cb:a931 with SMTP id 46e09a7af769-710f5cbaa84mr4260499a34.0.1726035247655; Tue, 10 Sep 2024 23:14:07 -0700 (PDT)
MIME-Version: 1.0
References: <CAF8qwaAU+cRapAc3xnySXiq2nOTXAFvLQYdWNC6rXdFj8iA39w@mail.gmail.com>
In-Reply-To: <CAF8qwaAU+cRapAc3xnySXiq2nOTXAFvLQYdWNC6rXdFj8iA39w@mail.gmail.com>
From: Loganaden Velvindron <loganaden@gmail.com>
Date: Wed, 11 Sep 2024 10:13:55 +0400
Message-ID: <CAOp4FwTySAHKtwKv4ade9qm19GCvag-PAJxmDndxG5CYsDPvkw@mail.gmail.com>
To: David Benjamin <davidben@chromium.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: 2EG52QWM2WAARZYYMLGECBTD3Z7U5EC7
X-Message-ID-Hash: 2EG52QWM2WAARZYYMLGECBTD3Z7U5EC7
X-MailFrom: loganaden@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tls.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "<tls@ietf.org>" <tls@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [TLS] Re: draft-ietf-tls-key-share-prediction next steps
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/OnBI9R_4_UCjsyXQ-kd8x9Rwa6g>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Owner: <mailto:tls-owner@ietf.org>
List-Post: <mailto:tls@ietf.org>
List-Subscribe: <mailto:tls-join@ietf.org>
List-Unsubscribe: <mailto:tls-leave@ietf.org>
On Wed, 11 Sept 2024 at 01:40, David Benjamin <davidben@chromium.org> wrote: > > Hi all, > > Now that we're working through the Kyber to ML-KEM transition, TLS 1.3's awkwardness around key share prediction is becoming starkly visible. (It is difficult for clients to efficiently offer both Kyber and ML-KEM, but a hard transition loses PQ coverage for some clients. Kyber was a draft standard, just deployed by early adopters, so while not ideal, I think the hard transition is not the end of the world. ML-KEM is expected to be durable, so a coverage-interrupting transition to FancyNewKEM would be a problem.) > Can you detail a little bit more in terms of numbers ? -Did you discover that handshakes are failing because of the larger ClientHello ? -Some web clients aren't auto-updating ? > We adopted draft-ietf-tls-key-share-prediction in June to address this. There hasn't been a whole lot to do on it since. I've cut a new draft, draft-ietf-tls-key-share-prediction-01, with some very minor changes that were queued up in GitHub. I'd like to sort out next steps and move forward. > > Beyond that, there are a couple of minor issues in the issue tracker. I don't believe either of these need to block getting a codepoint. > https://github.com/tlswg/tls-key-share-prediction/issues/4 - unless folks think otherwise, I plan to just leave this alone and close this > https://github.com/tlswg/tls-key-share-prediction/issues/7 - unless folks think otherwise, I plan to just leave this alone and not require the receiver to check > > Finally, there's the question of downgrade protection: > https://github.com/tlswg/tls-key-share-prediction/issues/11 > > For some background if folks have forgotten, the original key share prediction draft included a ton of complexity to accommodate existing server behavior that would preferentially pick groups out of key_share even if an otherwise more preferred group was in supported_groups. Depending on what the server was trying to do there, this could be perfectly fine (if the server believes the groups are comparable in security) or a downgrade risk (if the server actually believed they were in different security classes---PQ vs classical---but implemented a key_share-first selection algorithm anyway). Pre-adoption, my original draft took the position that it was ambiguous and we cannot safely assume the server knew what it was doing. It designed a scheme to clarify the semantics going forward and use codepoints to ratchet in whether the server implemented the new semantics. > https://www.ietf.org/archive/id/draft-davidben-tls-key-share-prediction-00.html > > After WG discussion, I think we broadly concluded the semantics were actually already present in RFC 8446, and it was not worth the trouble to second-guess the servers here. That led to the much simpler draft, which simply discusses why this is OK in security considerations: > https://www.ietf.org/archive/id/draft-ietf-tls-key-share-prediction-01.html#name-security-considerations > > As I wrote that text, I unsurprisingly agree with and am fine with this outcome. :-) But there was some chatter about it in the adoption thread (see GitHub link), so I filed the issue so we continued to discuss it. I think perhaps now is the time to discuss it, if we're going to. Do folks want to discuss it? Are there alternate proposals, or should we just stay the course? Unless we have an alternate proposal, I propose we just stay the course and go with [what I understand the conclusion to be from] the previous WG discussion. > > If there are no further significant changes that folks want to make, I would like to propose we get a codepoint for this and unblock implementation. The earlier this is ready, the more likely that we will be prepared by the time the next KEM transition happens. > We should move forward with the draft. > Thoughts? > > David > _______________________________________________ > TLS mailing list -- tls@ietf.org > To unsubscribe send an email to tls-leave@ietf.org
- [TLS] draft-ietf-tls-key-share-prediction next st… David Benjamin
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… John Mattsson
- [TLS] Re: [EXTERNAL] draft-ietf-tls-key-share-pre… Andrei Popov
- [TLS] Re: [EXTERNAL] draft-ietf-tls-key-share-pre… Bas Westerbaan
- [TLS] Re: [EXTERNAL] draft-ietf-tls-key-share-pre… Bob Beck
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… Loganaden Velvindron
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… Ilari Liusvaara
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… David Benjamin
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… David Benjamin
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… Kampanakis, Panos
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… David Adrian
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… Kampanakis, Panos
- [TLS] Re: draft-ietf-tls-key-share-prediction nex… Eric Rescorla