[TLS] Re: 2nd Working Group Last Call for The SSLKEYLOGFILE Format for TLS

Ben Smyth <research@bensmyth.com> Fri, 28 February 2025 20:02 UTC

Return-Path: <research@bensmyth.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 632FB40C737 for <tls@mail2.ietf.org>; Fri, 28 Feb 2025 12:02:30 -0800 (PST)
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, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (1024-bit key) header.d=bensmyth.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 z7o2TQe3md_A for <tls@mail2.ietf.org>; Fri, 28 Feb 2025 12:02:29 -0800 (PST)
Received: from 3.smtp.34sp.com (3.smtp.34sp.com [46.183.9.3]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 0A9C240C718 for <tls@ietf.org>; Fri, 28 Feb 2025 12:02:29 -0800 (PST)
Received: from smtpauth4.mailarray.34sp.com (lvs5.34sp.com [46.183.13.73]) by 3.smtp.34sp.com (Postfix) with ESMTPS id 6E53D2A711D for <tls@ietf.org>; Fri, 28 Feb 2025 20:02:17 +0000 (GMT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bensmyth.com; s=dkim; t=1740772937; bh=E0Gtjv2bE0rAgIzpjCq7A1cZ8Loh7AQT9mBoUiDvM+o=; h=References:In-Reply-To:Reply-To:From:Date:Subject:To:Cc; b=MIAfpx73ZqpyilxG4hZCLCnTiFgiizmEDlS6ZiB8u5/0cmxVbDlRH3fQaVRYrNQaC JsJcCdtHS+okG2m9Nwe7KiG5oAVtXa2t9OdCs3xpjKtqVXfCuUebCJXrpQx5qprfe2 fjkvcO6a8o8GWo4wnX+cd6p3ga/j4aG4fB9n2sRM=
Received: from mail-pj1-f47.google.com ([209.85.216.47]:45187) by smtpauth4.mailarray.34sp.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from <research@bensmyth.com>) id 1to6Yr-0002fI-AK for tls@ietf.org; Fri, 28 Feb 2025 20:02:17 +0000
Received: by mail-pj1-f47.google.com with SMTP id 98e67ed59e1d1-2feb96064e4so2958434a91.1 for <tls@ietf.org>; Fri, 28 Feb 2025 12:02:17 -0800 (PST)
X-Gm-Message-State: AOJu0YzIOL5JkfLkFXx6OrVpyKUz3Smn91EJ16P+T8m6RJGrgUE6bh5m 9W+5ISA+dNC10CIIKhYRTWsoF85O59VVfk8e3N6dHwyhD1osrVaWM661P4KY+a1iHYDzMDsZzYV oHqiXMlSjkst4BiA7GFIj2bnuz/k=
X-Google-Smtp-Source: AGHT+IGlpm+BfhtyEzK2EFJnJ72iz+PdcnP52jPyNM22xS5fk7VHdXMr7vvAdM+C8Aq3axS3Pk1VxpVvyqyCda+jiDw=
X-Received: by 2002:a17:90b:28cb:b0:2f9:cf97:56a6 with SMTP id 98e67ed59e1d1-2febab5ba6amr8351595a91.14.1740772935550; Fri, 28 Feb 2025 12:02:15 -0800 (PST)
MIME-Version: 1.0
References: <6a27cae41645539b3fa90b5f83a8973c73cdd6a0.camel@aisec.fraunhofer.de> <CA+_8xu1nDDHuqRbh2OvRVkvxPyLcJS==rumo3sxPC56NsWLCMw@mail.gmail.com>
In-Reply-To: <CA+_8xu1nDDHuqRbh2OvRVkvxPyLcJS==rumo3sxPC56NsWLCMw@mail.gmail.com>
From: Ben Smyth <research@bensmyth.com>
Date: Fri, 28 Feb 2025 21:02:05 +0100
X-Gmail-Original-Message-ID: <CA+_8xu2bixthYae0-yf0jm_HrFUOBqT_JkmxK=OdODHWbbMRUQ@mail.gmail.com>
X-Gm-Features: AQ5f1Jqa4Wb4zQedNexPZprsIuHKa_kUc2L7LUyGSV_mTFiClZDbyzVx__UfnZs
Message-ID: <CA+_8xu2bixthYae0-yf0jm_HrFUOBqT_JkmxK=OdODHWbbMRUQ@mail.gmail.com>
To: "Bellebaum, Thomas" <thomas.bellebaum@aisec.fraunhofer.de>
Content-Type: multipart/alternative; boundary="0000000000007557b0062f3948f1"
X-Authenticated-As: f594447444afb5e8e542d6cd3ee989c5ad593da02deb40a8d61181d2a2c508bd
X-OriginalSMTPIP: 209.85.216.47
X-34spcom-MailScanner-Information: Please contact the ISP for more information
X-34spcom-MailScanner-ID: 6E53D2A711D.A7170
X-34spcom-MailScanner: Found to be clean
X-34spcom-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.098, required 6.5, autolearn=disabled, DKIM_SIGNED 0.10, DKIM_VALID -0.10, DKIM_VALID_AU -0.10, HTML_MESSAGE 0.00, RCVD_IN_VALIDITY_RPBL_BLOCKED 0.00, RCVD_IN_VALIDITY_SAFE_BLOCKED 0.00, SPF_PASS -0.00, X34SP_ALLOW_GMAIL_EVEN_IF_BLACKLISTED -1.00, X34SP_OVERRIDE -1.00)
X-34spcom-MailScanner-From: research@bensmyth.com
Message-ID-Hash: YNTUA2CTFHIYLZFDB2ISLWEGXZXV7TVY
X-Message-ID-Hash: YNTUA2CTFHIYLZFDB2ISLWEGXZXV7TVY
X-MailFrom: research@bensmyth.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.9rc6
Precedence: list
Reply-To: research@bensmyth.com
Subject: [TLS] Re: 2nd Working Group Last Call for 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/ophwho-vLPyOc5CBrkpUDMotMQQ>
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>

Fascinating thread.

I propose *NoSecurity* mode. Debug mode, with an insecurity label.

Perhaps defining SSLKEYLOGFILE only in debug mode is tolerable.

On Thu, 20 Feb 2025, 11:28 Ben Smyth, <research@bensmyth.com> wrote:

> On Thu, 20 Feb 2025 at 10:13, Bellebaum, Thomas <
> thomas.bellebaum@aisec.fraunhofer.de> wrote:
>
>> > A TLS application interacting with an end-user (e.g. a browser) MUST
>> clearly communicate any requests to log TLS secrets to the user and MUST
>> NOT indicate a secure connection.
>>
>
> The connection is secure. TLS doesn't defend against compromised devices.
>