[seal] Re: WG Review: Secure Evidence and Attestation Layer (seal)

Eric Rescorla <ekr@rtfm.com> Mon, 22 September 2025 13:23 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: seal@mail2.ietf.org
Delivered-To: seal@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 67E0266BF3A6 for <seal@mail2.ietf.org>; Mon, 22 Sep 2025 06:23:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-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 (2048-bit key) header.d=rtfm-com.20230601.gappssmtp.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 bmMZT5t8RTJp for <seal@mail2.ietf.org>; Mon, 22 Sep 2025 06:23:27 -0700 (PDT)
Received: from mail-yw1-x1135.google.com (mail-yw1-x1135.google.com [IPv6:2607:f8b0:4864:20::1135]) (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 E087266BF395 for <seal@ietf.org>; Mon, 22 Sep 2025 06:23:27 -0700 (PDT)
Received: by mail-yw1-x1135.google.com with SMTP id 00721157ae682-71d605c6501so30345797b3.3 for <seal@ietf.org>; Mon, 22 Sep 2025 06:23:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rtfm-com.20230601.gappssmtp.com; s=20230601; t=1758547407; x=1759152207; 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=dlzzSramVX1TPtW0uPesz0xUTIwQQSeoaQsbYSF+B5Y=; b=HOZU5QrBjwd7BrVLM3pbtySbdTs6vXWM+byNSSksSb2epIj223ukGllCv8hpqJif0s siwNIKfqCsQXcd5UU1qokjAV+Cd6s5LSKRNSOVrBEY8+CCwf4QHLiFaaVZ+7U1psw58H so6b+4sMzA9jtZZUNqH5PCcyfIac1WefJib8kkYcdr0Nx2l2u3hVwEAyA53usNm5riyN AjBnhuuy1SHyQOSbk7qchXDDlDVVuins2rn6ydZ3N9pc6SPJsafwDvuc8ZeVkF8MmFuH 59ys6XuBH6mCMJA+cfN0/D1I9jXBkaHMW73vLcjQnz6f+MoQx+RAmY7yF3a/M1/ZPl9D rSww==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1758547407; x=1759152207; 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=dlzzSramVX1TPtW0uPesz0xUTIwQQSeoaQsbYSF+B5Y=; b=lW4DL0lHemh7qSqkrJSDnF+/wpoVkL5lTrJXKzC/fo278YkW0x6d88xo3vWjA25au9 ObIKzrBXvEHOSdXPdZ8Siu+taY4ISUODTpqXcvqLPQITL+EA4S6km2wHMGbQFNR2VUnO Al15NlnHWozUNWX1FcqodKG/NXtfckfl+zXXRxpAi5jWn9KtjF9PY40K9TRv/Ajhqwp3 Ce0cOrNdF4T2HrnAh5alzNfpAsYu//wqyhLkpnZ4Rjmzfh6/9oV+Sz0GfL1jgccaqBf0 uuMv+XQk0/P7W0A5fbE7+SAuXmOla3ptXfmsNRRvSYalI1/wDnl6WvAMg4gl2loqTVQb zTIw==
X-Forwarded-Encrypted: i=1; AJvYcCXcUiJjGm0AstnYESx8veXOslteE4K69IXuqJesXcInQXmFzUukj0K4WLgq0YiVGPgb7tb+@ietf.org
X-Gm-Message-State: AOJu0YxRL19srhLtO1FuMYS5ljy5IcjT25XxT11lOnHoSIJgXUmKi8Zd mKAVfurTBToiAhbuBD7YcPs4nFigNNatOqAHmK4b/TRYcAuNTykeAo8kRgQTdzPXDwj1aPYRcJk iBtqHTPKAXRNf/rYsyPFQ+0Ha7RPovhGAquSjNfdrtA==
X-Gm-Gg: ASbGncvWVCQJuaM8Z9wTvF6aWk+MWPDDQUdyKALOdB7v3ZR1JsxDMQWATzXtL0eemAE LDvHJzD+iK1VSUfMByLqDxNiUbfC+jAh2UM6FIAultsJ8QvTtwBxKgbr/SJapITtBv4PjFt27Yy HUsd9zNOLANEbLtfUDimPh5i23czO28C07n7SjFvS7yUbIcWRT0ML5wNtYrTvp+GMSsGW6W2L07 Bl0+SCKGMe9y9vdyOzU7pXnNX4hWltICbGvJzHkuwa8LviMTibV1JAx2836BGZyg69btEbWfjSA SXrieNy9cQ3OHb1i2AoSxmUNy2wRAzsP
X-Google-Smtp-Source: AGHT+IHsVhU4cYmtmPUKtO27audfzNz7+eBvhRx/xUfMfRTTa3EI/z4PvnYK/fY/ISkF+jzjtDLJd4ofqcG3GjO3htY=
X-Received: by 2002:a05:690c:9302:b0:724:ca5e:3a6e with SMTP id 00721157ae682-73d3c017143mr98297977b3.30.1758547407193; Mon, 22 Sep 2025 06:23:27 -0700 (PDT)
MIME-Version: 1.0
References: <175813662146.1983472.4248748010141093402@dt-datatracker-f7c8fdcb7-pjx77> <CABcZeBNFYDUz1c4=pLev=aYgGy0UFm87Z+zhp=oK9__JAiVnRg@mail.gmail.com> <e136e933-8498-42e6-8f93-3c3a6d89c21e@tu-dresden.de> <CABcZeBOaBx_nvXPwc87-yOmQeZEEAvv4m86EHr+6g7+d9Du8PQ@mail.gmail.com> <d4c163cc-bbba-43dc-b0b3-7a4eeb491520@tu-dresden.de> <CABcZeBPKpe4BC9vayEqOrR0KemOhBm4tYaxLPsfTtgEnU7TORA@mail.gmail.com> <28b517fe-3b31-418d-bd03-0f21811f9b4d@tu-dresden.de> <CABcZeBMNnyk_En8S9q5hBk5=crRs68_J=2yYdGhySGOib+mC4Q@mail.gmail.com> <f285b382-5e12-44bf-a860-5bb413bde12b@tu-dresden.de>
In-Reply-To: <f285b382-5e12-44bf-a860-5bb413bde12b@tu-dresden.de>
From: Eric Rescorla <ekr@rtfm.com>
Date: Mon, 22 Sep 2025 06:22:51 -0700
X-Gm-Features: AS18NWCwXZtLeYzgC2wLsdM8zItMltlH3mkvaz_U8SAp4DLkgOwWPykiYVNGY1E
Message-ID: <CABcZeBNa=tn9sggpJgwJcNTX=y7DJAuwkGunoHNHCFd00+FE4g@mail.gmail.com>
To: Muhammad Usama Sardar <muhammad_usama.sardar@tu-dresden.de>
Content-Type: multipart/alternative; boundary="00000000000086db88063f63b9fe"
Message-ID-Hash: J2M2SMLNTS2TYTMNKG4FTLE2SKYWHIY4
X-Message-ID-Hash: J2M2SMLNTS2TYTMNKG4FTLE2SKYWHIY4
X-MailFrom: ekr@rtfm.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: iesg@ietf.org, IETF-Announce <ietf-announce@ietf.org>, seal@ietf.org, last-call@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [seal] Re: WG Review: Secure Evidence and Attestation Layer (seal)
List-Id: Secure Evidence and Attestation Layer WG <seal.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/seal/b-OwZiUkyzanHvL9kl3NCtmRDjg>
List-Archive: <https://mailarchive.ietf.org/arch/browse/seal>
List-Help: <mailto:seal-request@ietf.org?subject=help>
List-Owner: <mailto:seal-owner@ietf.org>
List-Post: <mailto:seal@ietf.org>
List-Subscribe: <mailto:seal-join@ietf.org>
List-Unsubscribe: <mailto:seal-leave@ietf.org>

On Mon, Sep 22, 2025 at 4:13 AM Muhammad Usama Sardar <
muhammad_usama.sardar@tu-dresden.de> wrote:

> On 20.09.25 22:23, Eric Rescorla wrote:
>
> In any case, the relevant security feature from the peer's perspective is
> binding to the application traffic keys, because the relevant property is
> knowing you are sending to the attested endpoint.
>
> We discussed this today and we could not understand your reasoning for why
> exactly you think binding Evidence to *handshake* traffic keys is
> *insufficient* and why binding Evidence to *application* traffic keys is
> *necessary*. Surely having more stuff up to ServerFinished is good but
> the question is: is it really better?
>

I'm not sure why you think that this needs to be resolved at charter time.
Surely, this is a question for the WG.


> Handshake traffic keys contain contribution up to ServerHello, which
> implies that Client's DH key g^x and Server's DH key g^y are both covered.
> Binding to application traffic keys would additionally cover also the
> server's identity (assuming Certificate message contains a CA-signed cert)
> but a protocol design could put (hash of) identity (or cert) directly in
> the Evidence (via the 64-byte user-defined field). Proof-of-possession of
> the key, handshake integrity and key confirmation for shared secrets can be
> checked as usual. In that sense, it seems unclear whether binding Evidence
> to application (instead of handshake) traffic keys is a necessary property
> or just a defense-in-depth.
>
I'm not sure what sense you're using "binding" in.

As I said, the relevant technical property from the peer's perspective is
that it is sending to and receiving from the attested endpoint. That
traffic is protected by the application traffic keys, not by the handshake
traffic keys. In fact, it would be fine from this perspective if the
handshake weren't encrypted at all. Now, it may (or may not) be technically
fine to have attestation only to the portion of the transcript that is used
to generate the handshake traffic keys, but I don't think it's useful to
think of this as binding it to the handshake traffic keys.

-Ekr