[TLS] Re: [EXTERNAL] 2nd Working Group Last Call for The SSLKEYLOGFILE Formatfor TLS
Alicja Kario <hkario@redhat.com> Thu, 27 February 2025 11:38 UTC
Return-Path: <hkario@redhat.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 8C41F2B2F82 for <tls@mail2.ietf.org>; Thu, 27 Feb 2025 03:38:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.536
X-Spam-Level:
X-Spam-Status: No, score=-2.536 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.442, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietfa.org (amavisd-new); dkim=pass (1024-bit key) header.d=redhat.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietfa.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id e_bHoPWcx0KV for <tls@mail2.ietf.org>; Thu, 27 Feb 2025 03:37:52 -0800 (PST)
Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 034102B2F67 for <tls@ietf.org>; Thu, 27 Feb 2025 03:37:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1740656271; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=tYih6UTrTjU1lxelGfYS+ZZB/f2WOSnE9Js3+DhxM24=; b=T/9rMnN4tuGdhufqKXQxHe5ssB6m5EMtes5/8L33dUE5usANarFQGqUIcIYceuzcbZhisy AqxxrxaXwOm5+/eB0qBDxkU/dWnjLYQSiiwn55k4WbJ9AbJTAOQmzVOMdG76e7SkzemMrn MM8w7oEr/37xwEK7jhM6Sj8lnc9PEY4=
Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-433-duQ9n1lSOrSg079WzD9vuA-1; Thu, 27 Feb 2025 06:37:50 -0500
X-MC-Unique: duQ9n1lSOrSg079WzD9vuA-1
X-Mimecast-MFC-AGG-ID: duQ9n1lSOrSg079WzD9vuA_1740656270
Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-4399a5afc72so4465615e9.3 for <tls@ietf.org>; Thu, 27 Feb 2025 03:37:50 -0800 (PST)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740656269; x=1741261069; h=content-transfer-encoding:user-agent:organization:references :in-reply-to:message-id:mime-version:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3Z8fxO8nw1OydIMjfi5qkWcRz4D7NhdFPLP/HEHDpn8=; b=jwVkMLEpEgekna0hNbUeycec85IFXBBwJAnc4YgRgQJatBi0BsJUierZp77zehzx0o JGP5hW59YxBCKzg6Wf24NPHgpNcDY26np3weU3xxSNrrknD5m1yAPDpQJ+MAZMDZrAu9 DnRdpafC4RU77Z4aFDF7rm8gbEo8uvA3fRpeB9JYLY6j6PF/4IAAMH1lW2sJx47T4vOZ RgoTU1qGQ1nyeTVug7YnLbmk9k8ueOAWN5yYszzi9h85hn5gtg4gis66eC9TkWKRSXx8 rlLFpUDJISJB4zna72brgD/e8XeMCgziBrGXbCiPzLyxAQWAEFEPwxlVp+ey5aAuh0DQ hh9w==
X-Forwarded-Encrypted: i=1; AJvYcCWtcDOuFrRQ5ezoqIX0VwoSK2P91RNO5PO8zkFuvX9hYBe7QVX8lAnmDd1AVp2u3nQg1zg=@ietf.org
X-Gm-Message-State: AOJu0Yz4OfQtIfcQpJTKXy4dgxGF3H9U1iUWzTU+DycoPQ0K4+eT9OFL sokrYTFkQRwyvqovA13Z1bJFEQr+0NUOaxUNy0IGuTZxddfgn99NbN263P2LhFQjTYHfRR0VaS4 cCyqqXvCYljvEiy/PU70nUHF4CMo9EU3uC06L7fHey2KIee55
X-Gm-Gg: ASbGncsK71rUN1P9ZxLeT44Hy771i4Jq9CIwYneV+fgfiY7hEAMNlyqh8nSYjD372vv gLy7QqIz1X9quZWnwjpXc0/DBmn8K6DNbYq1J1HiE/6A+yfybVU4LJUCebFUt5eKaRSuXNR+bQ+ hcpRkKXfn6dmaY78YPZGjt10isJkDeE64pb8FOwNhVTbcVuoIfq6qtkmUkCpZKHn3YsO7fI4ZEr 4f/H67ayg4HEkLwxtmc8TEmSX8lVCW874+LGELw6sqQTgM+gxwiJbtrgnBr2issVZTBJyDVXCzN AVQB4sOw3VeF/38bVwimCljd3PBQDdKNE9Mo3Mw=
X-Received: by 2002:a05:600c:4683:b0:439:8523:36cc with SMTP id 5b1f17b1804b1-43ab07ab212mr116964125e9.11.1740656269170; Thu, 27 Feb 2025 03:37:49 -0800 (PST)
X-Google-Smtp-Source: AGHT+IFFV+XoBgS5qwHAtyNJJZd0bkSJQN8bO+7tqyY7ltGP3OjJP8/ROlX4hjhORjLym5+hsqOIkA==
X-Received: by 2002:a05:600c:4683:b0:439:8523:36cc with SMTP id 5b1f17b1804b1-43ab07ab212mr116963905e9.11.1740656268800; Thu, 27 Feb 2025 03:37:48 -0800 (PST)
Received: from localhost (ip-94-112-13-93.bb.vodafone.cz. [94.112.13.93]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-43b7a27aa85sm19550035e9.28.2025.02.27.03.37.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Feb 2025 03:37:48 -0800 (PST)
From: Alicja Kario <hkario@redhat.com>
To: Andrei Popov <Andrei.Popov=40microsoft.com@dmarc.ietf.org>
Date: Thu, 27 Feb 2025 12:37:46 +0100
MIME-Version: 1.0
Message-ID: <5bc63742-e35f-441a-a5b7-96132c18bd69@redhat.com>
In-Reply-To: <CH3PR21MB4645A06851B39B8939E8B6D08CC32@CH3PR21MB4645.namprd21.prod.outlook.com>
References: <6a27cae41645539b3fa90b5f83a8973c73cdd6a0.camel@aisec.fraunhofer.de> <CA+_8xu1nDDHuqRbh2OvRVkvxPyLcJS==rumo3sxPC56NsWLCMw@mail.gmail.com> <93eb1e78c7348459fc92ff874c7e691baf4a0bf0.camel@aisec.fraunhofer.de> <ee908b7b-da13-4840-b70a-84dd66d4bc1f@redhat.com> <2e57a347-cbfc-487c-8b3e-7ee240913ed2@tu-dresden.de> <8fb60e2e-5103-4511-9c97-6b59bae1c5dc@redhat.com> <CAN8NK9HvfsoePrW9ft_krVtiAV7aYrf4suD52=pQUmG543W-0Q@mail.gmail.com> <e2b73144-8ccb-4ff8-a32c-2c7aefefc7d1@betaapp.fastmail.com> <CAN8NK9GhzyfjE3-pEJfTqDMDvo98v9EcW3ZZKea_YZVid-RJow@mail.gmail.com> <PA6PR08MB10707CCFD2349B58DFD4A6277D3C32@PA6PR08MB10707.eurprd08.prod.outlook.com> <CH3PR21MB4645A06851B39B8939E8B6D08CC32@CH3PR21MB4645.namprd21.prod.outlook.com>
Organization: Red Hat
User-Agent: Trojita/0.7-git; Qt/5.15.15; wayland; Linux; Fedora release 40 (Forty)
X-Mimecast-Spam-Score: 0
X-Mimecast-MFC-PROC-ID: P0S69c-4eJ5y1TzRQtsKRHu5x8tgOPs52anD9WKWfm8_1740656270
X-Mimecast-Originator: redhat.com
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: AT32M2YLBBOSE4JEESSZE2SNKI4NTSPF
X-Message-ID-Hash: AT32M2YLBBOSE4JEESSZE2SNKI4NTSPF
X-MailFrom: hkario@redhat.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: Yaakov Stein <ystein=40allot.com@dmarc.ietf.org>, tls@ietf.org, Achim Kraus <achimkraus=40gmx.net@dmarc.ietf.org>, "Bellebaum, Thomas" <thomas.bellebaum@aisec.fraunhofer.de>, Aaron Zauner <azet=40azet.org@dmarc.ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [TLS] Re: [EXTERNAL] 2nd Working Group Last Call for The SSLKEYLOGFILE Formatfor 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/79g3odDadAvsmt4_mzMKGuuCtVI>
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 Tuesday, 25 February 2025 18:47:33 CET, Andrei Popov wrote: > * But I don't know of anywhere else with broad enough remit > * to mandate a behavior for all applications using TLS. > This is a common perception, and it is exactly why publishing > SSLKEYLOGFILE documents in the context of the IETF is a bad > idea. This creates additional pressure on other implementers to > support the backdoor. Using charged language doesn't make it more true. And this specification doesn't _mandata_ any kind of behaviour. It only specifies that _if_ you support exporting key material, that's _a_ way to do it. > * So, while it is fine for some company's program to output > arbitrary debug files for their own development, > * this wouldn't enable others to understand these files. > There is nothing inherently wrong with the IETF standardizing > debugging interfaces and tracing/logging formats. My argument is > that protocol debugging is feasible without complete > compromise/exposure of the plaintext. Sure! Any implementation can be ran under a debugger, with breakpoints set that will automatically write the key data to file. Should we mandate that cryptographic implementations should detect running under a debugger and abort, because doing anything less "facilitates key compromise"? No, that would be absurd. > * For me this sounds more like, > * "we know it's done, but we don't want to be aware of it" > We know it's done, we know it's not secure, we know this > practice will continue with or without IETF standardization. It > does not follow that we should standardize existing insecure > practices. > If the TLS WG is willing to work on TLS tracing/debugging > interfaces, the scope of the work should go beyond standardizing > an existing insecure practice. It's not secure only in cases a system is already compromised. All software cryptographic implementations have their keys in memory in plaintext, it's only a question of how easy it is to get to them to a text file. > Cheers, > > Andrei > > From: Yaakov Stein <ystein=40allot.com@dmarc.ietf.org> > Sent: Tuesday, February 25, 2025 4:53 AM > To: tls@ietf.org > Cc: Bellebaum, Thomas <thomas.bellebaum@aisec.fraunhofer.de>; > Aaron Zauner <azet=40azet.org@dmarc.ietf.org> > Subject: [TLS] Re: [EXTERNAL] Re: 2nd Working Group Last Call > for The SSLKEYLOGFILE Formatfor TLS > > You don't often get email from > ystein=40allot.com@dmarc.ietf.org<mailto:ystein=40allot.com@dmarc.ietf.org>. > Learn why this is > important<https://aka.ms/LearnAboutSenderIdentification> > All, > > I fully support standardizing the SSLKEYLOGFILE Format. > > While it is a debugging tool, that doesn't mean it doesn't have > to be standardized. > > Where I work we maintain a large set of protocol analysis tools > used to verify correct operation of various programs, and > document variant behaviors. > This often requires visibility into the internal operation of > various browsers and apps. > So, while it is fine for some company's program to output > arbitrary debug files for their own development, > this wouldn't enable others to understand these files. > > The documentation really doesn't have to be produced by the IETF, > as long as everyone abides by it. > But I don't know of anywhere else with broad enough remit > to mandate a behavior for all applications using TLS. > > Y(J)S > > From: Aaron Zauner > <azet=40azet.org@dmarc.ietf.org<mailto:azet=40azet.org@dmarc.ietf.org>> > Sent: Tuesday, February 25, 2025 12:27 AM > To: Martin Thomson <mt@lowentropy.net<mailto:mt@lowentropy.net>> > Cc: Bellebaum, Thomas > <thomas.bellebaum@aisec.fraunhofer.de<mailto:thomas.bellebaum@aisec.fraunhofer.de>>; > tls@ietf.org<mailto:tls@ietf.org> > Subject: [EXTERNAL] [TLS] Re: 2nd Working Group Last Call for > The SSLKEYLOGFILE Formatfor TLS > > Hey, > > On Mon 24. Feb 2025 at 22:54, Martin Thomson > <mt@lowentropy.net<mailto:mt@lowentropy.net>> wrote: > On Tue, Feb 25, 2025, at 06:56, Aaron Zauner wrote: >> To be clear; I agree with that in principle but have the feeling that >> the discussion around an applicable threat model misses the issue of >> what should be in IETF and what should be in development docs, >> debugging tools etc entirely. I'm not currently working on maintaining >> a crypto lib as many of you are but you can't honestly tell me it's not >> possible to work on your end without IETF guidance on debug specifics >> that allow encrypted traffic detail export -- which you already have in >> place for debug and dev anyway. > > This also misses the point. The existence of this format (it > will exist whether the IETF publishes a document or not) has > enabled interoperation between a number of tools. The point of > moving this work to the IETF was to transfer governance from > what was ad hoc to something recognized and respected by the > community of people who build the interoperating tools. > > Some people view interoperable standards as somehow changing > the demand and availability of the thing they document. Maybe > that's true in some markets, but my experience is that the > demand is what causes the creation of standards, not the other > way around. Also, if there were not already interoperation and > you were concerned that interoperation would cause problems, > this might be problematic, but this is a case where that > interoperation already exists > > I understand your point and just like config formats I see why > you'd want to have a published document. But just like with > configs it's part of the local tool chain and not a wire format. > Open source projects have been able to work with them and use > them without involving IETF. I'm just not sure this is the right > place for the document. You've done the work and documentation > anyway already, and you're interoperable. What do you really > gain by having this in IETF? It's also a fringe topic; With that > I mean in this case that it's debug specific to a few projects > related to TLS and while this is the TLS WG it's still a tooling > issue in my estimate. I'm really not sure what the big upside is > of having it published here. A lot of chrome, openssl and other > tool chain specifics are likewise only documented in the > relevant project documents and it works fine for everyone > involved; Is there any precedent that showed we need this in > IETF - ie. where interop and debugging didn't work out because > you couldn't already agree on a format and document it? Because > it seems to me the community has already achieved all of this > due to your and other people's contribution without adding it as > an IETF doc. > > Thanks, > Aaron > > > > This message is intended only for the designated recipient(s). > It may contain confidential or proprietary information. If you > are not the designated recipient, you may not review, copy or > distribute this message. If you have mistakenly received this > message, please notify the sender by a reply e-mail and delete > this message. Thank you. > > -- Regards, Alicja Kario Principal Quality Engineer, RHEL Crypto team Web: www.cz.redhat.com Red Hat Czech s.r.o., Purkyňova 115, 612 00, Brno, Czech Republic
- [TLS] 2nd Working Group Last Call for The SSLKEYL… Sean Turner
- [TLS] Re: 2nd Working Group Last Call for The SSL… Salz, Rich
- [TLS] Re: 2nd Working Group Last Call for The SSL… David Benjamin
- [TLS] Re: 2nd Working Group Last Call for The SSL… Salz, Rich
- [TLS] Re: 2nd Working Group Last Call for The SSL… David Benjamin
- [TLS] Re: 2nd Working Group Last Call for The SSL… David Benjamin
- [TLS] Re: 2nd Working Group Last Call for The SSL… Salz, Rich
- [TLS] Re: 2nd Working Group Last Call for The SSL… Sean Turner
- [TLS] Re: 2nd Working Group Last Call for The SSL… Salz, Rich
- [TLS] Re: 2nd Working Group Last Call for The SSL… David Benjamin
- [TLS] Re: 2nd Working Group Last Call for The SSL… Stephen Farrell
- [TLS] Re: 2nd Working Group Last Call for The SSL… Bellebaum, Thomas
- [TLS] Re: 2nd Working Group Last Call for The SSL… Ben Smyth
- [TLS] Re: 2nd Working Group Last Call for The SSL… Bellebaum, Thomas
- [TLS] Re: 2nd Working Group Last Call for The SSL… Stephen Farrell
- [TLS] Re: 2nd Working Group Last Call for The SSL… Salz, Rich
- [TLS] Re: 2nd Working Group Last Call for The SSL… Bellebaum, Thomas
- [TLS] Re: 2nd Working Group Last Call for The SSL… Ben Smyth
- [TLS] Re: 2nd Working Group Last Call for The SSL… Bellebaum, Thomas
- [TLS] Re: 2nd Working Group Last Call for The SSL… Andrei Popov
- [TLS] Re: 2nd Working Group Last Call for The SSL… _ _
- [TLS] Re: 2nd Working Group Last Call for The SSL… Martin Thomson
- [TLS] Re: 2nd Working Group Last Call for The SSL… Stephen Farrell
- [TLS] Re: 2nd Working Group Last Call for The SSL… David Adrian
- [TLS] Re: 2nd Working Group Last Call for The SSL… Alicja Kario
- [TLS] Re: 2nd Working Group Last Call for The SSL… Muhammad Usama Sardar
- [TLS] Re: 2nd Working Group Last Call for The SSL… Aaron Zauner (azet)
- [TLS] Re: 2nd Working Group Last Call for The SSL… Arnaud Taddei
- [TLS] Re: 2nd Working Group Last Call for The SSL… Achim Kraus
- [TLS] Re: 2nd Working Group Last Call for The SSL… S Moonesamy
- [TLS] Re: 2nd Working Group Last Call for The SSL… Alicja Kario
- [TLS] Re: 2nd Working Group Last Call for The SSL… Alicja Kario
- [TLS] Re: 2nd Working Group Last Call for The SSL… Aaron Zauner
- [TLS] Re: 2nd Working Group Last Call for The SSL… Arnaud Taddei
- [TLS] Re: 2nd Working Group Last Call for The SSL… Stephen Farrell
- [TLS] Re: 2nd Working Group Last Call for The SSL… Arnaud Taddei
- [TLS] Re: 2nd Working Group Last Call for The SSL… Ben Smyth
- [TLS] Re: 2nd Working Group Last Call for The SSL… Sean Turner
- [TLS] Re: 2nd Working Group Last Call for The SSL… Christian Huitema
- [TLS] Re: 2nd Working Group Last Call for The SSL… Bellebaum, Thomas
- [TLS] Re: 2nd Working Group Last Call for The SSL… Aaron Zauner
- [TLS] Re: 2nd Working Group Last Call for The SSL… Martin Thomson
- [TLS] Re: 2nd Working Group Last Call for The SSL… Aaron Zauner
- [TLS] Re: 2nd Working Group Last Call for The SSL… Arnaud Taddei
- [TLS] Re: [EXTERNAL] Re: 2nd Working Group Last C… Yaakov Stein
- [TLS] Re: [EXTERNAL] Re: 2nd Working Group Last C… Andrei Popov
- [TLS] Re: [EXTERNAL] 2nd Working Group Last Call … Alicja Kario
- [TLS] Re: 2nd Working Group Last Call for The SSL… Salz, Rich
- [TLS] Re: 2nd Working Group Last Call for The SSL… Ilari Liusvaara