[TLS] Re: [External⚠️] Re: Confirming Consensus to Progress The SSLKEYLOGFILE Format for TLS
Yaroslav Rosomakho <yrosomakho@zscaler.com> Sat, 12 April 2025 07:34 UTC
Return-Path: <yrosomakho@zscaler.com>
X-Original-To: tls@mail2.ietf.org
Delivered-To: tls@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 84DE11B0BD6A for <tls@mail2.ietf.org>; Sat, 12 Apr 2025 00:34:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=zscaler.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id AuJUaRE2YHFW for <tls@mail2.ietf.org>; Sat, 12 Apr 2025 00:34:10 -0700 (PDT)
Received: from mail-lf1-x12a.google.com (mail-lf1-x12a.google.com [IPv6:2a00:1450:4864:20::12a]) (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 mail2.ietf.org (Postfix) with ESMTPS id EA60B1B0BD63 for <tls@ietf.org>; Sat, 12 Apr 2025 00:34:10 -0700 (PDT)
Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-5499659e669so3285484e87.3 for <tls@ietf.org>; Sat, 12 Apr 2025 00:34:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zscaler.com; s=google; t=1744443249; x=1745048049; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=idoCUpAXSsboGpQ6ltxTjqsT7Aam5QElNi2HHnBDJpo=; b=Sx3eB3D5DDMSkCv3cZsXeXLDIYTmgvC8X/+PlyCts6NLUuje87eSJzTsSgKWUXWRyd G4oQ+/Vh3QPUaSHC0fgYbBKFzAwKPfIh1TTUN/TJWbTarY4locKPGr/DRC1jsfYHqbdq EpDut7AYGk+GOk29Ngef88tZGnSKPEl6amdMo=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1744443249; x=1745048049; 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=idoCUpAXSsboGpQ6ltxTjqsT7Aam5QElNi2HHnBDJpo=; b=sP23yP9dUXcFVfZFQjLirrYA9ghV5Cv3oYlQCM8NYQq5DASMYg61J4sOEmm6pT7MBD 1BvQOKe3oeFeY1WUS2DdDJeiH080U5MehPrzi7fyjcyU/oa4GXq9o+lBBLE3PM582gaa 9DMnDXq5K02CPJCbYTIUVvujAz2zY0mojqRPLCBC/dNVsTmDxMPNXR68WpU9trfmZCsS lOIPDhsdvq9GLSzTQz/eEeGC2qi/Q18ZmCElBXzc+BeU6JBGOE01zZhXevUl6XMwtC9k 0rXLgloTbmVno8WIqypazdQLsuWt6qkArra/dlpg8UQFG4G78v2W/x/Ntw0IQ8RY+QAw hFlw==
X-Forwarded-Encrypted: i=1; AJvYcCWF6IoL80TXqKS9LHg4EkZWdg2E7MhDQzYCgv+cUB4qXhAO+hrJhZhxO+zLQQn1ou/1IWo=@ietf.org
X-Gm-Message-State: AOJu0YzJDrSPuSZYBgMQ+wsGZEYAJvVj3pDRxW3NRUlgyNiXSXYw2wVD NqGIDmpCs2ZUCGdiJPlEnQeNDYGnDyeQYquQPSb7FISdyvTNqNsKCvaBCJqL5mEvEAc0dImeWSR RZMdX2BS/an4GPhJ45jbHm6ydirGjLtZvXeDT1mHf8qqCrg8bYtNtbxpqpZxMGXoT+alo/AaKlH wvP2NWePdobmAOVWtEQUwQVN4=
X-Gm-Gg: ASbGncuRtd+qwhsZEo4GOke36nCq3keLCPdO/K4AbkaTxs5+oOVjiJmyBtRYajDj4Gv uA0oRgU+Ax61q05SVO9o781T1398ztMYjgevCL1lF2FILETu1OmtdX4osY3/wgYBOnfgATFhHq6 k2LwZqpgkzEAIKj7+bnp3s6vE0nAdUJ+3fTZMS/Wa3vNP/BFamAgbN8eqe
X-Google-Smtp-Source: AGHT+IGOCK7DbvmnAeMlKUkceGrTScockrSWzMJWcg0ruKWFc7uq0dLOyrvkzfrv6w+Gk2YLFe0+SQLdS1m20oDJOsg=
X-Received: by 2002:a05:6512:33d2:b0:545:f4b:ed58 with SMTP id 2adb3069b0e04-54d45291d5emr1851989e87.18.1744443249361; Sat, 12 Apr 2025 00:34:09 -0700 (PDT)
MIME-Version: 1.0
References: <9AE29049-8047-47BD-95FE-32C99D8D5019@sn3rd.com> <0F27CE37-AEEA-4BD9-A130-A21CC0B074C7@sn3rd.com> <b035d897-5419-4d80-9281-87a478d4f4e5@cs.tcd.ie>
In-Reply-To: <b035d897-5419-4d80-9281-87a478d4f4e5@cs.tcd.ie>
From: Yaroslav Rosomakho <yrosomakho@zscaler.com>
Date: Sat, 12 Apr 2025 08:33:58 +0100
X-Gm-Features: ATxdqUHHPreJglFAY8L538WqKL06cYrCr8xGEdSQw5HT2DTASTL5PBbUv5Ojn_w
Message-ID: <CAMtubr3YFFYZ0fO8agNkgt0N4FC18qVeTamTeS7EBSzX8cxH2Q@mail.gmail.com>
To: Stephen Farrell <stephen.farrell@cs.tcd.ie>
Content-Type: multipart/alternative; boundary="00000000000035a51106328fd875"
Message-ID-Hash: YZCPLSO4QLYGNGWQ5FMKJ6K6L5IYXUVA
X-Message-ID-Hash: YZCPLSO4QLYGNGWQ5FMKJ6K6L5IYXUVA
X-MailFrom: yrosomakho@zscaler.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 List <tls@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [TLS] Re: [External⚠️] Re: Confirming Consensus to Progress The SSLKEYLOGFILE Format for TLS
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/Z2mcbnziXvIVUVds-_Nbs9Jxzmk>
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>
Hello Stephen, Can you please point out specifically where you see differences in labels? As far as I can tell, the text of the labels is defined in ssl/ssl_local.h (lines 2955-2964 in version 3.5) and (where relevant) it does match the contents of the draft. I took the liberty to skim through a few popular open source libraries that I used in the past to check if labels align. So far, I have not discovered any differences. Here are relevant references if you would like to take a look as well: - boringssl git tag 5386d90: ssl/tls13_enc.cc lines 357, 368, 372, 384, 388, 391 and ssl/ssl_handshake.cc line 436 - nss 3.110: lib/ssl/tls13con.c lines 124-130 and line 12205 of ssl/ssl3con.c (nss also contains tests for keylog) - rustls 0.23.26: src/tls13/key_schedule.rs lines 54-59 (rustls also contains tests for keylog) - s2n-tls 1.5.16: tls/s2n_key_log.c: lines 64-69 (s2n-tls also contains tests for keylog) - gnutls 3.8.9: lib/ext/pre_shared_key.c: lines 248, 264, lib/kx.c line 262, lib/handshake-tls13.c line 300, lib/constate.c lines 415, 422, 454 and 459 I believe this is enough evidence that labels from this draft do in fact match code of popular TLS libraries. Best Regards, Yaroslav On Sat, Apr 12, 2025 at 1:33 AM Stephen Farrell <stephen.farrell@cs.tcd.ie> wrote: > > Hiya, > > On 11/04/2025 17:29, Sean Turner wrote: > > Here’s a link to the latest version: > > https://datatracker.ietf.org/doc/draft-ietf-tls-keylogfile/ > > I had a look at the diff, and at the latest openssl code, just > released this week as openssl 3.5, and it looks to me like the > labels in the draft's IANA registry do not in fact match that > code very well at all. > > That seems like another basis (not previously raised) on which > to say this is not ready to be published - seems like this is > not only undesirable, but inaccurate. > > Cheers, > S. > > > _______________________________________________ > TLS mailing list -- tls@ietf.org > To unsubscribe send an email to tls-leave@ietf.org > -- This communication (including any attachments) is intended for the sole use of the intended recipient and may contain confidential, non-public, and/or privileged material. Use, distribution, or reproduction of this communication by unintended recipients is not authorized. If you received this communication in error, please immediately notify the sender and then delete all copies of this communication from your system.
- [TLS] Confirming Consensus to Progress The SSLKEY… Sean Turner
- [TLS] Re: Confirming Consensus to Progress The SS… Stephen Farrell
- [TLS] Re: Confirming Consensus to Progress The SS… Sean Turner
- [TLS] Re: Confirming Consensus to Progress The SS… Stephen Farrell
- [TLS] Re: Confirming Consensus to Progress The SS… Achim Kraus
- [TLS] Re: [External⚠️] Re: Confirming Consensus t… Yaroslav Rosomakho
- [TLS] Re: Confirming Consensus to Progress The SS… Bellebaum, Thomas
- [TLS] Re: Confirming Consensus to Progress The SS… Salz, Rich
- [TLS] Re: Confirming Consensus to Progress The SS… Sean Turner
- [TLS] Re: Confirming Consensus to Progress The SS… Paul Wouters
- [TLS] Re: Confirming Consensus to Progress The SS… Paul Wouters