[Rats] Re: Hint Discussion in CSR Attestation Draft

Michael Richardson <mcr+ietf@sandelman.ca> Wed, 19 June 2024 20:58 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: rats@ietfa.amsl.com
Delivered-To: rats@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 14F5BC14CE40; Wed, 19 Jun 2024 13:58:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.106
X-Spam-Level:
X-Spam-Status: No, score=-7.106 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, RCVD_IN_DNSWL_HI=-5, 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=sandelman.ca
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 x4BD0Uh50TrF; Wed, 19 Jun 2024 13:58:42 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AA139C14F6BC; Wed, 19 Jun 2024 13:58:42 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id 4E2E43898F; Wed, 19 Jun 2024 16:58:41 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ZkDJvVJVHimY; Wed, 19 Jun 2024 16:58:38 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id B80F93898E; Wed, 19 Jun 2024 16:58:38 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandelman.ca; s=mail; t=1718830718; bh=geQe5jF3XeyTo5XSsPzob/xXucnrl0jNj+jJ43JyooQ=; h=From:To:cc:Subject:In-Reply-To:References:Date:From; b=mnxkoCsHIsi5z2WVp6OgCMs4wMMT5U/97hKWag0vnMf2gwcnw0lJSr3SyxbCnGXHQ QLSGhmBOpWIMrM4MeNkPXsg6SkS2G0ZMthD8NOoF7JLBdKdJXjO9FcM+UQsU1ueRCo UhfG14gr97HHszkKmMXEhHTqXeYLdoHOrB0vy+s84Qdi7JkZ2xl3z237aYZ2v1qE3o lzG1q/LmDZg96fv1c1E0QAsmqZexcv7wM0wiv+R0naG0LhEgp7jnX7EawRIdzAX8/V 8ECQkNfHYKVi8Q+M6RTD97Ap9dqayMph71QK7oY+NohBhaBayfjB4Pdk+MUi/4BLtK /MttGAUSmfnjQ==
Received: from obiwan.sandelman.ca (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id B3B392CC; Wed, 19 Jun 2024 16:58:38 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Henk Birkholz <henk.birkholz@ietf.contact>
In-Reply-To: <0145e095-e684-d2ee-58d5-41aee54a4b3b@ietf.contact>
References: <AS8PR10MB742727BFEC71CB78468FB0E7EECD2@AS8PR10MB7427.EURPRD10.PROD.OUTLOOK.COM> <0145e095-e684-d2ee-58d5-41aee54a4b3b@ietf.contact>
X-Mailer: MH-E 8.6+git; nmh 1.8+dev; GNU Emacs 28.2
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0;<'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Wed, 19 Jun 2024 16:58:38 -0400
Message-ID: <2627.1718830718@obiwan.sandelman.ca>
Message-ID-Hash: JECWVYXPVT4L4TUC4KYLUFQPVMIZ7LBU
X-Message-ID-Hash: JECWVYXPVT4L4TUC4KYLUFQPVMIZ7LBU
X-MailFrom: mcr+ietf@sandelman.ca
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-rats.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "Tschofenig, Hannes" <hannes.tschofenig=40siemens.com@dmarc.ietf.org>, "spasm@ietf.org" <spasm@ietf.org>, rats <rats@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Rats] Re: Hint Discussion in CSR Attestation Draft
List-Id: Remote ATtestation procedureS <rats.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/rats/vZOJtSTRxx6ytqL_bvvjZRP_a_0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/rats>
List-Help: <mailto:rats-request@ietf.org?subject=help>
List-Owner: <mailto:rats-owner@ietf.org>
List-Post: <mailto:rats@ietf.org>
List-Subscribe: <mailto:rats-join@ietf.org>
List-Unsubscribe: <mailto:rats-leave@ietf.org>

Henk Birkholz <henk.birkholz@ietf.contact> wrote:
    > I am replying in the wrong order (yet again), it seems. In my previous
    > response, I highlighted the use of a MUD URL and corresponding MUD file
    > (RFC9520). Would that help? There is a PoC MUD file in that expired

No, I don't think *8*520 (MUD) can help here at all.
The HSM is often really really offline.
As in, in a safe, and almost nothing goes in, and certainly nothing comes
out, so there isn't anything for MUD to describe.

Hannes wrote:
    ht> Hi all, I would like to come back to the hint discussion.  As Mike
    ht> mentioned, we want to support use cases where the relying party and
    ht> the verifier are separate roles. Note that two roles does not imply
    ht> separate physical devices nor does it imply the verifier and the
    ht> relying party to be operated by different operators. We also want to
    ht> prevent the relying party from understanding the details of the
    ht> evidence since this is what the verifier is supposed to do.

    ht> If there
    ht> is only a single verifier that handles all evidence types from all
    ht> vendors then it is trivial for the relying party to make a routing
    ht> decision. Even if two or more vendors implement TPM-based attestation
    ht> there is no problem with routing the evidence to the verifier. (Note
    ht> that OIDs are typically assigned to evidence formats and not to
    ht> vendors unless they are vendor-proprietary evidence formats.)

It seems to me that the is inadequate for the job.
Perhaps it is underspecified.  Maybe an OID would be better than a string.

    ht> If
    ht> there is more than one verifier then the story gets more
    ht> interesting. If remote attestation will become more common, then we
    ht> need to have a story of how to deploy such a system in a scalable
    ht> way. The question is: how is going to work?  Unfortunately, the RATS
    ht> working group has not provided an answer in their architecture
    ht> document.

I agree that the architecture does not specify something here.
I note that it really can't be just arbitrary... even in something like
OpenID connect (which has a similar model, but it's not remote attestation
itself), in most cases, you can't come along and use any identity provider.
(Alas)

For quite a number of use cases, that information about the verifier would
have to be an outer protocol container.   Prior to 9334, these [business]
relationships were essentially encoded as device vendor specific Evidence.
(thinking about smartphones)

    ht> In the CSR attestation draft we suggested to use a hint,
    ht> i.e. information that helps the relying party to select a verifier
    ht> that can help process the evidence. Since this hint will not be used
    ht> in all deployments, for example in deployments that only have a single
    ht> verifier, this hint is optional. As such, those who do not want to use
    ht> the optional hint do not need to look at it. For the other use cases
    ht> it provides value.  Hence, I don’t really understand the objections
    ht> and I don’t want to remove the hint!

I guess I've lost track of who and why this is being objected to.



--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide