RFC 9783: Arm's Platform Security Architecture (PSA) Attestation Token
- H. Tschofenig,
- S. Frost,
- M. Brossard,
- A. Shaw,
- T. Fossati
Abstract
Arm's Platform Security Architecture (PSA) is a family of hardware and
firmware security specifications, along with open-source reference
implementations
The PSA attestation token is a profile of the Entity Attestation Token
(EAT). This specification describes the claims used in an attestation
token generated by PSA-compliant systems, how these claims are
serialized for transmission, and how they are cryptographical
This Informational document is published as an Independent Submission to improve
interoperabilit
Status of This Memo
This document is not an Internet Standards Track specification; it is published for informational purposes.¶
This is a contribution to the RFC Series, independently of any other RFC stream. The RFC Editor has chosen to publish this document at its discretion and makes no statement about its value for implementation or deployment. Documents approved for publication by the RFC Editor are not candidates for any level of Internet Standard; see Section 2 of RFC 7841.¶
Information about the current status of this document, any
errata, and how to provide feedback on it may be obtained at
https://
Copyright Notice
Copyright (c) 2025 IETF Trust and the persons identified as the document authors. All rights reserved.¶
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(https://
1. Introduction
The Platform Security Architecture (PSA) [PSA] is a set of hardware and firmware specifications backed by reference implementations and a security certification program [PSACertified]. The security specifications have been published by Arm, while the certification program and reference implementations are the result of a collaborative effort by companies from multiple sectors, including evaluation laboratories, IP semiconductor vendors, and security consultancies. The main objective of the PSA initiative is to assist device manufacturers and chip makers in incorporating best-practice security measures into their products.¶
Many devices now have Trusted Execution Environments (TEEs) that provide a safe
space for security
As outlined in the Remote ATtestation procedureS (RATS) Architecture [RFC9334], an Attester produces a signed collection of Claims that constitutes Evidence about its Target Environment. This document focuses on the output provided by PSA's Initial Attestation API [PSA-API]. This output corresponds to Evidence in [RFC9334] and, as a design decision, the PSA attestation token is a profile of the Entity Attestation Token (EAT) [EAT]. Note that there are other profiles of EAT available for use with different use cases and by different attestation technologies, such as [RATS-TDX] and [RATS-QWESTOKEN].¶
Since the PSA tokens are also consumed by services outside the device, there is an actual
need to ensure interoperabilit
Further details on concepts expressed below can be found in the PSA Security Model documentation [PSA-SM].¶
As mentioned in the abstract, this memo documents a vendor extension to the RATS architecture and is not a standard.¶
2. Conventions and Definitions
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals, as shown here.¶
The terms Attester, Relying Party, Verifier, Attestation Result, Target Environment, Attesting Environment, and Evidence are defined in [RFC9334]. We use the term "receiver" to refer to Relying Parties and Verifiers.¶
We use the terms Evidence, "PSA attestation token", and "PSA token" interchangeably
- Root of Trust (RoT):
- The minimal set of software, hardware, and data that has to be implicitly trusted in the platform; there is no software or hardware at a deeper level that can verify that the RoT is authentic and unmodified. An example of RoT is an initial bootloader in ROM, which contains cryptographic functions and credentials, running on a specific hardware platform.¶
- Secure Processing Environment (SPE):
- A platform's processing environment for software that provides confidentiality and integrity for its runtime state, from software and hardware, outside of the SPE. Contains trusted code and trusted hardware. (Equivalent to a TEE, "secure world", or "secure enclave".)¶
- Non-Secure Processing Environment (NSPE):
- The security domain (Application domain) outside of the SPE that typically contains the application firmware, real-time operating systems, applications, and general hardware. (Equivalent to Rich Execution Environment (REE), or "normal world".)¶
In this document, the structure of data is specified in Concise Data Definition Language (CDDL) [RFC8610].¶
3. PSA Attester Model
Figure 1 outlines the structure of the PSA Attester according to the conceptual model described in Section 3.1 of [RFC9334].¶
The PSA Attester is a relatively straightforward embodiment of the RATS Attester with exactly one Attesting Environment and one or more Target Environments.¶
The Attesting Environment is responsible for collecting the information to be represented in PSA claims and to assemble them into Evidence. The Attesting Environment is made of two cooperating components:¶
The word "Initial" in "Initial Attestation Service" refers to a limited set of Target Environments, namely those representing the first foundational stages establishing the chain of trust of a PSA device. Collecting measurements from Target Environments after this initial phase is outside the scope of this specification. Extensions of this specification could collect up-to-date measurements from additional Target Environments and define additional claims for use within those environments, but these are, by definition, custom.¶
The Target Environments can be of four types, some of which may or may not be present depending on the device architecture:¶
A reference implementation of the PSA Attester is provided by [TF-M].¶
4. PSA Claims
This section describes the claims to be used in a PSA attestation token. A more comprehensive treatment of the EAT profiles defined by PSA is found in Section 5.¶
CDDL [RFC8610] along with text descriptions is used to define each claim independent of encoding. The following CDDL types are reused by different claims:¶
Two conventions are used to encode the Right-Hand-Side (RHS) of a claim. The postfix -label is used for EAT-defined claims and the postfix -key is used for PSA-originated claims.¶
4.1. Caller Claims
4.1.1. Nonce
The EAT [EAT] "nonce" (claim key 10) is used to carry the challenge provided by the caller to demonstrate freshness of the generated token.¶
Since the EAT nonce claim offers flexibility for different
attestation technologies, this specification applies the following constraints
to the nonce-type:¶
This claim MUST be present in a PSA attestation token.¶
4.1.2. Client ID
The Client ID claim represents the security domain of the caller.¶
In PSA, a security domain is represented by a signed integer whereby negative values represent callers from the NSPE and where positive IDs represent callers from the SPE. The value 0 is not permitted.¶
For an example definition of client IDs, see the PSA Firmware Framework [PSA-FF].¶
It is essential that this claim is checked in the verification process to ensure that a security domain, i.e., an attestation endpoint, cannot spoof a report from another security domain.¶
This claim MUST be present in a PSA attestation token.¶
4.2. Target Identification Claims
4.2.1. Instance ID
The Instance ID claim represents the unique identifier of the IAK. The full definition is in [PSA-SM].¶
The EAT ueid (claim key 256) of type RAND is used. The following constraints
apply to the ueid-type:¶
This claim MUST be present in a PSA attestation token.¶
4.2.2. Implementation ID
The Implementation ID claim uniquely identifies the hardware assembly of the immutable PSA RoT. A verification service uses this claim to locate the details of the PSA RoT implementation from an Endorser or manufacturer. Such details are used by a verification service to determine the security properties or certification status of the PSA RoT implementation.¶
The value and format of the ID is decided by the manufacturer or a particular certification scheme. For example, the ID could take the form of a product serial number, database ID, or other appropriate identifier.¶
This claim MUST be present in a PSA attestation token.¶
Note that this identifies the PSA RoT implementation, not a particular instance. To uniquely identify an instance, see the Instance ID claim Section 4.2.1.¶
4.2.3. Certification Reference
The Certification Reference claim is used to link the class of chip and PSA RoT of the attesting device to an associated entry in the PSA Certification database. The Certification Reference claim MUST be represented as a string made of nineteen numeric characters: a thirteen-digit EAN-13 [EAN-13] followed by a dash "-" and the five-digit versioning information described in [PSA-Cert-Guide].¶
Linking to the PSA Certification entry can still be achieved if this claim is not present in the token by making an association at a Verifier between the reference value and other token claim values, for example, the Implementation ID.¶
This claim MAY be present in a PSA attestation token.¶
4.3. Target State Claims
4.3.1. Security Lifecycle
The Security Lifecycle claim represents the current lifecycle state of the PSA RoT. The state is represented by an integer that is divided to convey a major state and a minor state. A major state is mandatory and defined by [PSA-SM]. A minor state is optional and 'IMPLEMENTATION DEFINED'. The PSA security lifecycle state and implementation state are encoded as follows:¶
The PSA lifecycle states are illustrated in Figure 4. For PSA,
a Verifier can only trust reports from the PSA RoT when it is in SECURED or
NON
This claim MUST be present in a PSA attestation token.¶
The CDDL representation is shown below. Table 1 provides the mappings between Figure 4 and the data model.¶
psa is not shown in Figure 4; it represents an invalid state that must not occur in a system.¶
4.3.2. Boot Seed
The "bootseed" claim contains a value created at system boot time that allows differentiation of attestation reports from different boot sessions of a particular entity (i.e., a certain Instance ID).¶
The EAT "bootseed" (claim key 268) is used.
The following constraints apply to the binary-data type:¶
This claim MAY be present in a PSA attestation token.¶
4.4. Software Inventory Claims
4.4.1. Software Components
The Software Components claim is a list of software components that includes all the software (both code and configuration) loaded by the PSA RoT. This claim MUST be included in attestation tokens produced by an implementation conformant with [PSA-SM].¶
Each entry in the Software Components list describes one software component using the attributes described in the following subsections. Unless explicitly stated, the presence of an attribute is OPTIONAL.¶
Note that a Relying Party will typically see the result of the appraisal process from the Verifier in form of an Attestation Result rather than the PSA token from the attesting endpoint as described in [RFC9334]. Therefore, a Relying Party is not expected to understand the Software Components claim. Instead, it is for the Verifier to check this claim against the available Reference Values and provide an answer in form of a "high-level" Attestation Result, which may or may not include the original Software Components claim.¶
4.4.1.1. Measurement Type
The Measurement Type attribute (key=1) is a short string representing the role of this software component.¶
The following measurement types MAY be used for code measurements:¶
- "BL":
- a Boot Loader¶
- "PRoT":
- a component of the PSA Root of Trust¶
- "ARoT":
- a component of the Application Root of Trust¶
- "App":
- a component of the NSPE application¶
- "TS":
- a component of a Trusted Subsystem¶
The same labels with a "_CONFIG" postfix (e.g., "PRoT_CONFIG") MAY be used for configuration measurements.¶
This attribute SHOULD be present in a PSA software component unless there is a very good reason to leave it out, for example, in networks with severely constrained bandwidth where sparing a few bytes really makes a difference.¶
4.4.1.2. Measurement Value
The Measurement Value attribute (key=2) represents a hash of the invariant software component in memory at startup time. The value MUST be a cryptographic hash of 256 bits or stronger.¶
This attribute MUST be present in a PSA software component.¶
4.4.1.3. Version
The Version attribute (key=4) is the issued software version in the form of a text string. The value of this attribute will correspond to the entry in the original signed manifest of the component.¶
4.4.1.4. Signer ID
The Signer ID attribute (key=5) uniquely identifies the signer of the software component. The identification is typically accomplished by hashing the signer's public key. The value of this attribute will correspond to the entry in the original manifest for the component. This can be used by a Verifier to ensure the components were signed by an expected trusted source.¶
This attribute MUST be present in a PSA software component to be compliant with [PSA-SM].¶
4.4.1.5. Measurement Description
The Measurement Description attribute (key=6) contains a string identifying the hash algorithm used to compute the corresponding Measurement Value. The string SHOULD be encoded according to "Hash Name String" in the "Named Information Hash Algorithm Registry" [NAMED-INFO].¶
4.5. Verification Claims
The following claims, although part of Evidence, do not reflect the internal state of the Attester. Instead, they aim to help receivers, including Relying Parties, in processing the received attestation Evidence.¶
4.5.1. Verification Service Indicator
The Verification Service Indicator claim is a hint used by a Relying Party to locate a verification service for the token. The value is a text string that can be used to locate the service (typically, a URL specifying the address of the verification service API). A Relying Party may choose to ignore this claim in favor of other information.¶
It is assumed that the Relying Party is pre-configured with a list of trusted verification services and that the contents of this hint can be used to look up the correct one. Under no circumstances must the Relying Party be tricked into contacting an unknown and untrusted verification service since the returned Attestation Result cannot be relied on.¶
Note: This hint requires the Relying Party to parse the content of the
PSA token. Since the Relying Party may not be in possession of a trust
anchor to verify the digital signature, it uses the hint in the same way
as it would treat any other information provided by an external party,
which includes attacker
4.5.2. Profile Definition
The Profile Definition claim encodes the unique identifier that corresponds to the EAT profile described by this document. This allows a receiver to assign the intended semantics to the rest of the claims found in the token.¶
The EAT eat_profile (claim key 265) is used.¶
The URI encoding MUST be used.¶
The value MUST be tag for the profile defined in Section 5.2.¶
Future profiles derived from the baseline PSA profile SHALL create their unique value as described in Section 4.5.2.1.¶
This claim MUST be present in a PSA attestation token.¶
See Section 4.6 for considerations about backwards compatibility with previous versions of the PSA attestation token format.¶
4.5.2.1. URI Structure for the Derived Profile Identifiers
A new profile is associated with a unique string.¶
The string MUST use the URI fragment syntax defined in Section 3.5 of [RFC3986].¶
The string SHOULD be short to avoid unnecessary overhead.¶
To avoid collisions, profile authors SHOULD communicate their intent upfront to use a certain string that uses the inquiry form on the website [PSACertified].¶
To derive the value to be used for the eat_profile claim, the string is added as a fragment to the tag tag URI [RFC4151].¶
For example, a hypothetical profile using only COSE_Mac0 with the AES Message Authentication Code (AES-MAC) may decide to use the string "aes-mac". The eat_profile value would then be tag.¶
4.6. Backwards Compatibility Considerations
An earlier draft of this document [PSA-OLD] identified by the PSA
profile, used claim key values from the "private use range" of the CWT Claims
registry. These claim keys have now been deprecated.¶
Table 2 provides the mappings between the deprecated and new claim keys.¶
The new profile introduces three further changes:¶
To simplify the transition to the token format described in this
document, it is RECOMMENDED that Verifiers
accept tokens encoded according to the old profile (PSA) as well as
to the profile defined in this document (tag), at least for the time needed to
their devices to upgrade.¶
5. Profiles
This document defines a baseline with common requirements that all PSA profiles must satisfy. (Note that this does not apply to [PSA-OLD].)¶
This document also defines a "TFM" profile (Section 5.2) that builds on the baseline while constraining the use of COSE algorithms to improve interoperabilit
Baseline and TFM are what the EAT calls a "partial" and "full" profile, respectively. See Section 6.2 of [EAT] for further details regarding profiles.¶
5.1. Baseline Profile
5.1.1. Token Encoding and Signing
The PSA attestation token is encoded in CBOR [STD94] format.
The CBOR representation of a PSA token MUST be "valid" according to the definition in Section 1.2 of RFC 8949 [STD94].
Besides, only definite-length string, arrays, and maps are allowed.
Given that a PSA Attester is typically found in a constrained device, it MAY
NOT emit CBOR preferred serializations (Section 4.1 of RFC 8949 [STD94]).
Therefore, the Verifier MUST be a variation
Cryptographic protection is obtained by wrapping the psa-token claims set in a COSE
Web Token (CWT) [RFC8392]. For asymmetric key algorithms, the signature
structure MUST be a tagged (18) COSE_Sign1. For symmetric key algorithms, the signature
structure MUST be a tagged (17) COSE_Mac0.¶
Acknowledging the variety of markets, regulations, and use cases in which the PSA attestation token can be used, the baseline profile does not impose any strong requirement on the cryptographic algorithms that need to be supported by Attesters and Verifiers. The flexibility provided by the COSE format should be sufficient to deal with the level of cryptographic agility needed to adapt to specific use cases. It is RECOMMENDED that commonly adopted algorithms are used, such as those discussed in [COSE-ALGS]. It is expected that receivers will accept a wider range of algorithms while Attesters would produce PSA tokens using only one such algorithm.¶
The CWT CBOR tag (61) is not used. An application that needs to exchange PSA attestation tokens can wrap the serialized COSE_Sign1 or COSE_Mac0 in the media type defined in Section 10.2 or the CoAP Content-Format defined in Section 10.3.¶
A PSA token is always directly signed by the PSA RoT. Therefore, a PSA-token claims set (Section 4) is never carried in a Detached EAT bundle (Section 5 of [EAT]).¶
5.1.2. Freshness Model
The PSA token supports the freshness models for attestation Evidence based on nonces and epoch handles (Section 10.2 and Section 10.3 of [RFC9334]) using the "nonce" claim to convey the nonce or epoch handle supplied by the Verifier. No further assumption on the specific remote attestation protocol is made.¶
Note that use of epoch handles is constrained by the type restrictions imposed by the eat_nonce syntax.
For use in PSA tokens, it must be possible to encode the epoch handle as an opaque binary string between 8 and 64 octets.¶
5.2. Profile TFM
The TFM profile is appropriate for the code base implemented in [TF-M] and should apply for most derivative implementations
Table 4 presents a concise view of the requirements.¶
The value of the eat_profile MUST be tag.¶
7. Scalability Considerations
IAKs (see Section 3) can be either raw public keys or certified public keys.¶
Certified public keys require the manufacturer to run the certification authority (CA) that issues X.509 certificates for the IAKs. (Note that operating a CA is a complex and expensive task that may be unaffordable to certain manufacturers.)¶
Using certified public keys offers better scalability properties when compared to using raw public keys, namely:¶
Furthermore, existing and well-understood revocation mechanisms can be readily used.¶
The IAK's X.509 certificates can be inlined in the PSA token using the x5chain COSE
header parameter [COSE-X509] at the cost of an increase in the PSA token
size. Section 4.4 of [TLS12-IoT] and Section 15 of [TLS13-IoT] provide
guidance for profiling X.509 certificates used in IoT deployments.
Note that the exact split between pre-provisioned and inlined certificates may vary
depending on the specific deployment. In that respect, x5chain is quite
flexible. It can contain the end entity (EE) certification only, the EE and a partial
chain, or the EE and the full chain up to the trust anchor (see Section 2 of [COSE-X509] for the details).
Constraints around network bandwidth and computing resources available to endpoints, such as network buffers, may dictate a reasonable split point.¶
8. PSA Token Verification
To verify the token, the primary need is to check correct encoding and signing
as detailed in Section 5.1.1.
The key used for verification is either supplied to the Verifier by an
authorized Endorser along with the corresponding Attester's Instance ID or
inlined in the token using the x5chain header parameter as described in
Section 7.
If the IAK is a raw public key and the Instance ID claim is
used to assist in
locating the key used to verify the signature covering the CWT token.
If the IAK is a certified public key, X.509 path construction and validation
(Section 6 of [X509]) up to a trusted CA MUST be successful before the key is
used to verify the token signature. This also includes revocation checking.¶
The Verifier typically has a policy where it compares some claims in this profile to reference values registered with it for a given deployment. This verification process serves to confirm that the device is endorsed by the manufacturer supply chain. The policy may require that the relevant claims must have a match to a registered reference value. All claims may be worthy of additional appraisal. It is likely that most deployments would include a policy with appraisal for the following claims:¶
8.1. AR4SI Trustworthiness Claims Mappings
[RATS-AR4SI] defines an information model that Verifiers can employ to produce Attestation Results. AR4SI provides a set of standardized appraisal categories and tiers that greatly simplifies the task of writing Relying Party policies in Multi-Attester environments.¶
The contents of Table 5 are intended as guidance for implementing a PSA Verifier that computes its results using AR4SI. The table describes which PSA Evidence claims (if any) are related to which AR4SI trustworthiness claim, and therefore what the Verifier must consider when deciding if and how to appraise a certain feature associated with the PSA Attester.¶
This document does not prescribe what value must be chosen based on each possible situation. When assigning specific Trustworthiness Claim values, an implementation is expected to follow the algorithm described in Section 2.3.3 of [RATS-AR4SI].¶
8.2. Endorsements, Reference Values, and Verification Key Material
[PSA-Endorsements] defines a protocol based on the [RATS-CoRIM] data model that can be used to convey PSA Endorsements, Reference Values, and verification key material to the Verifier.¶
9. Security and Privacy Considerations
This specification reuses the EAT specification and therefore the CWT specification. Hence, the security and privacy considerations of those specifications apply here as well.¶
Since CWTs offer different ways to protect the token, this specification profiles those options and allows signatures using public key cryptography as well as message authentication codes (MACs). COSE_Sign1 is used for digital signatures and COSE_Mac0 for MACs as defined in the COSE specification [STD96]. Note, however, that the use of MAC authentication is NOT RECOMMENDED due to the associated infrastructure costs for key management and protocol complexities.¶
A PSA Attester MUST NOT provide Evidence to an untrusted challenger, as it may allow attackers to interpose and trick the Verifier into believing the attacker is a legitimate Attester. This is especially relevant to protocols that use PSA attestation tokens to authenticate the attester to a Relying Party.¶
Attestation tokens contain information that may be unique to a device. Therefore, they may allow to single out an individual device for tracking
purposes. Deployments that have privacy requirements must take appropriate
measures to ensure that the token is only used to provision anonymous
10. IANA Considerations
10.1. CBOR Web Token Claims Registration
IANA has registered the following claims in the "CBOR Web Token (CWT) Claims" registry [CWT].¶
10.2. Media Types
This document does not register any new media types.
To indicate that the transmitted content is a PSA attestation token,
applications can use the application media type defined in
[EAT-MEDIATYPES] with the eat_profile parameter set to
tag (or tag if the token is encoded
according to the old profile; see Section 4.6).¶
10.3. CoAP Content-Formats Registration
IANA has registered two CoAP Content-Format IDs in the First Come First Served range of the "CoAP
Content
11. References
11.1. Normative References
- [COSE-ALGS]
-
Schaad, J., "CBOR Object Signing and Encryption (COSE): Initial Algorithms", RFC 9053, DOI 10
.17487 , , <https:///RFC9053 www >..rfc -editor .org /info /rfc9053 - [CWT]
-
IANA, "CBOR Web Token (CWT) Claims", <https://
www >..iana .org /assignments /cwt - [EAN-13]
-
GS1, "EAN/UPC barcodes", <https://
www >..gs1 .org /standards /barcodes /ean -upc - [EAT]
-
Lundblade, L., Mandyam, G., O'Donoghue, J., and C. Wallace, "The Entity Attestation Token (EAT)", RFC 9711, DOI 10
.17487 , , <https:///RFC9711 www >..rfc -editor .org /info /rfc9711 - [EAT-MEDIATYPES]
-
Lundblade, L., Birkholz, H., and T. Fossati, "Entity Attestation Token (EAT) Media Types", RFC 9782, DOI 10
.17487 , , <https:///RFC9782 www >..rfc -editor .org /info /rfc9782 - [NAMED-INFO]
-
IANA, "Named Information Hash Algorithm Registry", <https://
www >..iana .org /assignments /named -information - [PSA-Cert-Guide]
-
PSA Certified, "PSA Certified Level 2 Step by Step Guide Version 1.1", , <https://
www >..psacertified .org /app /uploads /2020 /07 /JSADEN011 -PSA _Certified _Level _2 _Step -by -Step -1 .1 -20200403 .pdf - [PSA-FF]
-
Arm, "Arm PSA Firmware Framework 1.0", <https://
developer >..arm .com /documentation /den0063 /a - [PSA-SM]
-
Arm, "Platform Security Model 1.1", , <https://
www >..psacertified .org /app /uploads /2021 /12 /JSADEN014 _PSA _Certified _SM _V1 .1 _BET0 .pdf - [RFC2119]
-
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10
.17487 , , <https:///RFC2119 www >..rfc -editor .org /info /rfc2119 - [RFC3986]
-
Berners-Lee, T., Fielding, R., and L. Masinter, "Uniform Resource Identifier (URI): Generic Syntax", STD 66, RFC 3986, DOI 10
.17487 , , <https:///RFC3986 www >..rfc -editor .org /info /rfc3986 - [RFC4151]
-
Kindberg, T. and S. Hawke, "The 'tag' URI Scheme", RFC 4151, DOI 10
.17487 , , <https:///RFC4151 www >..rfc -editor .org /info /rfc4151 - [RFC8174]
-
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10
.17487 , , <https:///RFC8174 www >..rfc -editor .org /info /rfc8174 - [RFC8392]
-
Jones, M., Wahlstroem, E., Erdtman, S., and H. Tschofenig, "CBOR Web Token (CWT)", RFC 8392, DOI 10
.17487 , , <https:///RFC8392 www >..rfc -editor .org /info /rfc8392 - [RFC8610]
-
Birkholz, H., Vigano, C., and C. Bormann, "Concise Data Definition Language (CDDL): A Notational Convention to Express Concise Binary Object Representation (CBOR) and JSON Data Structures", RFC 8610, DOI 10
.17487 , , <https:///RFC8610 www >..rfc -editor .org /info /rfc8610 - [STD94]
-
Internet Standard 94, <https://
www >..rfc -editor .org /info /std94
At the time of writing, this STD comprises the following:Bormann, C. and P. Hoffman, "Concise Binary Object Representation (CBOR)", STD 94, RFC 8949, DOI 10.17487 , , <https:///RFC8949 www >..rfc -editor .org /info /rfc8949 - [STD96]
-
Internet Standard 96, <https://
www >..rfc -editor .org /info /std96
At the time of writing, this STD comprises the following:Schaad, J., "CBOR Object Signing and Encryption (COSE): Structures and Process", STD 96, RFC 9052, DOI 10.17487 , , <https:///RFC9052 www >..rfc -editor .org /info /rfc9052 Schaad, J., "CBOR Object Signing and Encryption (COSE): Countersignatures" , STD 96, RFC 9338, DOI 10.17487 , , <https:///RFC9338 www >..rfc -editor .org /info /rfc9338 - [X509]
-
Cooper, D., Santesson, S., Farrell, S., Boeyen, S., Housley, R., and W. Polk, "Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile", RFC 5280, DOI 10
.17487 , , <https:///RFC5280 www >..rfc -editor .org /info /rfc5280
11.2. Informative References
- [Content
-Formats] -
IANA, "CoAP Content
-Formats" , <https://www >..iana .org /assignments /core -parameters - [COSE-X509]
-
Schaad, J., "CBOR Object Signing and Encryption (COSE): Header Parameters for Carrying and Referencing X.509 Certificates", RFC 9360, DOI 10
.17487 , , <https:///RFC9360 www >..rfc -editor .org /info /rfc9360 - [IAT-VERIFIER]
-
Trusted Firmware, "iat-verifier", commit: 0b49b00195b7733
d6fe74e8f42ed4d7 , , <https://b81242801 git >..trustedfirmware .org /plugins /gitiles /TF -M /tf -m -tools /+ /refs /heads /main /iat -verifier / - [PSA]
-
Arm, "Security - Platform Security Architecture", <https://
developer >..arm .com /documentation /101892 /0100 /Security ---Platform -Security -Architecture ?lang =en - [PSA-API]
-
Arm, "PSA Certified Attestation API 1.0", , <https://
arm >.-software .github .io /psa -api /attestation /1 .0 /IHI0085 -PSA _Certified _Attestation _API -1 .0 .3 .pdf - [PSA
-Endorsements] -
Fossati, T., Deshpande, Y., and H. Birkholz, "A CoRIM Profile for Arm's Platform Security Architecture (PSA)", Work in Progress, Internet-Draft, draft
-fdb , , <https://-rats -psa -endorsements -06 datatracker >..ietf .org /doc /html /draft -fdb -rats -psa -endorsements -06 - [PSA-OLD]
-
Tschofenig, H., Frost, S., Brossard, M., Shaw, A. L., and T. Fossati, "Arm's Platform Security Architecture (PSA) Attestation Token", Work in Progress, Internet-Draft, draft
-tschofenig , , <https://-rats -psa -token -07 datatracker >..ietf .org /doc /html /draft -tschofenig -rats -psa -token -07 - [PSACertified]
-
PSA Certified, "PSA Certified: IoT Security Framework and Certification", <https://
psacertified >..org - [RATS-AR4SI]
-
Voit, E., Birkholz, H., Hardjono, T., Fossati, T., and V. Scarlata, "Attestation Results for Secure Interactions", Work in Progress, Internet-Draft, draft
-ietf , , <https://-rats -ar4si -08 datatracker >..ietf .org /doc /html /draft -ietf -rats -ar4si -08 - [RATS-CoRIM]
-
Birkholz, H., Fossati, T., Deshpande, Y., Smith, N., and W. Pan, "Concise Reference Integrity Manifest", Work in Progress, Internet-Draft, draft
-ietf , , <https://-rats -corim -07 datatracker >..ietf .org /doc /html /draft -ietf -rats -corim -07 - [RATS-QWESTOKEN]
-
Mandyam, G., Sekhar, V., and S. Mohammed, "The Qualcomm Wireless Edge Services (QWES) Attestation Token", Work in Progress, Internet-Draft, draft
-mandyam , , <https://-rats -qwestoken -00 datatracker >..ietf .org /doc /html /draft -mandyam -rats -qwestoken -00 - [RATS-TDX]
-
Kostal, G., Dittakavi, S., Yeluri, R., Xia, H., and J. Yu, "EAT profile for Intel(r) Trust Domain Extensions (TDX) attestation result", Work in Progress, Internet-Draft, draft
-kdyxy , , <https://-rats -tdx -eat -profile -02 datatracker >..ietf .org /doc /html /draft -kdyxy -rats -tdx -eat -profile -02 - [RFC9334]
-
Birkholz, H., Thaler, D., Richardson, M., Smith, N., and W. Pan, "Remote ATtestation procedureS (RATS) Architecture", RFC 9334, DOI 10
.17487 , , <https:///RFC9334 www >..rfc -editor .org /info /rfc9334 - [TF-M]
-
Trusted Firmware, "Trusted Firmware-M", <https://
www >..trustedfirmware .org /projects /tf -m / - [TLS12-IoT]
-
Tschofenig, H., Ed. and T. Fossati, "Transport Layer Security (TLS) / Datagram Transport Layer Security (DTLS) Profiles for the Internet of Things", RFC 7925, DOI 10
.17487 , , <https:///RFC7925 www >..rfc -editor .org /info /rfc7925 - [TLS13-IoT]
-
Tschofenig, H., Fossati, T., and M. Richardson, "TLS/DTLS 1.3 Profiles for the Internet of Things", Work in Progress, Internet-Draft, draft
-ietf , , <https://-uta -tls13 -iot -profile -14 datatracker >..ietf .org /doc /html /draft -ietf -uta -tls13 -iot -profile -14
Appendix A. Examples
The following examples show PSA attestation tokens for a hypothetical system comprising a single measured software component. The attesting device is in a lifecycle state (Section 4.3.1) of SECURED. The attestation has been requested from a client residing in the SPE.¶
The example in Appendix A.1 illustrates the case where the IAK is an asymmetric key. A COSE Sign1 envelope is used to wrap the PSA-token claims set.¶
Appendix A.2 illustrates the case where the IAK is a symmetric key and a COSE Mac0 envelope is used instead.¶
The claims sets are identical, except for the Instance ID which is synthesized from the key material.¶
The examples have been created using the iat-verifier tool [IAT-VERIFIER].¶
A.1. COSE Sign1 Token
The JWK representation of the IAK used for creating the COSE Sign1 signature over the PSA token is:¶
The resulting COSE object is:¶
which has the following base16 encoding:¶
Acknowledgments
Thank you Carsten Bormann for help with the CDDL. Thanks to Nicholas Wood, Eliot Lear, Yaron Sheffer, Kathleen Moriarty, and Ned Smith for ideas, comments, and suggestions.¶