[TLS]Re: [⚠] Re: [EXTERNAL] Adoption call for SSLKEYLOG Extension file for ECH

Amir Omidi <amir@aaomidi.com> Sat, 03 August 2024 00:45 UTC

Return-Path: <amir@aaomidi.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 CAF87C1D4CEB for <tls@ietfa.amsl.com>; Fri, 2 Aug 2024 17:45:07 -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, HTML_MESSAGE=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=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=aaomidi.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 2tZ65LkhXNSu for <tls@ietfa.amsl.com>; Fri, 2 Aug 2024 17:45:03 -0700 (PDT)
Received: from mail-ed1-x531.google.com (mail-ed1-x531.google.com [IPv6:2a00:1450:4864:20::531]) (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 8B671C1840CA for <tls@ietf.org>; Fri, 2 Aug 2024 17:45:03 -0700 (PDT)
Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5af6a1afa7bso9943260a12.1 for <tls@ietf.org>; Fri, 02 Aug 2024 17:45:03 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aaomidi.com; s=google; t=1722645902; x=1723250702; 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=HHTdQuLyhk5bnU1GQ99EF4B1mz8cZgB4ZXpmaWuJZsU=; b=SJ1Gh2ORs08+9Pd2azoUuCij6CxrKL+KyVeUOa+/F5Y5j15zRpLwn0kWkPyiGID4Bq WWQpzmz2KW8H/Rxo280e/SCH4hYfhPBW+OjyBSk6V3F75weryl8jhbpWt70CqAA3+M90 OxYyQd1/OsFbQL+Dmm/83wvtsuv0tNNomDLDx0x4rvVhzylJgCFY0qUwEUlMFDVrf/Nn EDE8+uECO7Y0ZwDrBwZkTmeLcGTw/8053jzWZ3R3sPJ4e2YKErEk5I1upJHAgyacrWbb 5Iyv0B9Z4Phh9CSH33Ef0wY8G7EcJM/KJki2vLG9LqptDdMaiMvmg/NXHFV4zc66ixBQ 7uzw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722645902; x=1723250702; 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=HHTdQuLyhk5bnU1GQ99EF4B1mz8cZgB4ZXpmaWuJZsU=; b=qqC/Hen2TnNS3Ugg5ophuUzK30og9KRkaaLwsybl3YkD5bqIocZNGFH661qGlIqZWz +48a3aX6yA6IdbNH5N+wGeyUvOB6rS5n6/Zi+fhABxyQ7WKlQDyL7To07uC9PHOOpgth NATHAmb1N0xwLIQUrQL4ee85KF3KKZUN+0Nns6my4ATRgcnt9Mf8AghychtJcAbT6Bmb bpi8TPZc2o3jWnTfEb93+egYhAQ9kjxnF1PMLkO//dwwUB3LF9KgF/zhCzC9KcD347zK niVOCMnoRlhDJyA7iWOr4kKMOWch88c8DR6NkwAo5qA1Wdwm9o9Nyizuc5DZsJcDlFsJ inew==
X-Forwarded-Encrypted: i=1; AJvYcCWRJmGQ9zPPBPgNm7X8Lmxm1krvjwmzYq4TjpW7QuFQ/Hl9tnHh8Bhyv7ZCrZzdxgYvCz4qfEPhivj2n9Y=
X-Gm-Message-State: AOJu0YwN8+kW+6NzwxZxN2STfZ3E1XnQDUZeynDKvCVDhHJfDknGE+8/ YNZBs1J3ZoMvokDhPs28GA2rLR5IxijLjCzEN6cWEKA6MpLcPgn5//iyDkWXwog2nnL3dZ0wTHo NRim1FiyMgOfj4Oe20HRauLwRaST99uVfjds5/S7eyZUA41JM1YOSu4gS
X-Google-Smtp-Source: AGHT+IFe9YEEpNcVN4iC4Uaa7qAwubemgbWMJLMbPCs3PXtRewKUlgaj85uKOlSX7lkrYrmudTFdRdH8saxPmuRbaQ8=
X-Received: by 2002:a17:907:7f9e:b0:a72:9d25:8ad3 with SMTP id a640c23a62f3a-a7dc4dc188bmr339674266b.9.1722645901676; Fri, 02 Aug 2024 17:45:01 -0700 (PDT)
MIME-Version: 1.0
References: <7CC88431-A71A-455B-A7A7-BA4AD3C8502C@sn3rd.com> <MN0PR21MB3147C2C3EE7B9115F339ADDE8CAB2@MN0PR21MB3147.namprd21.prod.outlook.com> <CAMtubr19E_faBnx47OhXsGZSJ1iiJjkOjRjdfOqiv9OB2ng+UA@mail.gmail.com> <MN0PR21MB3147D2FE3787D3FE5375FB188CAB2@MN0PR21MB3147.namprd21.prod.outlook.com> <803947e8-782e-4142-a802-14a9e38dcce8@huitema.net>
In-Reply-To: <803947e8-782e-4142-a802-14a9e38dcce8@huitema.net>
From: Amir Omidi <amir@aaomidi.com>
Date: Fri, 02 Aug 2024 20:44:50 -0400
Message-ID: <CAOG=JUKwMhHLO3F3i1Qy9vYEz6y3Vcy+J+6MwrSpN-zb8BLM-g@mail.gmail.com>
To: Christian Huitema <huitema@huitema.net>
Content-Type: multipart/alternative; boundary="0000000000000b3404061ebcc1e4"
Message-ID-Hash: GIJVPLQPLT7CAFK7LV3RIY6NZWPEOXWV
X-Message-ID-Hash: GIJVPLQPLT7CAFK7LV3RIY6NZWPEOXWV
X-MailFrom: amir@aaomidi.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: Andrei Popov <Andrei.Popov=40microsoft.com@dmarc.ietf.org>, Yaroslav Rosomakho <yrosomakho=40zscaler.com@dmarc.ietf.org>, TLS List <tls@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [TLS]Re: [⚠] Re: [EXTERNAL] Adoption call for SSLKEYLOG Extension file for ECH
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/hRrIgyk7CEOB-ayUiLGS-oWLY68>
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>

Countries like Iran would probably love if this went through.

This seems like a very dangerous feature that’ll make data collection
significantly easier for rogue states.


On Fri, Aug 2, 2024 at 20:10 Christian Huitema <huitema@huitema.net> wrote:

> I agree with Andrei. SSLKEYLOG is an extremely dangerous feature.
> I think the draft should only be adopted if it clearly state that the
> feature MUST NOT be deployed in production software.
>
> Using an environment variable may be a fine way to specify on which file
> copies of keys have to be written, but it is a terrible way to specify
> whether these keys should be. Environment variables can be installed by
> scripts, etc., and I can think of many ways of doing that without user
> awareness.
>
> I think that this functionality should be only compiled into builds that
> are specifically designated as "debug only", and that it should be
> turned on explicitly by some kind of user interaction. But really, I
> support Andrei's statement that there are many less intrusive ways to do
> debugging, such as using QLOG files in the case of QUIC. Enabling key
> export is a kind of nuclear option, and it should be hard to use, by
> design.
>
> -- Christian Huitema
>
>
> On 7/25/2024 11:01 AM, Andrei Popov wrote:
> >   * The ultimate goal is to simplify adoption of ECH for both developers
> >     of TLS software and implementers
> >
> > Understood; I do not question the goals of the authors.
> >
> >   * Without a standard approach to troubleshooting every developer has
> >     to build an individual set of bespoke troubleshooting tools.
> >
> > The troubleshooting approach used in this I-D is more invasive than it
> > needs to be. Troubleshooting can be accomplished in a number of ways,
> > including logs/traces that do not disclose all TLS-protected data.
> >
> >   * We tried to keep wording in line with the keylogfile draft - for
> >     instance in the applicability statement it is worded that "this
> >     mechanism MUST NOT be used in a production system".
> >
> > That’s nice, but in practice this does not prevent abuse of the feature.
> > I would rather SSLKEYLOGFILE was documented by the SW vendors who choose
> > to implement it, in a repository outside of the IETF. I understand I’m
> > in the rough on this.
> >
> > Cheers,
> >
> > Andrei
> >
> > *From:*Yaroslav Rosomakho <yrosomakho=40zscaler.com@dmarc.ietf.org>
> > *Sent:* Thursday, July 25, 2024 10:12 AM
> > *To:* Andrei Popov <Andrei.Popov@microsoft.com>
> > *Cc:* TLS List <tls@ietf.org>
> > *Subject:* Re: [⚠️] [TLS]Re: [EXTERNAL] Adoption call for SSLKEYLOG
> > Extension file for ECH
> >
> >
> >
> > You don't often get email from yrosomakho=40zscaler.com@dmarc.ietf.org
> > <mailto:yrosomakho=40zscaler.com@dmarc.ietf.org>. Learn why this is
> > important <https://aka.ms/LearnAboutSenderIdentification>
> >
> >
> >
> > Thank you for the feedback, Andrei.
> >
> > Yes, it is intended to stay on the informational track as an extension
> > to draft-ietf-tls-keylogfile-02. We tried to keep wording in line with
> > the keylogfile draft - for instance in the applicability statement it is
> > worded that "this mechanism MUST NOT be used in a production system".
> > Happy to add stronger wording if that helps.
> >
> > The ultimate goal is to simplify adoption of ECH for both developers of
> > TLS software and implementers. Without a standard approach to
> > troubleshooting every developer has to build an individual set of
> > bespoke troubleshooting tools. Ability to inspect ECH negotiation in off
> > the shelf tools such as Wireshark during development or tests would
> > significantly help adoption.
> >
> > Best Regards,
> >
> > Yaroslav
> >
> > On Thu, Jul 25, 2024 at 9:31 AM Andrei Popov
> > <Andrei.Popov=40microsoft.com@dmarc.ietf.org
> > <mailto:40microsoft.com@dmarc.ietf.org>> wrote:
> >
> >     I do not support adoption, because I believe the IETF should not
> >     standardize tools and techniques for decrypting TLS-protected data.
> >     It is harder for a TLS implementer to reject requests for
> >     IETF-blessed functionality.
> >
> >     (As long as this remains on the Informational track, I believe it's
> >     somewhat less harmful.)
> >
> >     Cheers,
> >
> >     Andrei
> >
> >     -----Original Message-----
> >     From: Sean Turner <sean@sn3rd.com <mailto:sean@sn3rd.com>>
> >     Sent: Thursday, July 25, 2024 9:16 AM
> >     To: TLS List <tls@ietf.org <mailto:tls@ietf.org>>
> >     Subject: [EXTERNAL] [TLS]Adoption call for SSLKEYLOG Extension file
> >     for ECH
> >
> >     At the IETF 120 TLS session there was interest in adopting the
> >     SSLKEYLOG Extension file for ECH I-D
> >     (
> https://datatracker.ietf.org/doc/draft-rosomakho-tls-ech-keylogfile/ <
> https://datatracker.ietf.org/doc/draft-rosomakho-tls-ech-keylogfile/>)
> This message starts a two-weekl call for adoption. If you support adoption
> and are willing to review and contribute text, please send a message to the
> list. If you do not support adoption of this I-D, please send a message to
> the list and indicate why. This call will close on 8 August 2024.
> >
> >     Thanks,
> >     Sean
> >     _______________________________________________
> >     TLS mailing list -- tls@ietf.org <mailto:tls@ietf.org>
> >     To unsubscribe send an email to tls-leave@ietf.org
> >     <mailto:tls-leave@ietf.org>
> >
> >     _______________________________________________
> >     TLS mailing list -- tls@ietf.org <mailto:tls@ietf.org>
> >     To unsubscribe send an email to tls-leave@ietf.org
> >     <mailto:tls-leave@ietf.org>
> >
> >
> > _______________________________________________
> > TLS mailing list -- tls@ietf.org
> > To unsubscribe send an email to tls-leave@ietf.org
>
> _______________________________________________
> TLS mailing list -- tls@ietf.org
> To unsubscribe send an email to tls-leave@ietf.org
>