Internet-Draft CIMD Attested Keys October 2026
McGuinness Expires 29 April 2027 [Page]
Workgroup:
Web Authorization Protocol
Internet-Draft:
draft-mcguinness-oauth-cimd-sw-stmt-attested-latest
Published:
Intended Status:
Standards Track
Expires:
Author:
K. McGuinness
Independent

Attested Instance Keys for CIMD Software Statements

Abstract

A software statement for a Client ID Metadata Document (CIMD) binds a review of client software to the exact bytes of that document. It does not, by itself, bind an installation of that software to a key. This specification defines an instance-binding extension in which an independently trusted client attester attests an installation's key for the reviewed document. The client proves that key through attestation-based client authentication when opening and continuing an authorization code grant. When an attester can verify which software controls an installation's key, as on managed devices, this specification permits native applications, including command-line clients, to use loopback redirects while satisfying a policy requiring reviewed software. The specification defines attestation and metadata requirements, processing at the pushed authorization request and token endpoints, and the exceptions to the base software statement rules needed for attested keys.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 29 April 2027.

▲

Table of Contents

1. Introduction

A native application's installations cannot safely authenticate by a private key distributed in every copy of the software. Each installation can generate its own key, but possession of that key establishes continuity, not the identity of the software using it. A copied Client ID Metadata Document (CIMD) URL [CIMD] and software statement can be presented with an attacker's own key.

[STATEMENT] therefore treats a document containing a redirect that another local application could claim as review-only: the server records the review but admits nothing on it, and such a presentation cannot satisfy a policy requiring reviewed software. This excludes loopback redirects, even though they are an established response-delivery mechanism for native applications under [RFC8252].

Existing mechanisms do not provide reviewed-software admission for loopback clients. Loopback redirects with Proof Key for Code Exchange (PKCE) [RFC7636] protect an authorization code from interception, but any application can start a transaction with a native client's identifier, the client impersonation that Section 8.6 of [RFC8252] describes. Attestation-based client authentication [ABCA] alone shows that an installation holds a key an attester vouches for, not that the installation runs the software a statement issuer approved for a particular document. The public-client binding of [STATEMENT] relies on redirection URIs no other application can claim, which loopback URIs are not.

This specification defines an alternative binding made of three checks, which stay separate even when one organization operates both issuing roles:

The callback delivers the authorization response; it supplies no evidence of the presenter's software identity.

This specification serves authorization code flows using pushed authorization requests (PAR) [RFC9126] and refresh of the resulting grants. It defines neither registration nor new token-endpoint presentations for other grants. [REGISTRATION] is unchanged: it rejects loopback redirects, so a document selecting this profile is never registered, and an issuer omits registration from the statement_uses of a statement over one. Neither [STATEMENT] nor [REGISTRATION] depends on this specification.

The binding is only as strong as the attester's evidence that the software, not merely the device or the user, controls the key (Section 14.1). Such evidence is available today mainly on managed endpoints, through an enterprise agent or launcher (Appendix A). On an unmanaged desktop, or for an interpreted command-line client, an attester typically cannot meet the requirements of Section 5, and the client remains review-only under [STATEMENT].

1.1. Protocol Overview

The following sequence is non-normative:

  1. A publisher serves a Client ID Metadata Document declaring this instance binding, attestation-based client authentication, and loopback redirects. A statement issuer signs a software statement over its exact bytes.

  2. An installation obtains an attestation from an accepted attester. The attestation names the CIMD URL, metadata digest, instance key, and evidence policy.

  3. The installation sends a pushed authorization request with PKCE, the attestation, and a Demonstrating Proof of Possession (DPoP) proof. It supplies the software statement or lets the server pull it.

  4. The server validates both trust decisions (in the statement issuer and in the attester) and their bindings before returning a request_uri.

  5. The user authorizes in an external browser. The code returns over loopback and is redeemed with the PKCE verifier and the attested key.

  6. Refresh requires the proven key, a current acceptable attestation, and a current acceptable software statement. A different key requires a new grant.

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.

This specification uses terminology from [RFC6749], [CIMD], and [ABCA], and the terms Runtime Presentation, Effective Expiry, Refusal Record, Current Statement, Review-Only, Establishment, and Proven Key from [STATEMENT]. It also uses the iat floor of [STATEMENT]: the iat of the most recent statement a server has accepted for an iss and sub, below which it rejects a newly presented, pulled, or replacement statement, kept per tenant on a multi-tenant server. An installation is a Client Instance as defined by [ABCA].

This specification defines the following terms:

Instance Binding:

The association of a proven instance key with the reviewed software and metadata under this specification. It does not assign a global installation identifier.

Instance Attestation:

A Client Attestation JWT under [ABCA], profiled by Section 6. It records an attester's association of a key with a client identifier URL and metadata digest under a named evidence policy. An instance attestation is current while its attestation effective expiry has not passed and its attester and evidence policy remain accepted.

Evidence Policy:

A versioned set of requirements for establishing the association between software, an instance key, and reviewed metadata. It covers evidence collection, verification, freshness, and protection of key use.

Attested Key:

The key an instance attestation's cnf claim names. Once an establishment records it, it is the establishment's Proven Key ([STATEMENT]), which this specification also calls the recorded key.

Attestation Effective Expiry:

An instance attestation's exp, which an accepted evidence policy bounds by the age of the attester's evidence (Section 5).

The software statement's issuer and the client attester are separate roles. One entity can perform both, but neither role implies trust in the other.

3. Scope and Profile Selection

An authorization server implementing this specification MUST support PAR, PKCE with S256 [RFC7636], DPoP [RFC9449], and the attest_jwt_client_auth_dpop method of [ABCA], which uses a DPoP proof as the proof of possession (Sections 5.2 and 7.3 of [ABCA]). Clients MUST use that method at the PAR endpoint and at every token request under this specification. This profile does not support the Client Attestation PoP JWT (Section 5.1 of [ABCA]). Each installation holds its own credential, the attested key, so a client under this profile is a confidential client although it is a native application, as Section 8.4 of [RFC8252] contemplates for per-instance credentials.

The client selects this profile by publishing software_statement_instance_binding with value true in its reviewed document (Section 4). A server accepts a new establishment under the profile only if it supports this specification, the reviewed document selects it, and all admission checks succeed.

Once an establishment is created, its recorded binding selects the profile for every continuation. Selection MUST NOT depend on whether a continuation happens to include an attestation or on a newly fetched document omitting the selection member. Such omissions fail the request; they do not change the grant's binding.

This specification permits only the authorization code grant opened through PAR, and refresh of that grant. It does not authorize private-use URI schemes, localhost hostnames, non-loopback redirects, implicit responses, device authorization, client credentials, or assertion grants. Other specifications can define additional bindings without changing the behavior of this profile.

4. Client Metadata

This specification defines the following member of a Client ID Metadata Document:

software_statement_instance_binding:

OPTIONAL. Boolean value. When true, the client requires the instance binding defined by this specification for admissions under this document. If absent or false, the document does not select this profile. A value of any other type is invalid.

A document selecting this profile MUST meet all of the following requirements:

The document MAY contain software_statements_uri as defined by [STATEMENT]. Metadata governing requested access, such as scope, remains subject to that specification. Every member, including the binding selection, is covered by the statement's digest.

4.1. Loopback Redirects

Every reviewed redirect URI MUST use http, have the host exactly 127.0.0.1 or [::1], and contain an absolute path. User information and fragments MUST NOT be present. A reviewed entry MUST NOT contain a port: the client uses the port of its listener, which Section 7.3 of [RFC8252] lets the server accept. The document MAY list both address forms.

The server MUST compare a requested redirect with a reviewed entry using exact string matching, except for the port variation permitted by Section 7.3 of [RFC8252]. No other component can vary: the address form, path, and any query remain fixed. In particular, a wildcard path, a hostname resolving to loopback, an alternative numerical spelling of the address, and a different loopback address do not match.

The client MUST bind its listener only to the selected loopback interface, open it before sending the pushed authorization request, and close it when the transaction completes or is abandoned. It SHOULD obtain an available ephemeral port from the operating system. The authorization code is delivered to that listener; the authorization server MUST NOT fetch the redirect URI to test the listener.

5. Attester Trust and Evidence

An authorization server MUST establish attester trust independently of the request. For each accepted attester it MUST configure:

The server MUST use the tenant determined for the grant by its own trusted processing, as [STATEMENT] requires. A client-supplied tenant label is not sufficient. The server MUST NOT infer attester trust from a statement issuer's signature, from the client document, or from a key-location claim in the attestation. An iss, a jku or x5u header parameter ([RFC7515]), or a similar value in an unverified JWT MUST NOT cause unconfigured key discovery. Retrieval from a configured key source remains subject to external-retrieval protections and bounded cache reuse.

A server MAY also require, before accepting an attester for a client, that the reviewed document's client_attesters member ([ATTESTERS]) list that attester. This requirement adds to the configuration above and does not replace it. Of the key-trust policies of Section 2.1 of [ATTESTERS], only "AS-configured attester trust" is compatible with this profile: the configured key source remains the only source of keys, and the listed jwks_uri is compared with it but never retrieved. "Publisher-authorized key selection" infers attester trust from the client document, which the previous paragraph prohibits. Because Section 5.3 of [ATTESTERS] resolves keys only by kid against a JWK Set, an attester whose keys the server resolves through an x5c certificate chain cannot satisfy this requirement. The server evaluates the listing in the reviewed document's digested bytes, not in a separately retrieved copy. The statement's digest covers the listing, so the statement issuer reviews it, and a change to the listing requires a replacement statement (Section 8) and instance attestations over the new digest.

The server cannot observe how an attester reached its decision, so it relies on the evidence policy. An evidence policy is acceptable for reviewed-software admission only if it meets all of the following requirements:

A server MUST NOT accept for this profile an evidence policy that does not meet these requirements. A deployment MAY use weaker evidence for other purposes but MUST NOT report it as satisfying this profile.

A statement approves the document and the software that its publisher (the controller of the document URL's origin, or a delegate) associates with it, not a particular executable. The publisher decides which releases that association covers, under the evidence policy's treatment of updates, so a new release with unchanged metadata needs no new statement. This profile cannot enforce an issuer's approval of particular releases.

Attestation acquisition and platform evidence formats are out of scope. They require an interoperable agreement between the installation and its attester; the wire format below does not by itself supply a software-verification mechanism. Appendix A gives an implementation model and its prerequisites.

6. Instance Attestation

An instance attestation is a Client Attestation JWT (Section 4 of [ABCA]) with the following additional requirements. Section 4 of [ABCA] permits additional claims, and Section 13 of [ABCA] permits a profile its own typ. Together with the document's selection of this profile (Section 3), its type tells a server that this profile applies. Its typ JOSE header parameter MUST have the value cimd-instance-attestation+jwt, which is the media type of Section 16.5 without its application/ prefix. It MUST be digitally signed using an accepted asymmetric algorithm; a MAC or none MUST NOT be accepted. Its header and claims MUST contain no duplicate member names. Validation MUST apply [RFC8725].

The attestation contains the following claims. The sub, iat, exp, and cnf claims also retain the requirements of Section 4 of [ABCA].

iss:

REQUIRED. The attester's identifier, an HTTPS URL without a fragment. It is matched exactly against configured trust; URL normalization MUST NOT be used to broaden that match.

sub:

REQUIRED. It MUST be the exact client identifier URL.

aud:

OPTIONAL. If present, the receiving server MUST validate it under [RFC7519] against its own issuer identifier ([RFC8414]). The proof targets a particular endpoint (Section 6.2); the attestation can be usable at more than one trusting server.

iat:

REQUIRED. It is not an evidence timestamp, and an attester can round or randomize it as Section 11.1 of [ABCA] recommends.

exp:

REQUIRED. It MUST be later than iat. It bounds the age of the evidence behind the attestation, as the accepted evidence policy requires (Section 5).

cnf:

REQUIRED. The attested key ([RFC7800]), in the form Section 4 of [ABCA] requires.

cimd_digest:

REQUIRED. The metadata digest defined by [STATEMENT], computed over the document the attester evaluated. This claim has the same representation and comparison rules as in a software statement. Its use here records the attester's software-to-metadata association, not a second software review.

cimd_instance_policy:

REQUIRED. A string containing an absolute URI identifying the evidence policy under which the attester attested the instance key. The URI is an identifier, not a retrieval instruction. It MUST be compared exactly with an accepted policy identifier.

A server MUST reject an attestation whose exp has passed, or lies further in the future than the maximum evidence age it accepts for the attester and evidence policy, and MUST NOT reject an attestation only because its iat was rounded or randomized. No field supplied by the client can extend these bounds.

An attestation is not tied to a statement's jti, so a statement renewed over unchanged bytes need not cause re-attestation.

6.1. Validation

At each pushed authorization request, code redemption, and refresh, the authorization server MUST validate the instance attestation and its proof. It MUST verify all of the following before accepting the binding:

  • The attestation meets Section 6 and the applicable [ABCA] validation requirements.

  • The signature verifies with a key authorized for the exact iss, for this artifact type and accepted algorithm.

  • The attester and policy are currently accepted for this client identifier and tenant, and the key is not denied by local policy.

  • The request's client_id, the software statement's sub, and the attestation's sub are exactly equal.

  • The attestation's cimd_digest, the applicable software statement's cimd_digest, and the digest of the reviewed document are equal.

  • The attested key and the key of the DPoP proof are equal under the key-comparison rules of Section 7.3 of [ABCA].

On continuation, the recorded key, attester, policy, and tenant constraints of Section 7.2 also apply. The server MUST NOT treat an attestation for another digest as permission to update metadata without the software statement replacement required by Section 8.

6.2. Proof of Possession

The client sends the instance attestation in the OAuth-Client-Attestation HTTP header field and uses DPoP combined mode under Section 7.3 of [ABCA]. It MUST NOT also send the OAuth-Client-Attestation-PoP HTTP header field, and the server MUST reject a request under this profile that does. A dpop_jkt parameter alone is not a proof. The authentication method and its validation remain those defined by [ABCA]; this profile supplies the attestation's type and additional bindings.

The authorization server MUST require a server-issued DPoP nonce at the PAR endpoint and on every token request under this profile. It MUST enforce endpoint and method binding and reject replay of a proof within its acceptance window under [RFC9449]. Nonce challenges and retries use use_dpop_nonce and the DPoP-Nonce HTTP header field; they do not consume a code, rotate a refresh token, create an establishment, or advance the iat floor. A request rejected before the instance is authenticated, or rejected with use_fresh_attestation or temporarily_unavailable, has none of these effects either, so the client can retry with a fresh attestation.

If the pushed authorization request also carries dpop_jkt, its JWK thumbprint ([RFC7638]) MUST identify the attested key; otherwise the server rejects the request. A client MUST generate a new proof for each request, including a retry. TLS protects request contents. DPoP does not sign the request body, and implementations MUST NOT treat a valid proof as a signature over the redirect URI, PKCE challenge, or statement.

7. Runtime Admission

This section specifies processing at the pushed authorization request, authorization, and token endpoints when a grant is opened under this profile.

7.1. Pushed Authorization Request

The client MUST start every grant under this profile at the PAR endpoint. Its request MUST include client_id, response_type=code, redirect_uri, a PKCE code_challenge with code_challenge_method=S256, and a transaction-specific state. It MUST authenticate under Section 6.2. A request using a Request Object MUST meet [RFC9126] and MUST NOT provide conflicting parameter values; the following checks apply to the effective authorization request.

The client presents its software statement using software_statement as defined by [STATEMENT], or the server obtains a statement through that specification's pulled-statement mechanism.

Before returning a successful PAR response, the server MUST:

  1. Validate request syntax and the client identifier, resolve the applicable tenant, and authenticate the instance under Section 5, Section 6, and Section 6.2. Checks needing no client-controlled retrieval precede such retrieval.

  2. Validate the selected statement under [STATEMENT], including issuer and tenant policy, audience, effective expiry, permission for runtime presentation, refusal records, and the applicable iat floor. If statements are pulled, step 3 resolves the document first, since the document names where statements are published, and that specification's retrieval and selection rules apply.

  3. Resolve the Client ID Metadata Document and perform the digest and metadata checks of [STATEMENT]. Parse the same bytes it digested, enforce Section 4, and complete the cross-artifact checks of Section 6.1.

  4. Validate the requested redirect under Section 4.1, require PKCE S256, and evaluate the request against the reviewed metadata and authorization policy.

  5. Create or reuse an establishment under Section 7.2, bind the accepted request to it, and return a PAR response under [RFC9126].

For step 1, authentication establishes the attester, policy, client identifier, and attested key; it is not yet reviewed-software admission. An attestation whose digest has not been checked cannot establish the client. The ordering of statement checks before client-controlled retrieval in [STATEMENT] applies once a statement is available. External-retrieval bounds, HTTP caching rules ([RFC9111]), and protection against server-side request forgery from [STATEMENT] and [CIMD] apply throughout.

The server MUST NOT fall back to review-only or unreviewed admission for the same request if any required check fails. A request that carries no instance attestation for a document selecting this profile is an example: the server learns from the document (step 3) that this profile applies, then rejects the request with invalid_client. If no acceptable statement is available, it returns statement_required. A failed request MUST NOT advance the statement's iat floor or alter an existing establishment.

7.2. Establishment

An establishment records all state required by [STATEMENT] and, in addition:

  • That this instance-binding profile governs the grant.

  • The exact attester identifier and evidence-policy identifier.

  • The attester trust decision and the attestation effective expiry most recently accepted.

The proven key is the attested key, which is also the DPoP key. A server MAY reuse an establishment only when the reuse conditions of [STATEMENT] hold and the profile, attester, policy, and tenant also match. Individual authorization transactions still retain separate PKCE challenges, redirects, state, resource-owner decisions, and continuation state.

The client identifier, tenant, key, attester, policy, and binding profile MUST remain fixed for the lifetime of the grant. Changing any of them requires a new grant opened through PAR. A fresh attestation that keeps these values can renew the grant's evidence, and a software statement replacement can update the grant's reviewed metadata only as Section 8 permits. Neither operation changes these values.

The server MUST bind its request_uri, code, refresh token, and other grant continuation state to the establishment. The establishment limits and counting rules of [STATEMENT] apply. Servers SHOULD also bound establishments per resource owner and tenant so that one installation cannot exhaust the capacity available to other installations.

7.3. Browser Authorization

The client MUST use an external user-agent under [RFC8252]. The browser authorization request MUST use the request_uri from the PAR response and the same client_id. It MUST NOT carry the software statement, instance attestation, or an instance proof. The server MUST use the stored PAR parameters and MUST NOT allow front-channel parameters to change the redirect, PKCE challenge, key binding, or tenant.

The server MUST reject a direct authorization request without a PAR request_uri governed by this profile when the client document selects this profile or server policy requires it. A statement pulled at the authorization endpoint cannot create an exception to that requirement.

The server authenticates the resource owner and applies authorization policy independently of the software and instance checks. It MUST return the authorization response with the issuer identifier defined by [RFC9207]. The client MUST validate that identifier and state against the transaction before redeeming a code. Callback validation and OAuth security requirements in [RFC8252] and [RFC9700] continue to apply.

7.4. Authorization Code Redemption

The client sends grant_type=authorization_code, the code, the same client_id and redirect_uri, and the PKCE code_verifier. It MUST authenticate with a currently acceptable instance attestation and a fresh proof under the recorded key. It MUST NOT send software_statement on this request, as [STATEMENT] prohibits a presentation during code redemption.

Before issuing tokens, the server MUST verify the code and PKCE binding and every fixed establishment value in Section 7.2. It MUST re-evaluate both trust decisions, require the recorded statement to be unexpired and not refused, and confirm that the current Client ID Metadata Document still matches its recorded digest and meets Section 4. Retrieval and cache reuse use the freshness bounds of [STATEMENT]. The attestation MUST match that digest and be within its effective expiry.

If the metadata changed or the recorded statement needs replacement, the client MUST start a new PAR transaction; code redemption cannot replace the governing review. This includes a digest change made by another grant's refresh, for which [STATEMENT] rejects the code with invalid_grant. A raised iat floor alone does not invalidate a code already bound to an acceptable recorded statement.

The server MUST issue tokens only within the user's authorization, tenant policy, and reviewed metadata. It MUST bind any refresh token to the establishment, and MUST issue access tokens, at redemption and on refresh (Section 8), bound to the proven key with a token_type of DPoP (Section 5 of [RFC9449]). The effective expiry of each access token, whether the token is a JWT or an opaque reference, MUST NOT be later than the attestation effective expiry accepted for the request that obtained it. A client holding a refresh token therefore refreshes, with a fresh attestation, at least as often as its attester's evidence age allows, and a client without one starts a new authorization request at the PAR endpoint. A resource server that does not accept DPoP-bound access tokens cannot be used under this profile. A DPoP proof shows possession of the attested key at the resource server; it does not show that the software was re-evaluated at that moment.

8. Refresh

Every refresh request MUST carry the original client identifier, the refresh token, a current instance attestation, and a fresh DPoP proof under the establishment's proven key. The server MUST authenticate the instance, verify the refresh-token binding, and enforce the fixed values of Section 7.2 before accepting any replacement statement.

On every refresh the server MUST require a current, unexpired, unrefused software statement and re-evaluate its issuer trust decision. This strengthens the optional statement-currency check of [STATEMENT]. It MUST also verify that the currently served document matches the applicable statement and attestation digests and continues to meet Section 4. Removal of the binding member or a change to another authentication method ends continuation under this profile, and the refresh is rejected with invalid_grant without seeking a replacement, as [STATEMENT] rejects a refresh whose document no longer carries the proven key.

The recorded statement can remain applicable while it is unexpired, not refused, and matches the current document, even if a newer statement has raised the iat floor for new admissions. If it no longer qualifies, a replacement is required. The client can present a replacement in software_statement or, for an establishment created from a pulled statement, the server pulls one as [STATEMENT] specifies. A request carrying the same iss and jti as the recorded statement is a recheck, not a replacement.

A replacement MUST satisfy the replacement validation of [STATEMENT], including identical statement iss and sub, a later iat, and current metadata. Its decision MUST apply to the establishment's recorded tenant and runtime use. Instead of authorizing a document key or preserving the public-client conditions of [STATEMENT], the replacement MUST preserve this profile and authorize the establishment's proven key through a current attestation from the recorded attester under the recorded policy. The replacement and attestation MUST name the same current metadata digest. A replacement cannot expand access beyond the original grant, resource-owner authorization, or current server policy.

On success, the server MUST atomically update the recorded statement, metadata, digest, and trust decisions and apply the concurrency rules of [STATEMENT] for replacements. It also records the newly accepted attestation effective expiry. A failed attempt MUST NOT replace the recorded binding or rotate a refresh token. This does not prevent the server from recording a withdrawal or trust removal learned during processing, or applying independent refresh-token replay protections.

Attestation renewal for the proven key is not key rotation and does not reset the iat floor or an establishment count.

9. Withdrawal and Trust Changes

A known refusal record for the software statement is enforced as [STATEMENT] requires. A current acceptable replacement can restore continuation only under Section 8. A server using a statement withdrawal mechanism SHOULD consult it at code redemption and refresh within that mechanism's freshness rules. Failure to consult it does not clear an existing refusal.

Because Section 6.1 checks current attester trust and local denial rules at each pushed authorization request, code redemption, and refresh, removing an attester's authorization for this client and tenant, removing the policy, or denying the instance key prevents further use of the affected binding. A fresh attestation does not override those decisions. A deployment that cannot refresh trust data MUST NOT accept it beyond a configured maximum staleness bound.

This specification defines no interoperable attestation or instance revocation protocol. Deployments MAY use independently established mechanisms or local denial lists. In their absence, attestation effective expiry bounds acceptance of evidence that has become stale without the server learning of it. Withdrawal of a review, removal of trust, and expiry of evidence do not themselves revoke access tokens already issued, so deployments requiring prompt enforcement need short token lifetimes or independent token revocation.

10. Exceptions to Software Statement Processing

For establishments governed by this specification, the following rules replace or add to the corresponding rules of [STATEMENT]:

Table 1
Section Rule Under this profile
4 A required issuer configured for software whose documents are presented review-only excludes that software from the tenant. A presentation processed under Section 7.1 is not review-only, so a current statement from the required issuer can admit the software.
5.2 A statement pulled at the authorization endpoint binds the presenter at code redemption. The binding is set at the PAR endpoint; an authorization request without a PAR request_uri governed by this profile is rejected (Section 7.3).
5.3, 5.5 The statement and the document are checked before the proof. The instance is authenticated first (Section 7.1, step 1). Statement and document checks follow, and checks needing no client-controlled retrieval still precede such retrieval.
5.2, 5.4.1, 5.5 A request without an acceptable statement can proceed under the policy for unreviewed clients, a review-only presentation proceeds as a client presenting no statement, and a digest mismatch can proceed without the statement. No fallback: any failed check rejects the request (Section 7.1).
5.4 The proven key appears in the reviewed document's jwks or at its jwks_uri. The proven key is the attested key (Section 6.1), and the document carries no key material (Section 4).
5.4.1 A redirection URI another application could claim makes a presentation review-only, and a document declaring none is bound by its redirection URIs. A presentation processed under Section 7.1 whose redirects meet Section 4.1 is not review-only. The client is confidential and authenticates with the method of Section 3, so the public-client rules do not apply.
5.6 Expiry after presentation does not invalidate an establishment, and redemption checks the client identifier and key. Redemption also requires the recorded statement to be unexpired and unrefused, and the current document to match the recorded digest (Section 7.4).
5.6.1 A current statement on refresh is a local-policy option, the document is checked for the proven key, and its digest is checked only for a replacement. Every refresh requires a current statement, re-checks the document against the recorded digests, and verifies a current attestation of the key instead of its presence in the document (Section 8).
8.3 Code redemption is rejected with invalid_request, invalid_grant, or, at the establishment bound, invalid_client. Redemption can also return invalid_client or invalid_client_attestation for failed authentication, statement_required, use_fresh_attestation, or temporarily_unavailable (Section 11).
8.4 A client not admitted on a statement receives statement_required. A missing or invalid required pushed authorization request is rejected with invalid_request (Section 11).

Code redemption and refresh continue an establishment and are not new token-endpoint presentations, so the rejection in [STATEMENT] of a token-endpoint presentation from a client whose document carries no key material is unchanged. All other requirements of [STATEMENT] continue to apply. This specification applies equally to presented and pulled statements. It adds no requirement to issue statements or implement [REGISTRATION].

A supporting server MUST NOT infer this profile's assurance from successful generic client authentication without all of this specification's checks.

11. Error Responses

A rejection uses the error response format and HTTP status codes specified for the endpoint where it occurs:

The error rules of [STATEMENT], [ABCA], and [RFC9449] also apply. This specification defines no new error code.

11.1. Error Codes

The following error codes apply to pushed authorization requests, code redemption, and refresh, except where a condition names a particular endpoint. They are defined by Section 5.2 of [RFC6749] (invalid_request, invalid_client, and invalid_grant), Section 7.4 of [ABCA] (use_fresh_attestation), Section 8 of [RFC9449] (use_dpop_nonce), and [STATEMENT] (statement_required, and temporarily_unavailable at the token and pushed authorization request endpoints, extending Section 4.1.2.1 of [RFC6749]). Other OAuth errors, such as invalid_scope, continue to apply to their respective failures.

invalid_request:

Malformed or conflicting request parameters, or a software_statement parameter on code redemption.

invalid_client:

Missing or unacceptable attestation, untrusted attester or policy, a request carrying the OAuth-Client-Attestation-PoP header field, a DPoP proof under a key other than the attested key, or, at the PAR endpoint, a request carrying an instance attestation for a document that does not select this profile or violates Section 4.

use_fresh_attestation:

An otherwise valid attestation whose exp has passed, or that names a digest other than that of the document currently served while that document matches the applicable statement, which this profile treats as not fresh enough (Section 7.4 of [ABCA]).

use_dpop_nonce:

Missing or unacceptable server DPoP nonce.

invalid_grant:

At redemption or refresh, a validly authenticated instance does not match the recorded key, attester, policy, or client; or, at redemption, the current document no longer matches the recorded digest, or that digest differs from the one recorded with the code ([STATEMENT]); or, at refresh, the current document no longer selects this profile or meets Section 4.

statement_required:

A required statement is missing, expired, refused, or superseded, or, at refresh, a needed replacement is missing or unacceptable.

temporarily_unavailable:

A retrieval needed for validation temporarily fails.

Invalid statements and reviewed documents at the PAR endpoint otherwise use the error rules of [STATEMENT]. At refresh, an unacceptable replacement uses statement_required as in [STATEMENT]. A document exceeding a configured size bound is not a transient failure, and the server uses the non-transient retrieval and refresh errors of [STATEMENT]. An invalid or expired code or refresh token, failed PKCE check, or mismatched redemption redirect uses invalid_grant.

A DPoP proof that fails the checks of Section 4.3 of [RFC9449] is rejected with invalid_dpop_proof (Section 5 of [RFC9449]), and a missing or unacceptable nonce with use_dpop_nonce, in place of any code listed above, as [STATEMENT] provides for proof-mechanism errors. A valid proof under a key other than the attestation's cnf key is not an invalid proof: authentication fails (Section 7.3 of [ABCA]), and the request is rejected with invalid_client, or with invalid_client_attestation as Section 7.4 of [ABCA] permits. At code redemption and refresh, an instance that authenticates under a key other than the establishment's recorded key fails the grant binding and is rejected with invalid_grant.

A request that fails a required client_attesters listing (Section 5) is rejected with invalid_client_attestation. Such a request has a listing that is malformed, omits the attester, or names a jwks_uri that does not match the configured key source (Section 5.3 of [ATTESTERS]). As Section 5.4 of [ATTESTERS] requires, that code also replaces invalid_client for each other attestation failure for which Section 7.4 of [ABCA] permits it. Retrieval failures are not listing failures: they keep the error codes of this section and [STATEMENT], including temporarily_unavailable. The order of Section 11.2 still applies. The listing is checked in the reviewed document, after the checks of step 1 of Section 7.1, so a response from that step, such as use_fresh_attestation, does not indicate whether the attester is listed.

A use_dpop_nonce response MUST include the DPoP-Nonce HTTP header field.

11.2. Error Precedence and Disclosure

Servers MUST check basic request syntax before reporting errors requiring authentication. They MUST authenticate the instance before reporting errors about a code, refresh token, or the review governing that grant. Within authentication, they MUST verify attester identity, signature, and policy before returning use_fresh_attestation. Nonce challenges MAY precede completion of authentication and MUST NOT reveal tenant trust configuration. When several failures remain at one stage, a server MAY choose any applicable error without disclosing additional failed checks.

Details of configured issuers, attesters, evidence policies, and tenant restrictions MUST NOT be exposed in error descriptions to unauthenticated callers, as [STATEMENT] requires of its issuer trust configuration.

11.3. Authorization Endpoint

At the authorization endpoint, a missing or invalid required pushed authorization request is rejected with invalid_request. The server MUST NOT redirect an error unless it has validated the redirect under the applicable client metadata and transaction. Front-channel carriage of the statement or instance-attestation artifacts is rejected with invalid_request.

12. Examples

The following examples are non-normative. In the HTTP examples, JWTs and opaque protocol values are shown as placeholders in angle brackets. The metadata digest below is computed over the UTF-8 bytes of the displayed client document, using LF line endings, two-space indentation, and one final LF after the closing brace.

12.1. Reviewed Client Metadata

The following is an example of a Client ID Metadata Document that selects this profile:

{
  "client_id": "https://cli.example/client.json",
  "client_name": "Example CLI",
  "software_statement_instance_binding": true,
  "token_endpoint_auth_method": "attest_jwt_client_auth_dpop",
  "grant_types": ["authorization_code", "refresh_token"],
  "response_types": ["code"],
  "redirect_uris": ["http://127.0.0.1/callback"],
  "scope": "projects.read",
  "software_statements_uri": "https://cli.example/reviews.json"
}

The server retrieves a statement for this identifier and these exact bytes. The document's port-free callback entry permits a transaction-specific port under Section 4.1.

12.2. Instance Attestation

The following is an example of the decoded header and payload of an instance attestation:

{
  "typ": "cimd-instance-attestation+jwt",
  "alg": "ES256",
  "kid": "attester-2026-10"
}
{
  "iss": "https://attester.example",
  "sub": "https://cli.example/client.json",
  "iat": 1792886400,
  "exp": 1792886700,
  "cimd_digest": "SvGs0Mf5jHoShvhZQdHsFxivqUgzylxKr5ppf4Kt-W0",
  "cimd_instance_policy": "https://attester.example/policy/cli/v1",
  "cnf": {
    "jwk": {
      "kty": "EC",
      "crv": "P-256",
      "x": "_bquDzEXibtIvC6ZswQz5Lwxb2dtGTktsxQKJYzCn5M",
      "y": "tt4th1jwXV4P_YUWtGNzYV61atziwiJsm9XOkQqqH5M"
    }
  }
}

The public key represents one installation; it is absent from the shared document.

12.3. PAR and Redemption

The following is an example of a pushed authorization request that the client sends after obtaining a DPoP nonce (line breaks for display purposes only):

POST /par HTTP/1.1
Host: as.example
Content-Type: application/x-www-form-urlencoded
OAuth-Client-Attestation: <instance-attestation>
DPoP: <proof-for-PAR-with-server-nonce>

client_id=https%3A%2F%2Fcli.example%2Fclient.json
&response_type=code
&redirect_uri=http%3A%2F%2F127.0.0.1%3A51004%2Fcallback
&scope=projects.read
&code_challenge=<S256-challenge>
&code_challenge_method=S256
&state=<transaction-state>

Here the server pulls the software statement. It binds the accepted request, key, attester, policy, and tenant to its returned request_uri. After authorization in the browser, the client receives a code at http://127.0.0.1:51004/callback and validates the response issuer and state. The following is an example of the request that redeems the code (line breaks for display purposes only):

POST /token HTTP/1.1
Host: as.example
Content-Type: application/x-www-form-urlencoded
OAuth-Client-Attestation: <current-instance-attestation>
DPoP: <new-proof-for-token-endpoint-with-server-nonce>

grant_type=authorization_code
&client_id=https%3A%2F%2Fcli.example%2Fclient.json
&code=<authorization-code>
&redirect_uri=http%3A%2F%2F127.0.0.1%3A51004%2Fcallback
&code_verifier=<PKCE-verifier>

The server verifies the proven key and all continuation checks. It does not accept another installation's valid attestation for this code.

12.4. Refresh and Replacement

The following is an example of a refresh request (line breaks for display purposes only):

POST /token HTTP/1.1
Host: as.example
Content-Type: application/x-www-form-urlencoded
OAuth-Client-Attestation: <current-instance-attestation>
DPoP: <new-proof-for-token-endpoint-with-server-nonce>

grant_type=refresh_token
&client_id=https%3A%2F%2Fcli.example%2Fclient.json
&refresh_token=<refresh-token>

If the review has expired, the server pulls a current replacement as [STATEMENT] permits for a grant established from a pulled statement. If the replacement names changed metadata, the attestation needs to name that same new digest while retaining the recorded key, attester, and policy. Otherwise the refresh fails without changing the binding.

13. Authorization Server Metadata

This specification defines the following authorization server metadata member under [RFC8414]:

software_statement_instance_binding_supported:

OPTIONAL. Boolean value indicating whether the authorization server supports this specification. If omitted, the default value is false. A server advertising true MUST implement the requirements of this specification. Support does not promise acceptance of any particular client, statement issuer, attester, evidence policy, or tenant.

A supporting server MUST publish its pushed_authorization_request_endpoint, include attest_jwt_client_auth_dpop in token_endpoint_auth_methods_supported, advertise S256 in code_challenge_methods_supported, and publish dpop_signing_alg_values_supported ([RFC9449]) and client_attestation_signing_alg_values_supported (Section 8 of [ABCA]). It MUST support [RFC9207] and publish authorization_response_iss_parameter_supported as true.

A client MUST confirm support for this specification before starting a grant under it. The generic attestation method advertisement alone is insufficient. This profile requires PAR for its clients even when the server also serves other clients without PAR; it does not require the server's global require_pushed_authorization_requests value to be true.

14. Security Considerations

The security requirements of [STATEMENT], [ABCA], [CIMD], [RFC8252], and [RFC9700] apply. This section describes the additional trust boundary introduced by this specification.

14.1. Software Evidence and Key Use

A valid signature proves that an accepted attester made an assertion; it does not improve the evidence behind it. An attester accepting self-reported executable hashes would let a copied statement and an arbitrary key satisfy the binding. The evidence and mapping requirements in Section 5 prevent that substitution only when the deployment actually enforces them.

A key's non-exportability does not prove which process can use it. An acceptable evidence policy therefore requires key storage and any signing broker to restrict use to the software instance the policy covers (Section 5). A general signing service reachable by arbitrary local processes would let unreviewed software authenticate through an approved installation. A signing broker therefore exposes constrained operations rather than arbitrary signing: it produces proofs for the authorization server only within its own processing of an OAuth transaction, and proofs for resource requests only for resource endpoints the caller is authorized to reach and only with that caller's own access token. A broker that handles authorization for another process binds the authenticated caller, intended authorization server, callback, PKCE verifier, and resulting grant to one local session. Remote attestation of a device without an application-to-key binding has the same limitation.

This profile cannot ensure benign user intent, prevent an approved application from being used as a proxy, or preserve an assurance after compromise of the platform on which its evidence depends. A server MUST present assurances no stronger than the accepted policy supports. Plugins, scripts, dynamic libraries, debuggers, and injected code can change the effective software identity and require explicit treatment in that policy.

14.2. Loopback and Transaction Theft

An attacker can attempt to occupy a loopback port, intercept a response, or initiate its own authorization transaction using the published client identifier. PKCE and proof of the recorded key protect redemption of an intercepted code. Admission of a new transaction additionally requires an acceptable instance attestation; PKCE or an unattested DPoP key alone supplies no software identity.

The client MUST keep its verifier and transaction state confidential and unpredictable as their respective specifications require. A launcher handling authorization for another process acts as the signing broker of Section 14.1.

14.3. Downgrade Prevention

A server requiring reviewed software for a client namespace or tenant MUST enforce that requirement even when the requester omits every review artifact or presents an earlier document. A server requiring this binding MUST reject attempts to open a grant under an alternative authentication method, through a direct authorization request, or through another grant type. These requirements MUST be based on server policy, not inferred only from artifacts a requester can withhold.

The server MUST enforce the reviewed binding selection on every new admission under that document. A deployment permitting unrelated unreviewed clients MAY continue to do so under its own policy, but a failed request under this profile is rejected rather than admitted under that policy (Section 7.1). Any independently admitted unreviewed client carries none of the assurance of this specification.

Existing grants retain their recorded binding (Section 3, Section 7.2). A server implementing only [STATEMENT] continues to reject these clients where review is required.

14.4. Artifact Substitution and Key Separation

The distinct attestation type, digest binding, subject equality, and fixed establishment values prevent a generic attestation or one for another reviewed document from being substituted. Implementations MUST apply mutually exclusive validation rules for software statements and instance attestations. Software-statement signing keys retain the separation requirements of [STATEMENT] and MUST NOT sign instance attestations, even if one organization performs both roles.

Attester authorization is scoped independently to client namespaces and tenants. An over-broad attester can undermine the binding for every namespace for which it may issue instance attestations. A statement issuer and an attester colluding or both being compromised can make false assertions within the authority the server has assigned them.

14.5. Freshness and Availability

Short effective lifetimes limit stale evidence but make attester availability important. A fresh proof demonstrates current access to a key, not that software was re-evaluated at proof time.

Servers MUST enforce finite evidence and trust-data reuse bounds. A failure to retrieve metadata, reviews, or trust updates MUST NOT extend a recorded expiry or remove a refusal. An access token cannot outlive the attestation accepted when it was issued (Section 7.4), but it can outlive a review withdrawn or attester trust removed after issuance (Section 9).

Metadata digest binding can require coordinated publication of a new document, review, and attestation (Appendix B). During an incomplete transition a request fails: [STATEMENT] does not treat the changed document as reviewed, and this profile does not fall back (Section 7.1).

14.6. Resource Exhaustion

Attestations do not remove the need for bounded document retrieval, statement selection, proof replay caches, and PAR storage. Servers SHOULD limit pending PAR transactions separately from the limits of [STATEMENT] on establishments. Rate limits SHOULD account for client, instance key, tenant, and authenticated resource owner as available. An attester SHOULD limit enrollment and renewal so one approved installation cannot obtain unlimited keys to evade per-key controls.

15. Privacy Considerations

The privacy considerations of [STATEMENT] and Section 11 of [ABCA] apply.

An instance key reused at multiple servers can correlate installations across them. Clients SHOULD use separate instance keys for separate server relationships where the evidence mechanism permits, and SHOULD avoid adding stable installation identifiers unless needed by the deployment. This profile does not require a globally stable instance identifier or an attestation audience.

An attester may learn the target server from enrollment traffic, key-scoping choices, or timing even when no audience is carried. Deployments SHOULD minimize evidence and identifier disclosure to both attesters and authorization servers. An evidence-policy identifier can reveal enterprise management practices; it should identify policy semantics without embedding user or device identifiers.

Instance attestations and proofs MUST NOT be placed in browser URLs. Operators SHOULD avoid logging complete attestations, verifiers, codes, and refresh tokens. Audit records can retain the trust decisions, policy identifier, digest, and appropriately protected key identifiers without retaining credentials.

16. IANA Considerations

16.1. OAuth Dynamic Client Registration Metadata Registry

This specification requests registration of the following value in the "OAuth Dynamic Client Registration Metadata" registry established by [RFC7591]:

Client Metadata Name:

software_statement_instance_binding

Client Metadata Description:

Boolean value selecting attested instance-key binding for runtime admission using a software statement for a Client ID Metadata Document. It is defined for Client ID Metadata Documents and does not enable registration under this specification.

Change Controller:

IESG

Specification Document(s):

This specification, Section 4

16.2. OAuth Authorization Server Metadata Registry

This specification requests registration of the following value in the "OAuth Authorization Server Metadata" registry established by [RFC8414]:

Metadata Name:

software_statement_instance_binding_supported

Metadata Description:

Boolean value indicating support for attested instance-key binding of software statements for Client ID Metadata Documents.

Change Controller:

IESG

Specification Document(s):

This specification, Section 13

16.3. JSON Web Token Claims Registry

This specification requests registration of the following claim in the "JSON Web Token Claims" registry established by [RFC7519]:

Claim Name:

cimd_instance_policy

Claim Description:

Absolute URI identifying the evidence policy under which an attester associates an instance key with software identified by a Client ID Metadata Document.

Change Controller:

IESG

Specification Document(s):

This specification, Section 6

This specification also requests that the cimd_digest registration requested by [STATEMENT] list this specification (Section 6) as an additional reference.

16.4. OAuth Extensions Error Registry

This specification requests that IANA update the following entries in the "OAuth Extensions Error Registry" established by [RFC6749]. In each entry, the pushed authorization request error response, which can already carry the error under [RFC9126], is added to the usage locations, and this specification is added as a reference.

Error Name:

use_fresh_attestation

Error Usage Location:

pushed authorization request error response, in addition to the locations already registered

Related Protocol Extension:

OAuth 2.0 Attestation-Based Client Authentication

Change Controller:

IETF

Specification Document(s):

[ABCA], this specification (Section 11)

Error Name:

invalid_client_attestation

Error Usage Location:

pushed authorization request error response, in addition to the locations already registered

Related Protocol Extension:

OAuth 2.0 Attestation-Based Client Authentication

Change Controller:

IETF

Specification Document(s):

[ABCA], this specification (Section 11)

Error Name:

use_dpop_nonce

Error Usage Location:

pushed authorization request error response, in addition to the locations already registered

Related Protocol Extension:

Demonstrating Proof of Possession (DPoP)

Change Controller:

IETF

Specification Document(s):

[RFC9449], this specification (Section 11)

Error Name:

invalid_dpop_proof

Error Usage Location:

pushed authorization request error response, in addition to the locations already registered

Related Protocol Extension:

Demonstrating Proof of Possession (DPoP)

Change Controller:

IETF

Specification Document(s):

[RFC9449], this specification (Section 11)

16.5. Media Type Registration

This specification requests registration of the following media type in the "Media Types" registry, in the manner described in [RFC6838]:

Type name:

application

Subtype name:

cimd-instance-attestation+jwt

Required parameters:

n/a

Optional parameters:

n/a

Encoding considerations:

8bit. Values are JWTs in compact serialization.

Security considerations:

See Section 14 of this specification, Section 12 of [ABCA], and Section 11 of [RFC7519].

Interoperability considerations:

n/a

Published specification:

This specification

Applications that use this media type:

Native OAuth clients, client attesters, and authorization servers using CIMD software statements with attested instance keys.

Fragment identifier considerations:

n/a

Additional information:

Magic number(s): n/a. File extension(s): n/a. Macintosh file type code(s): n/a.

Person & email address to contact for further information:

Karl McGuinness, public@karlmcguinness.com

Intended usage:

COMMON

Restrictions on usage:

none

Author:

Karl McGuinness, public@karlmcguinness.com

Change controller:

IETF

16.6. Values Defined Elsewhere

The iss, sub, aud, iat, exp, and cnf claims are defined elsewhere and are not re-registered here. This specification uses the authentication method, HTTP fields, and error codes of [ABCA] without registering replacements.

17. References

17.1. Normative References

[ABCA]
Looker, T., Bastian, P., and C. Bormann, "OAuth 2.0 Attestation-Based Client Authentication", Work in Progress, Internet-Draft, draft-ietf-oauth-attestation-based-client-auth-12, , <https://datatracker.ietf.org/doc/html/draft-ietf-oauth-attestation-based-client-auth-12>.
[ATTESTERS]
McGuinness, K., "OAuth 2.0 Client Attester Endorsement", Work in Progress, Internet-Draft, draft-mcguinness-oauth-client-attesters-00, , <https://datatracker.ietf.org/doc/html/draft-mcguinness-oauth-client-attesters-00>.
[CIMD]
Parecki, A. and E. Smith, "OAuth Client ID Metadata Document", Work in Progress, Internet-Draft, draft-ietf-oauth-client-id-metadata-document-02, , <https://datatracker.ietf.org/doc/html/draft-ietf-oauth-client-id-metadata-document-02>.
[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/rfc/rfc2119>.
[RFC6749]
Hardt, D., Ed., "The OAuth 2.0 Authorization Framework", RFC 6749, DOI 10.17487/RFC6749, , <https://www.rfc-editor.org/rfc/rfc6749>.
[RFC6838]
Freed, N., Klensin, J., and T. Hansen, "Media Type Specifications and Registration Procedures", BCP 13, RFC 6838, DOI 10.17487/RFC6838, , <https://www.rfc-editor.org/rfc/rfc6838>.
[RFC7515]
Jones, M., Bradley, J., and N. Sakimura, "JSON Web Signature (JWS)", RFC 7515, DOI 10.17487/RFC7515, , <https://www.rfc-editor.org/rfc/rfc7515>.
[RFC7519]
Jones, M., Bradley, J., and N. Sakimura, "JSON Web Token (JWT)", RFC 7519, DOI 10.17487/RFC7519, , <https://www.rfc-editor.org/rfc/rfc7519>.
[RFC7591]
Richer, J., Ed., Jones, M., Bradley, J., Machulak, M., and P. Hunt, "OAuth 2.0 Dynamic Client Registration Protocol", RFC 7591, DOI 10.17487/RFC7591, , <https://www.rfc-editor.org/rfc/rfc7591>.
[RFC7636]
Sakimura, N., Ed., Bradley, J., and N. Agarwal, "Proof Key for Code Exchange by OAuth Public Clients", RFC 7636, DOI 10.17487/RFC7636, , <https://www.rfc-editor.org/rfc/rfc7636>.
[RFC7638]
Jones, M. and N. Sakimura, "JSON Web Key (JWK) Thumbprint", RFC 7638, DOI 10.17487/RFC7638, , <https://www.rfc-editor.org/rfc/rfc7638>.
[RFC7800]
Jones, M., Bradley, J., and H. Tschofenig, "Proof-of-Possession Key Semantics for JSON Web Tokens (JWTs)", RFC 7800, DOI 10.17487/RFC7800, , <https://www.rfc-editor.org/rfc/rfc7800>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/rfc/rfc8174>.
[RFC8252]
Denniss, W. and J. Bradley, "OAuth 2.0 for Native Apps", BCP 212, RFC 8252, DOI 10.17487/RFC8252, , <https://www.rfc-editor.org/rfc/rfc8252>.
[RFC8414]
Jones, M., Sakimura, N., and J. Bradley, "OAuth 2.0 Authorization Server Metadata", RFC 8414, DOI 10.17487/RFC8414, , <https://www.rfc-editor.org/rfc/rfc8414>.
[RFC8725]
Sheffer, Y., Hardt, D., and M. Jones, "JSON Web Token Best Current Practices", BCP 225, RFC 8725, DOI 10.17487/RFC8725, , <https://www.rfc-editor.org/rfc/rfc8725>.
[RFC9111]
Fielding, R., Ed., Nottingham, M., Ed., and J. Reschke, Ed., "HTTP Caching", STD 98, RFC 9111, DOI 10.17487/RFC9111, , <https://www.rfc-editor.org/rfc/rfc9111>.
[RFC9126]
Lodderstedt, T., Campbell, B., Sakimura, N., Tonge, D., and F. Skokan, "OAuth 2.0 Pushed Authorization Requests", RFC 9126, DOI 10.17487/RFC9126, , <https://www.rfc-editor.org/rfc/rfc9126>.
[RFC9207]
Meyer zu Selhausen, K. and D. Fett, "OAuth 2.0 Authorization Server Issuer Identification", RFC 9207, DOI 10.17487/RFC9207, , <https://www.rfc-editor.org/rfc/rfc9207>.
[RFC9449]
Fett, D., Campbell, B., Bradley, J., Lodderstedt, T., Jones, M., and D. Waite, "OAuth 2.0 Demonstrating Proof of Possession (DPoP)", RFC 9449, DOI 10.17487/RFC9449, , <https://www.rfc-editor.org/rfc/rfc9449>.
[RFC9700]
Lodderstedt, T., Bradley, J., Labunets, A., and D. Fett, "Best Current Practice for OAuth 2.0 Security", BCP 240, RFC 9700, DOI 10.17487/RFC9700, , <https://www.rfc-editor.org/rfc/rfc9700>.
[STATEMENT]
McGuinness, K., "CIMD Software Statement", n.d., <https://datatracker.ietf.org/doc/draft-mcguinness-oauth-cimd-sw-stmt>.

17.2. Informative References

[APPLE-APPATTEST]
Apple Inc., "Establishing your app's integrity", n.d., <https://developer.apple.com/documentation/devicecheck/establishing-your-app-s-integrity>.
[APPLE-APPCONFIG]
Apple Inc., "AppManaged", n.d., <https://developer.apple.com/documentation/devicemanagement/appmanaged>.
[APPLE-DEBUGGER]
Apple Inc., "Debugging tool entitlement", n.d., <https://developer.apple.com/documentation/bundleresources/entitlements/com.apple.security.cs.debugger>.
[APPLE-DYLD]
Apple Inc., "Allow DYLD environment variables entitlement", n.d., <https://developer.apple.com/documentation/bundleresources/entitlements/com.apple.security.cs.allow-dyld-environment-variables>.
[APPLE-ENCLAVE]
Apple Inc., "Protecting keys with the Secure Enclave", n.d., <https://developer.apple.com/documentation/security/protecting-keys-with-the-secure-enclave>.
[APPLE-KEYCHAIN]
Apple Inc., "TN3137: On Mac keychain APIs and implementations", n.d., <https://developer.apple.com/documentation/technotes/tn3137-on-mac-keychains>.
[APPLE-LIBVAL]
Apple Inc., "Disable Library Validation Entitlement", n.d., <https://developer.apple.com/documentation/bundleresources/entitlements/com.apple.security.cs.disable-library-validation>.
[APPLE-MDA]
Apple Inc., "Managed Device Attestation for Apple devices", n.d., <https://support.apple.com/guide/deployment/managed-device-attestation-dep28afbde6a/web>.
[APPLE-RUNTIME]
Apple Inc., "Hardened Runtime", n.d., <https://developer.apple.com/documentation/security/hardened-runtime>.
[APPLE-WWDC26]
Apple Inc., "Secure your apps with App Attest", WWDC26 Session 201, , <https://developer.apple.com/videos/play/wwdc2026/201/>.
[APPLE-XPC]
Apple Inc., "setCodeSigningRequirement(_:)", n.d., <https://developer.apple.com/documentation/foundation/nsxpcconnection/setcodesigningrequirement(_:)>.
[REGISTRATION]
McGuinness, K., "CIMD Software Statement Registration", n.d., <https://datatracker.ietf.org/doc/draft-mcguinness-oauth-cimd-sw-stmt-registration>.

Appendix A. Managed Command-Line Client Deployment

This appendix is non-normative. A managed desktop can implement the evidence boundary with a trusted launcher or enterprise agent and an enterprise attestation service. Other mechanisms are possible if they meet Section 5.

The enterprise enrolls the launcher through an authenticated management channel. It records a manifest, authorized by the controller of the CIMD URL's origin or its delegate, associating a signed package or exact artifact with that CIMD identifier, and approves it for the applicable evidence policy. The launcher uses platform facilities to authenticate the actual calling process and validate that association. It does not trust a process's own claim about its executable path or hash.

The launcher creates or provisions the instance key in protected storage and obtains an attestation through an authenticated exchange with the enterprise service. That service verifies the evidence, the binding to the key, and the document digest before issuing the attestation. The service's signing key is distinct from the instance key and is accepted through the authorization server's attester trust configuration.

For each authorization transaction, the launcher performs the OAuth exchange on behalf of the verified caller, as the signing broker of Section 14.1. It rechecks caller authorization when the key is used, including refresh, and protects returned tokens from other processes.

An implementation needs to address changes between checking software and using the key, dynamic code loading, and the ability of an executable the evidence policy covers to proxy requests for others. Platforms without reliable process identity and key-use isolation cannot obtain that assurance merely by running the launcher with more privileges. A script-based command-line client may require an execution environment whose policy covers its interpreter, script, and dependencies, or a narrower assurance than verified executable identity.

A.1. Example: macOS

This example uses macOS 27 or later on Apple silicon, with a launcher application for which App Attest is available [APPLE-WWDC26].

Software identity:

The publisher signs each release with an Apple-issued developer certificate, under the hardened runtime [APPLE-RUNTIME] and one signing identifier. A manifest served from the CIMD URL's origin and naming the publisher's Team ID and that identifier covers each such release. A manifest naming code directory hashes covers only the listed builds.

Key isolation:

The launcher is a per-user application whose provisioning profile authorizes a data protection keychain access group for the launcher alone. macOS grants such groups only through entitlements a provisioning profile authorizes, and only in a user context [APPLE-KEYCHAIN]. It creates a P-256 instance key in the Secure Enclave, from which key material cannot be transferred [APPLE-ENCLAVE], and keeps it under that access group, so the client cannot use the key directly.

Caller identification:

The client connects to the launcher over XPC. The launcher sets a code-signing requirement on the connection that requires an Apple-issued certificate chain, the publisher's Team ID, and the client's signing identifier, and the system invalidates a connection whose peer does not satisfy it [APPLE-XPC]. The launcher never relies on a process ID or a reported path.

Code injection:

The evidence policy requires that the client's signature carry no entitlement that disables library validation [APPLE-LIBVAL], lets the dynamic linker read DYLD_ variables [APPLE-DYLD], or lets a debugger obtain the client's task port (get-task-allow, [APPLE-DEBUGGER]). The client then loads only libraries signed by Apple or by its own team.

Launcher authentication:

Managed Device Attestation shows that the device is a genuine Apple device the organization manages [APPLE-MDA], not which program is reporting. The launcher therefore registers an App Attest key, which Apple certifies as belonging to the launcher [APPLE-APPATTEST]. To tie that key to the managed device, the launcher returns with the attestation a single-use secret that the device management service delivered through managed app configuration, which macOS applies only to an application with a matching code signature [APPLE-APPCONFIG]. Each later report, carrying the instance public key and the client's signing identity, bears an App Attest assertion.

Evidence and renewal:

No Apple attestation covers the instance key, so the enterprise service relies on the authenticated launcher for the statement that the key is in the Secure Enclave and usable only by the launcher. The launcher acts as the signing broker of Section 14.1. Before the maximum evidence age expires, it re-checks the device's management state and the client's signature and obtains an attestation on that new evidence.

Unsupported case:

A script run by a signed interpreter with unrestricted imports is not covered. The verified signature is the interpreter's, and library validation does not constrain the scripts and modules it reads. Such a client remains review-only under [STATEMENT].

Appendix B. Operational Consequences

This appendix is non-normative. It assumes an evidence policy whose maximum evidence age is eight hours.

Appendix C. Verification Scenarios

This appendix is non-normative. An implementation exercise should include the following cases in addition to successful admission and refresh:

Acknowledgments

This specification develops the attested-key extension point in [STATEMENT] and composes it with attestation-based client authentication. The initial deployment question was how a command-line application could retain loopback callbacks while demonstrating an association with reviewed software.

Author's Address

Karl McGuinness
Independent