[TLS] Additional uses for SSLKEYLOGFILE entries

"Sipos, Brian J." <Brian.Sipos@jhuapl.edu> Thu, 27 February 2025 14:11 UTC

Return-Path: <Brian.Sipos@jhuapl.edu>
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 4B27F2C9F81 for <tls@mail2.ietf.org>; Thu, 27 Feb 2025 06:11:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietfa.org (amavisd-new); dkim=pass (2048-bit key) header.d=jhuapl.edu
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 OFO7lcpBvDaP for <tls@mail2.ietf.org>; Thu, 27 Feb 2025 06:11:29 -0800 (PST)
Received: from aplegw03.jhuapl.edu (aplegw03.jhuapl.edu [128.244.208.131]) by mail2.ietf.org (Postfix) with ESMTP id 752D52C9BD2 for <tls@ietf.org>; Thu, 27 Feb 2025 06:10:56 -0800 (PST)
Received: from pps.filterd (aplegw03.jhuapl.edu [127.0.0.1]) by aplegw03.jhuapl.edu (8.18.1.2/8.18.1.2) with ESMTP id 51RDcW0W182347 for <tls@ietf.org>; Thu, 27 Feb 2025 09:10:56 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jhuapl.edu; h=content-type : date : from : message-id : mime-version : subject : to; s=JHUAPL2024; bh=ohsnXh6C/L1IrKkNANw1D1Ts4VEHqJVVj/Y/V8i3KDY=; b=OGMp8kmDyPhRHjx2XSX+7jxk5krYfj45UW1JpSnXuRn59ui/TwS1aiowuNG2K2HNs4GA jQ0q0PbHcnn/eZ9WlQcryMAsSOucqIH/3nxIgV2Ja9WoZibPnBmXyWgH6hP+2R8JOYQB KS+DawJpsFySXihVTUO/TOGY1yYsNb4Cd38av3A9+VBTCuCCl0YLO1dKZGUIiXg7Y+iP d4iWuI0JNmte0xF5wX2Ing3pGPw2nAuaj2YQv4mObLVKVy6uimY1wvBZPoVLbNfwTZB6 HaGktlRVd0BfHfIpzVBOqN5Nd1AzbVHHsdusrbx0OojBTk4oMhCWJAdfL+9vOS/hgwEe uA==
Received: from aplex27.dom1.jhuapl.edu (aplex27.dom1.jhuapl.edu [10.114.162.12]) by aplegw03.jhuapl.edu (PPS) with ESMTPS id 451qa21u99-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for <tls@ietf.org>; Thu, 27 Feb 2025 09:10:55 -0500
Received: from APLEX21.dom1.jhuapl.edu (10.114.162.6) by APLEX27.dom1.jhuapl.edu (10.114.162.12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1544.14; Thu, 27 Feb 2025 09:10:55 -0500
Received: from APLEX21.dom1.jhuapl.edu ([fe80::20d7:9545:f01e:9b2]) by APLEX21.dom1.jhuapl.edu ([fe80::20d7:9545:f01e:9b2%5]) with mapi id 15.02.1544.014; Thu, 27 Feb 2025 09:10:55 -0500
From: "Sipos, Brian J." <Brian.Sipos@jhuapl.edu>
To: "tls@ietf.org" <tls@ietf.org>
Thread-Topic: Additional uses for SSLKEYLOGFILE entries
Thread-Index: AduJHVQByiiXrJMRSxGUZqkzqP6lMw==
Date: Thu, 27 Feb 2025 14:10:55 +0000
Message-ID: <f49006e2f9d24cf8ba855b29d7bea925@jhuapl.edu>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator:
x-originating-ip: [10.114.162.18]
Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg="SHA1"; boundary="----=_NextPart_000_00BA_01DB88F7.7E26C010"
MIME-Version: 1.0
X-CrossPremisesHeadersFilteredBySendConnector: APLEX27.dom1.jhuapl.edu
X-OrganizationHeadersPreserved: APLEX27.dom1.jhuapl.edu
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1057,Hydra:6.0.680,FMLib:17.12.68.34 definitions=2025-02-27_06,2025-02-27_01,2024-11-22_01
Message-ID-Hash: MHBWQ7AB7PEBKWD7LB5QLMYMI6RK2THT
X-Message-ID-Hash: MHBWQ7AB7PEBKWD7LB5QLMYMI6RK2THT
X-MailFrom: Brian.Sipos@jhuapl.edu
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
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [TLS] Additional uses for SSLKEYLOGFILE entries
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/f4SsNFKQkzT8sy90l4CCUb69HNA>
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>

TLS WG,

I've been looking into a mechanism to inspect and diagnose behaviors of the
EDHOC protocol (RFC 9528) in a way that doesn't require human-in-the-loop
between the entities-under-test and the diagnostic tools (e.g. live
Wireshark capture). The existing TLS/DTLS dissectors make use of the
almost-standard [1] SSLKEYLOGFILE mechanism and I think this is a good path
for EDHOC use without needing to reinvent concepts and workflows.

 

Is there any fundamental objection to eventually allocating labels
specifically for EDHOC use? For non-EDHOC-aware users these would just
function as reserved names which are ignored for TLS/DTLS uses.

 

Otherwise, the EDHOC derived secrets listed in [2] are the basis from which
some could be included in a keylog file. There was some mailing list
discussion [3] about reviewer recommendations for not including secrets from
which others can be directly derived. To me this would steer the EDHOC use
to include PRK_2e, TH_2, K_3, IV_3, K_4, IV_4, and PRK_exporter but these
details can be discussed in the LAKE WG.

 

Thanks for feedback,

Brian S.

 

[1] https://datatracker.ietf.org/doc/draft-ietf-tls-keylogfile/

[2] https://www.rfc-editor.org/rfc/rfc9528.html#figure-6

[3] https://mailarchive.ietf.org/arch/msg/tls/VCCmjU6py0-nbf7fJf0kUK4SPDk/