Re: [Cwt-reg-review] Request to register set of claims for Arm CCA Attestation

Michael Jones <michael_b_jones@hotmail.com> Fri, 06 October 2023 21:57 UTC

Return-Path: <michael_b_jones@hotmail.com>
X-Original-To: cwt-reg-review@ietfa.amsl.com
Delivered-To: cwt-reg-review@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0DA08C15107F for <cwt-reg-review@ietfa.amsl.com>; Fri, 6 Oct 2023 14:57:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.232
X-Spam-Level:
X-Spam-Status: No, score=-6.232 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, FORGED_HOTMAIL_RCVD2=0.874, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=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=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=hotmail.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 YxKfI0cNihzp for <cwt-reg-review@ietfa.amsl.com>; Fri, 6 Oct 2023 14:57:34 -0700 (PDT)
Received: from NAM12-MW2-obe.outbound.protection.outlook.com (mail-mw2nam12olkn2068.outbound.protection.outlook.com [40.92.23.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1753DC151094 for <cwt-reg-review@ietf.org>; Fri, 6 Oct 2023 14:57:34 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=IdRWpnYeZCNfEHZpulu5fJ4ZHQIdF+o0QFVDsPg2YJ3qQEiFbRqnNO0NlW5Fk48fTdB4qUv6eAzWkVlVl1B9Q3oHyq5TW3VTf+jkTVjOj/aJu6VKBnERP9OmLSkiL7ikDY7EMD9Tz0wmNxqvFdjJJmswOVSvu41W5NahgHdLHR6TH+R9GuGqSgHTQCQMdKgqLV50/YNnMBfKUFgrNRBWUT6RqGfRDgeNblmjtfq1t7xa3ErnP5WyJkWlbSXq/mjJvcIHLC6PK4H/Ob0iZLWPolmmtfsiQUAtsTVId+ag3ZrRMvSJidqMX2QkSqRI+xN+kTHMEQaur5VYyWuvrOYp9w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8NG8WFZHEhazObkk8nGvotP8Wu0Zv+r/+xYQ8t+7UXM=; b=VWjKnwPQ35wsIdLd2TDPd+KrAzoq6z6KKodB+MO2vMwgf/IvsJgBdbrTYm6ab9CemrHnHYa7WuSmiSkwp3XyX4p5ImUDxiq6snyprLhRH6pGoJMNjjNPbdhLUbyuUpc6Zdmg3JIqxNlZFn69dG1OmDzLpo6T5v7dQ2Y3L0KqRgrxdOg0EbK0vRpS3h+Qlw9alzmo3oaadlxTuW1YC7EuWsvICiCVQl+sqA+zzx2U4SaNqDFfxCCDIPSgHH6f6jHnwig3USdDICoLq3Di7uL3MxgqYCMPJRSFPbR+hqCyCJzBIfr0frxDyN8Yesdx3Nh/T4KcHvHHrDWmGHeZR6+/OQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=8NG8WFZHEhazObkk8nGvotP8Wu0Zv+r/+xYQ8t+7UXM=; b=nw7C9HaQge4dYVU4Q4Z9QWFCsLzYpmBjdBVkwZt/+t7IMthf3Lw6rrKqlmdKP6cR9c+ZjDRCJRj5pixkI+cuGXKH2BmdQYyJLwbxV3Ir3mjR4zxzCTXLft1PG+M0TaV4phoPQQFygXLEPO9TaoNfz06eK6Y+OdecnXzVYIOfALGcuvUeKf9m3zvMAxfhDqf6EP62imhR4Mprn6y1wgiza7p0LoLMG6kWIpjdoCqV7tUyMcCexFDmOIXYg0kbeQQSTBdswMp6J5cEsdwCBPXNtU6UTMJjXUKBZcl5vYQQkho5uQEskGYwg2k6ziPZODHwr98BKYH8mQDzTLX+b4FkxA==
Received: from MW4PR02MB7428.namprd02.prod.outlook.com (2603:10b6:303:71::5) by BY5PR02MB6753.namprd02.prod.outlook.com (2603:10b6:a03:209::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.38; Fri, 6 Oct 2023 21:57:32 +0000
Received: from MW4PR02MB7428.namprd02.prod.outlook.com ([fe80::36ca:d688:8cee:d6f7]) by MW4PR02MB7428.namprd02.prod.outlook.com ([fe80::36ca:d688:8cee:d6f7%6]) with mapi id 15.20.6813.017; Fri, 6 Oct 2023 21:57:31 +0000
From: Michael Jones <michael_b_jones@hotmail.com>
To: Simon Frost <Simon.Frost@arm.com>, "cwt-reg-review@ietf.org" <cwt-reg-review@ietf.org>
Thread-Topic: Request to register set of claims for Arm CCA Attestation
Thread-Index: AdnLiOAOBY6j/ppeRoWVkIEY9M92CgtFTxSw
Date: Fri, 06 Oct 2023 21:57:31 +0000
Message-ID: <MW4PR02MB7428DC8DF9222F09309E0D2BB7C9A@MW4PR02MB7428.namprd02.prod.outlook.com>
References: <AS8PR08MB6677FAD036B479DCAE207AB5EF13A@AS8PR08MB6677.eurprd08.prod.outlook.com>
In-Reply-To: <AS8PR08MB6677FAD036B479DCAE207AB5EF13A@AS8PR08MB6677.eurprd08.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-tmn: [vOynrzHFEC60RX1PLg3Tv7mlp8YXkQsEGU88G3Kebb/D/lXVhT/zMYbyZvk7pfbe]
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: MW4PR02MB7428:EE_|BY5PR02MB6753:EE_
x-ms-office365-filtering-correlation-id: ea819258-5e63-4bba-2007-08dbc6b73d96
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: rrIg+rLzAiAXK9628YXb+KGoX0ts89ilOKwaqLBFlyo/1OfA45gPP+tRy50ocmZdBCU3D//Y8KkB8G8grcDsafJwUjaKWNtTqtdTO/3JFD0goUjyrHcuLNBWe8u/LoMFIjYExngtI/R08SCcrJy0nctWULNV+CLNE/FnZSjaeAgBZhjk6nfmMiEkLa4JfWEdCuH5/HHYvP0btFHUafc9m1cqrdvaWk+IzCayPLpUnjT+OdZjAW+sTDyL+jKhBgCUTPaKKpsUJDFrzXBPA57/mooY+hUUd2KDR39w8KMGcntlFPr7SSaJI9pCrzSLO0Ns0f9QxRmyFv4kn4WApIX/VGNtr8IwyL9UZw26lS9nITojLfDshUh3L5oSbGws3GoL44kqFStRUYVHTxQIXm0SxF8RyAj6GQyPo8p1iWuOAGDS24jqaj9n/SEKzN/WXDX6w53J1xdlMj1udJSDeQLcXgVYdaMBAjlC9tYhrjjcohox3yr2D1gi+Dqj5KeFFBJrJBK+E3vNt65MSpV0CN9rdblM9Izt6mz3E3n0gQFxqE4PfpVzvdoonMLiPpGjzSYj2LnT1oNCMqsK1qwCbZyBlehlrcPbiP5h1zuVTswXrGHnUh2eqYQzYkzmFvibjIiS0Nkq/di37MkxyySsiiH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wfIqNsNxASaaPOqUCNv3AE4xPrP2R24tHcM3+CMMPR9tow7ybEiwvsXQhmi8NK7JYFmfC/tNu/is1SI5qvrTyTmwgPLe5bp0rnsH+ouCqJCYZZ+j907W3ilfv87yKOUDvwKhZDVdFPQcADFCvE5dIYcQnqx1pxVPztCtAUzE2a+Xxtgow4jQZ5bRa8RhJCpQTGE7FMr42VPy56jcWBr45A6LUIkfXAOF82ojg8rcthFfUd4vdhDN1obhCH2sUnIRJ/HLDDDUp3aUuRcH3mXXcfhR8XQpTx+dIq3SWpSvdT4nULJ6lU9jo3EVXwnwcn4=
Content-Type: multipart/alternative; boundary="_000_MW4PR02MB7428DC8DF9222F09309E0D2BB7C9AMW4PR02MB7428namp_"
MIME-Version: 1.0
X-OriginatorOrg: sct-15-20-4755-11-msonline-outlook-99c3d.templateTenant
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: MW4PR02MB7428.namprd02.prod.outlook.com
X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-CrossTenant-Network-Message-Id: ea819258-5e63-4bba-2007-08dbc6b73d96
X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Oct 2023 21:57:31.7413 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa
X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR02MB6753
Archived-At: <https://mailarchive.ietf.org/arch/msg/cwt-reg-review/6OWimmg5lJhPAXFeHpk6vlC7cQg>
Subject: Re: [Cwt-reg-review] Request to register set of claims for Arm CCA Attestation
X-BeenThere: cwt-reg-review@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: CWT Registry Review <cwt-reg-review.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cwt-reg-review>, <mailto:cwt-reg-review-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cwt-reg-review/>
List-Post: <mailto:cwt-reg-review@ietf.org>
List-Help: <mailto:cwt-reg-review-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cwt-reg-review>, <mailto:cwt-reg-review-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Oct 2023 21:57:39 -0000

I'm sorry that I missed seeing this request before.  Thanks for resending it to bring it to my attention.

First, to register the claims, there needs to be an IANA Considerations section in the document describing the registrations to be made.  The contents of the required IANA Considerations section are specified at https://www.rfc-editor.org/rfc/rfc8392.html#section-9.1.1.  I suggest adding this to https://developer.arm.com/documentation/den0137/latest.  Also, it would probably be better to cite a specific immutable version of the registering document, rather than "latest".

>From what registry are the Realm Hash Algorithm values taken?  From the IANA Named Information Hash Algorithm Registry https://www.iana.org/assignments/named-information/named-information.xhtml#hash-alg?  I would have expected you to use hash algorithm numbers from https://www.iana.org/assignments/cose/cose.xhtml#algorithms.

The same comments apply to the Realm Public Key Hash Algorithm Identifier claim.

I expected the Realm Public Key Claim to be a COSE_Key - not 97 bytes with unspecified contents.  Please correct that.

Please likewise review the definitions of the other claims to ensure that their contents are fully specified.

                                                       Best wishes,
                                                       -- Mike

From: Cwt-reg-review <cwt-reg-review-bounces@ietf.org> On Behalf Of Simon Frost
Sent: Thursday, August 10, 2023 6:01 AM
To: cwt-reg-review@ietf.org
Subject: [Cwt-reg-review] Request to register set of claims for Arm CCA Attestation

Dear CWT claims registry experts,

Please find below a submission to register a set of claims for the CWT registry. I hope that I have followed the instructions & template from RFC8392 satisfactorily, please let me know if any updates or clarifications are required.

The background to this request is that the Arm Confidential Compute Architecture supports the creation of attestation tokens. The construction of these tokens uses CWT construction and follows the IETF EAT draft (https://datatracker.ietf.org/doc/draft-ietf-rats-eat/) for attestation tokens. The work extends the set of claims previously registered as psa_* and claims requested for registration as part of EAT standardization. This request adds additional claims specific to the CCA attestation target. The reference implementation of Arm CCA attestation only produces a CBOR encoded token and as such there are not matched requests in the JWT registry.

I have specified the Change Controller for all of these claims as being the support.developer.arm.com website rather than an individual email address as that should be more resilient. The DEN0137 specification document, being common to all these requests, contains information on how to provide feedback using that site.

1. Platform Config Claim
Note: The Arm CCA Platform Attestation token reuses Claim Keys already in the CWT IANA registry in the PSA range (currently 2394 - 2400). This claim is logically grouped with those other platform claims and hence requests a consecutive value.
Claim Name: psa-platform-config
Claim Description: encoding of the implementation options of the hardware platform
JWT Claim Name: N/A
Claim Key: (requested value) 2401
Claim Value Type(s): byte string
Change Controller: https://support.developer.arm.com<https://support.developer.arm.com/>
Specification Document: https://developer.arm.com/documentation/den0137/latest Section A7.2.3.2.5


2. CCA Platform Token
Note: There are a group of related claims use in Arm CCA Attestation. This claim forms the base of a new consecutive range for those claim keys. The choice for the base of this range was intended to keep away from other related sets previously registered (and key value starts at 0xACCA). Further claims for future developments of the architecture would be requested consecutive to this range.
Claim Name: cca-platform-token
Claim Description: byte string encoding of the Arm CCA platform token
JWT Claim Name: N/A
Claim Key: (requested value) 44234
Claim Value Type(s): byte string
Change Controller: https://support.developer.arm.com<https://support.developer.arm.com/>
Specification Document: https://developer.arm.com/documentation/den0137/latest Section A7.2.3

3. CCA Realm Personalisation Value
Note that 'Realm' is the name used for a Confidential VM executing within an Arm CCA system
Claim Name: cca-realm-personalization-value
Claim Description: data personalization value provided at Realm creation time
JWT Claim Name: N/A
Claim Key: (requested value) 44235
Claim Value Type(s): byte string
Change Controller: https://support.developer.arm.com<https://support.developer.arm.com/>
Specification Document: https://developer.arm.com/documentation/den0137/latest Section A7.2.3.1.2


4. CCA Realm Hash Algorithm
Claim Name: cca-realm-hash-algo-id
Claim Description: identity of the hash algm used for values in the CCA Realm attestation token
JWT Claim Name: N/A
Claim Key: (requested value) 44236
Claim Value Type(s): text
Change Controller: https://support.developer.arm.com<https://support.developer.arm.com/>
Specification Document: https://developer.arm.com/documentation/den0137/latest Section A7.2.3.1.5


5. CCA Realm Public Key
Claim Name: cca-realm-public-key
Claim Description: identity of the key used to sign the CCA Realm attestation token
JWT Claim Name: N/A
Claim Key: (requested value) 44237
Claim Value Type(s): byte string
Change Controller: https://support.developer.arm.com<https://support.developer.arm.com/>
Specification Document: https://developer.arm.com/documentation/den0137/latest Section A7.2.3.1.6

6. CCA Realm Initial Measurement
Claim Name: cca-realm-initial-measurement
Claim Description: measurment of the Realm at activation
JWT Claim Name: N/A
Claim Key: (requested value) 44238
Claim Value Type(s): byte string
Change Controller: https://support.developer.arm.com<https://support.developer.arm.com/>
Specification Document: https://developer.arm.com/documentation/den0137/latest Section A7.2.3.1.3

7. CCA Realm Extensible Measurements
Claim Name: cca-realm-extensible-measurements
Claim Description: extensible measurement set for Realm values
JWT Claim Name: N/A
Claim Key: (requested value) 44239
Claim Value Type(s): array
Change Controller: https://support.developer.arm.com<https://support.developer.arm.com/>
Specification Document: https://developer.arm.com/documentation/den0137/latest Section A7.2.3.1.4

8. CCA Realm Public Key Hash Algorithm ID
Claim Name: cca-realm-public-key-hash-algo-id
Claim Description: algorithm used to calculate hash of key from cca-realm-public-key
JWT Claim Name: N/A
Claim Key: (requested value) 44240
Claim Value Type(s): array
Change Controller: https://support.developer.arm.com<https://support.developer.arm.com/>
Specification Document: https://developer.arm.com/documentation/den0137/latest Section A7.2.3.1.7


9. CCA Realm Delegated Token
Claim Name: cca-realm-delegated-token
Claim Description: byte string encoding of the Arm CCA delegated model Realm attestation token
JWT Claim Name: N/A
Claim Key: (requested value) 44241
Claim Value Type(s): array
Change Controller: https://support.developer.arm.com<https://support.developer.arm.com/>
Specification Document: https://developer.arm.com/documentation/den0137/latest Section A7.2.3





Best Regards
Simon

Simon Frost
Senior Principal Systems Solution Architect, ATG, Arm
Mob: +44 7855 265691

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.