| Status | Draft. |
| Version | 0.1.0, 2026-11-28 |
| Profile of | OpenID for Verifiable Credential Issuance 1.0 (OID4VCI), OpenID for Verifiable Presentations 1.0 (OID4VP), OpenID4VC High Assurance Interoperability Profile 1.0 (HAIP, Final, 24 Dec 2025) |
| Credential formats | SD-JWT (RFC 9901, Nov 2025) and SD-JWT VC (draft-ietf-oauth-sd-jwt-vc-27, 16 Nov 2026), format identifier dc+sd-jwt. ISO/IEC 18013-5 mdoc, optional (section 10). |
| Revocation | Token Status List (draft-ietf-oauth-status-list-21, in the RFC Editor queue, no RFC number yet) |
| Browser presentation | W3C Digital Credentials API (Working Draft 2026-09-04), through OID4VP Appendix A |
| Depends on | OCI-0 Core, OCI-1 Trust Registry |
| Used by | OCI-5 Consent Receipt, OCI-6 App Manifest |
| Reference implementation | packages/credentials (@oci/credentials), SD-JWT VC only |
1. Purpose
OCI-4 lets a government issue a credential, such as a national ID, to a resident’s wallet, and lets a relying party ask for only the facts it needs. It adds no new wire format. It picks options from OID4VCI, OID4VP, HAIP, SD-JWT VC and Token Status List, ties them to OCI-1 trust, and defines one credential type: the OCI national ID.
OCI-specific additions are marked OCI extension. Where OCI-4 departs from HAIP, it says so (section 4.3).
An earlier draft of this spec used SD-JWT VC -18. The current draft, and the one the standards map lists, is -27. OCI-4 pins -27 (CORE-8.2). Only the parts that this spec relies on were re-read against -27 (media type, typ, vct, disclosable claims, cnf, status, key resolution); a full diff against -18 is still to do (section 13).
2. Roles and format choice
| Role | OCI-4 meaning |
|---|---|
| Credential issuer | An entity holding the OCI-1 credential_issuer trust mark. |
| Wallet | Software that holds credentials and keys for a resident. Supplied by a wallet provider (OCI-1 wallet_provider). |
| Relying party (verifier) | An entity holding the OCI-1 relying_party trust mark. |
| Resident | The holder. |
- CRED-2.1 SD-JWT VC in compact serialization is the primary format. Issuers, wallets and verifiers MUST support it. The JWS JSON serialization of SD-JWT MUST NOT be used. (HAIP 6.1 requires compact and makes JSON optional; OCI extension narrows it.)
- CRED-2.2 Names used here follow the sources: the SD-JWT VC media type is
application/dc+sd-jwt(SD-JWT VC 2.1), the JOSEtypisdc+sd-jwt(2.2.1), the key binding JWTtypiskb+jwt(RFC 9901 4.3), the status list tokentypisstatuslist+jwt(Token Status List 5.1), and the OID4VCI/OID4VP format identifier isdc+sd-jwt(OID4VCI A.3, HAIP 5.3.2).
3. Credential format
Profiles SD-JWT VC 2.2 and RFC 9901 section 4.
- CRED-3.1 The issuer-signed JWT MUST have header
typequal todc+sd-jwt, compared as an exact string. Verifiers MUST rejectvc+sd-jwt(the earlier value) andapplication/dc+sd-jwt. (OCI extension: SD-JWT VC -18 allowedvc+sd-jwtfor a transition. OCI 0.1 has no legacy credentials.) - CRED-3.2 The signature algorithm MUST be
ES256orPS256(CORE-5.1). Verifiers MUST rejectnone,HS*and anything else (CORE-5.2). The header MUST carry akid(CORE-5.3). - CRED-3.3 The payload MUST carry
iss,iat,exp,vctandcnf.issMUST be an entity identifier (CORE-3.1).cnfMUST containjwk, a public key, and MUST NOT contain a private key parameter.iatlater than now plus 60 seconds MUST be rejected, and so MUST an expiredexp(CORE-6.2, CORE-6.3). (SD-JWT VC makesiss,expandcnfoptional. OCI extension makes them required, as HAIP 6.1 does forcnfwhen holder binding is required.) - CRED-3.4 Each Disclosure MUST use a fresh random salt of at least 128 bits (RFC 9901 4.2.1 recommends this; OCI requires it).
- CRED-3.5
_sd_algMUST be absent orsha-256. Digests are the base64url SHA-256 of the US-ASCII bytes of the Disclosure string (RFC 9901 4.2.3). A digest MUST NOT appear more than once in a credential. Issuers MAY add decoy digests._sdarrays SHOULD be sorted. Verifiers MUST reject a Disclosure that is not a 3-element array (object property) or 2-element array (array element), whose name is_sdor..., or whose name already exists at that level. - CRED-3.6 These claims MUST NOT be selectively disclosed:
iss,nbf,exp,cnf,vct,vct#integrity,aka_vcts,status(SD-JWT VC 2.2.2.3). Issuers MUST NOT make them disclosable, and verifiers MUST reject a Disclosure that names one.
4. Trust and key discovery
- CRED-4.1 A verifier MUST accept a credential only if the issuer’s OCI-1 chain proves the
credential_issuertrust mark foriss(TR-4.2 to TR-4.6). A credential from an issuer without it MUST be rejected. - CRED-4.2 The verifier MUST verify the issuer signature only with keys that the issuer’s OCI-1 chain proves. (OCI extension. SD-JWT VC 2.5 defines JWT VC Issuer Metadata and
x5c. See 4.3.) - CRED-4.3 (OCI extension) An issuer MUST publish its credential signing keys as the JWK Set
metadata.federation_entity.oci_jwksin its entity configuration, and MUST hold thecredential_issuerrole trust mark (OCI-1 §10, TR-3.5). OpenID Federation 1.0 §5.2.1 forbidsjwksinfederation_entitymetadata, and Federation Entity Keys SHOULD NOT be used in other protocols (§3.1.1), so they MUST NOT sign credentials. OCI-7 SIG-3.3 uses the same parameter. Rotation follows CORE-5.6. - CRED-4.4 Verifier identity: the wallet MUST resolve the verifier’s OCI-1 chain and require the
relying_partytrust mark before it releases any credential. OID4VP requests carryclient_idwith prefixopenid_federation(openid_federation:https://shop.neighbour.example, OID4VP 5.9.3). Request objects are signed with a key from the verifier’s chain. Per OID4VP 5.9.3 the final verifier metadata comes from the trust chain after policy, the request MAY carry atrust_chainparameter, and the wallet MUST ignore anyclient_metadataparameter. OID4VP defines no federation entity type for verifiers, so OCI takes verifier metadata and keys from theopenid_relying_partyentity type (OCI extension).
4.3 Departures from HAIP
HAIP 6.1.1 requires the SD-JWT VC to contain the issuer’s signing certificate (x5c, without the trust anchor certificate), and HAIP 5 requires the x509_hash client identifier prefix for signed requests. OCI replaces both, as the source of trust, with OCI-1 federation. This is a deliberate departure: one trust system per country, no second PKI.
- CRED-4.5 The one rule for
x5c,x509_hashand federation keys (OCI extension): trust comes only from the OCI-1 chain. An issuer MAY includex5cso HAIP-only wallets can verify, and MUST include it when it claims HAIP conformance (HAIP 6.1.1). The leaf certificate’s public key MUST equal a key in the issuer’s chain-provenoci_jwks(CRED-4.3). An OCI verifier MUST verify with the chain-proven key and MUST reject the credential ifx5cis present and its leaf key matches no such key.x5calone never establishes trust; OCI verifiers do not validate X.509 paths. A verifier MAY also usex509_hashfor HAIP-only wallets. Underx509_hash, OID4VP 5.9.3 takes every verifier property except the key from the unsignedclient_metadata, so the request proves only control of a certificate, not an OCI identity or role. An OCI wallet MUST therefore NOT release a credential carrying an OCI LoA ofsubstantialorhighto a verifier identified only byx509_hash; it MAY release other credentials under HAIP rules. (Decided 2026-11-18.) - CRED-4.6 Everything else in HAIP 1.0 applies unchanged: ES256, SHA-256, DPoP, PAR, PKCE
S256, key attestation support, DCQL,dc_api.jwt,direct_post.jwt, encrypted responses (ECDH-ES P-256,A128GCMandA256GCM).
5. Presenting and verifying
Profiles RFC 9901 section 7 and OID4VP Appendix B.3.
issuer-signed JWT ~ disclosure 1 ~ ... ~ disclosure n ~ KB-JWT
- CRED-5.1 A presentation of a credential with
cnfMUST end in a key binding JWT (KB-JWT). A verifier MUST reject a presentation without one. The check depends on the verifier’s policy in RFC 9901 7.3; OCI sets that policy to “always” for presentations. - CRED-5.2 The KB-JWT has header
typkb+jwtand claimsiat,aud,nonceandsd_hash, all required. It MUST be signed with the key incnf.jwk, with an algorithm from CORE-5.1.sd_hashis the base64url SHA-256 of the US-ASCII string made of the issuer-signed JWT,~, and each presented Disclosure followed by~(RFC 9901 4.3.1). A verifier MUST recompute it. - CRED-5.3
audMUST equal the verifier’s Client Identifier, for exampleopenid_federation:https://shop.neighbour.example. Over the Digital Credentials API it MUST be the verifier’s origin prefixed withorigin:, for exampleorigin:https://shop.neighbour.example, even for signed requests (OID4VP B.3.6, A.4). - CRED-5.4
nonceMUST equal the nonce from the request. The verifier MUST generate a fresh, unpredictable nonce for every request, MUST accept it once, and MUST discard it when the request expires (OID4VP 5.2, 14.1). - CRED-5.5 The verifier MUST check that the KB-JWT
iatis no later than now plus 60 seconds and no earlier than the verifier’s window. The window SHOULD be 5 minutes (OCI extension; RFC 9901 7.3 leaves the window to the verifier). - CRED-5.6 The verifier MUST reject a presentation in which any Disclosure is not referenced by a digest, is sent twice, or has a digest that does not match (a tampered Disclosure is both unreferenced and unmatched). A digest with no Disclosure is ignored: it is a decoy or a claim the holder withheld. A verifier MUST NOT treat a missing claim as proof that the issuer left it out (SD-JWT VC 4.6).
- CRED-5.7 The verifier MUST check
vctagainst the types it asked for inmeta.vct_values(OID4VP B.3.5). - CRED-5.8 A holder MUST NOT present a Disclosure that was not issued, MUST NOT send a Disclosure twice, and MUST NOT use a key other than the
cnfkey. A holder MUST reject an SD-JWT that already has a KB-JWT when received from an issuer (RFC 9901 7.2). - CRED-5.9 Every verification failure returns one error code and no claim values (CORE-7.3).
6. Revocation and suspension
Profiles Token Status List (draft -21), JWT form.
- CRED-6.1 Every OCI credential MUST carry
statuswithstatus.status_list.idx(non-negative integer) andstatus.status_list.uri(anhttpsURI). A verifier MUST reject a credential withoutstatusand MUST fail closed if it cannot check it. (OCI extension: the draft says verifiers SHOULD check; HAIP 6.1 saysstatusandexpare options.) - CRED-6.2 The Status List Token is a JWT with header
typstatuslist+jwtand claimssub,iat,exp,ttlandstatus_list.subMUST equalstatus.status_list.uri. The verifier MUST check the signature,typ,subandexp, and MUST reject a token withoutexp. (The draft makesexpandttlrecommended; OCI makesexprequired.) The media type isapplication/statuslist+jwt. - CRED-6.3 The token MUST carry
issequal to the credential’siss, and MUST be signed with a key proven for that issuer under CRED-4.2. (OCI extension: the draft does not requireiss. OCI ties the list to the issuer so that a list from another party cannot answer for a credential.) - CRED-6.4 The verifier fetches the token. It MUST NOT follow redirects (OCI extension: the draft allows them, subject to its section 11.4), and the fetch limits of TR-7.1 to TR-7.3 apply. It MAY cache a token until the earlier of
expandiat + ttl. If the fetch or any check fails, the verifier MUST reject the credential. - CRED-6.5 A verifier MUST reject a credential whose
idxis outside the list. It MUST bound the decompressed size oflst(the reference implementation allows 2 MiB) and MUST reject a list that exceeds it or is not valid zlib data. - CRED-6.6 Status values:
0x00VALID,0x01INVALID (revoked),0x02SUSPENDED (Token Status List 7.1). A verifier MUST reject INVALID and SUSPENDED. It MUST also reject any other value it does not understand, including0x03and0x0Cto0x0F, which the draft reserves for applications. OCI 0.1 assigns them no meaning. SUSPENDED credentials can return to VALID. INVALID is final. - CRED-6.7 The issuer MUST assign each credential a unique, unpredictable
idx(HAIP 6.1). Each credential in a batch (CRED-8.4) gets its ownidx. - CRED-6.8
bitsMUST be 1, 2, 4 or 8. OCI issuers SHOULD usebitsof 2 so that INVALID and SUSPENDED both fit.lstis the base64url (no padding) encoding of the zlib (RFC 1950) compression of the byte array. Entryidxoccupiesbitsbits starting at bitidx * bits, counting from the least significant bit of byte 0 (draft 4.1, 11.1). - CRED-6.9 A status list MUST hold enough entries that its size does not reveal how many credentials the issuer has issued. The minimum is an open question (section 13).
7. The OCI national ID credential
- CRED-7.1 The credential type is
vct=https://oci.world/vct/national_id/v1. The URL form follows the OCI-1 trust mark style (https://oci.world/tm/role/credential_issuer): lower case with underscores, and a trailing/v1.vctis a Collision-Resistant Name (SD-JWT VC 2.2.2.1) and SD-JWT VC recommends a newvctfor incompatible changes, so a breaking change makes/v2. Publishing Type Metadata at that URL (SD-JWT VC section 4) is an open question. - CRED-7.2 Claims:
| Claim | Type | Disclosure | Meaning |
|---|---|---|---|
issuing_country | string | always visible | ISO 3166-1 alpha-2 (CORE-3.2) |
loa | string | always visible | low, substantial or high (CORE-4): the assurance of the identity proofing |
given_name | string | selective | OIDC Core 5.1 name |
family_name | string | selective | OIDC Core 5.1 name |
birthdate | string | selective | YYYY-MM-DD, OIDC Core 5.1 name |
nationality | string | selective | ISO 3166-1 alpha-2 |
id_number | string | selective | The resident’s foundational ID number |
age_over_18, age_over_21, age_over_65 | boolean | selective | Derived age claims (CRED-7.3) |
Every claim marked “selective” MUST be a Disclosure. The issuer MUST NOT put them in the issuer-signed payload, and a verifier MUST reject a national ID that does. The verifier gets only what the holder reveals. issuing_country and loa MUST be in the issuer-signed payload and MUST NOT be Disclosures; a verifier MUST reject a national ID that makes loa a Disclosure or omits loa (error missing_loa).
- CRED-7.3 The issuer computes
age_over_NNfrombirthdateat issuance, as whole years on the issuance date.age_over_NNis true when the age is at least NN, and false otherwise. The names follow ISO/IEC 18013-5age_over_NNdata elements. A relying party that only needs an age check MUST requestage_over_NNand MUST NOT requestbirthdate(CORE-7.1). A verifier MUST NOT infer an age from a missing claim. - CRED-7.4 A holder MAY reveal any subset of the selective claims.
- CRED-7.5 Because age claims are fixed at issuance, issuers SHOULD keep
expto 30 days or less and re-issue by batch (CRED-8.4). Afalseage claim can become wrong withinexp. - CRED-7.6 (OCI extension) A verifier MUST refuse a credential whose
loais higher than the LoA the issuer’s OCI-1 chain proves (TR-4.6), with errorloa_exceeds_issuer, so an issuer cannot claim more assurance than its accreditation. If the chain proves no LoA, anyloaclaim is refused.
7.6 Worked example (informative)
Values are fictional and shortened. Digests and signatures are not byte-exact. Issuer https://id.home.example (country XT) issues to a wallet, then a verifier at https://shop.neighbour.example (country XC) asks for an age check.
Issuer-signed JWT, header and payload:
{ "alg": "ES256", "typ": "dc+sd-jwt", "kid": "Zr0f...thumbprint" }
{
"iss": "https://id.home.example",
"iat": 1795000000,
"exp": 1797592000,
"vct": "https://oci.world/vct/national_id/v1",
"issuing_country": "XT",
"loa": "high",
"cnf": { "jwk": { "kty": "EC", "crv": "P-256", "x": "...", "y": "...", "kid": "Hq3a...thumbprint" } },
"status": { "status_list": { "idx": 4711, "uri": "https://id.home.example/status/1" } },
"_sd_alg": "sha-256",
"_sd": ["1qJ...", "5Vd...", "Bz8...", "KkP...", "Mw2...", "QeA...", "T9c...", "xUs..."]
}
One Disclosure, decoded before base64url encoding. The string that is hashed into _sd is the base64url form:
["Nf3q8s0mZb1TqVr9yH7x2A", "age_over_18", true]
Presentation sent to the verifier. The holder reveals only age_over_18:
eyJhbGciOiJFUzI1NiIs...<issuer-signed JWT>~WyJOZjNxOHMwbVpiMVRxVnI5eUg3eDJBIiwiYWdlX292ZXJfMTgiLHRydWVd~eyJhbGciOiJFUzI1NiIs...<KB-JWT>
KB-JWT, header and payload (the request came through the Digital Credentials API, so aud is an origin):
{ "alg": "ES256", "typ": "kb+jwt", "kid": "Hq3a...thumbprint" }
{
"iat": 1795100000,
"aud": "origin:https://shop.neighbour.example",
"nonce": "n-0S6_WzA2Mj",
"sd_hash": "x3T...base64url SHA-256 of '<issuer-signed JWT>~<disclosure>~'"
}
DCQL query in the request:
{
"credentials": [{
"id": "age_check",
"format": "dc+sd-jwt",
"meta": { "vct_values": ["https://oci.world/vct/national_id/v1"] },
"claims": [{ "path": ["age_over_18"] }]
}]
}
Status List Token, header and payload (lst is base64url of the zlib-compressed bytes, 2 bits per entry):
{ "alg": "ES256", "typ": "statuslist+jwt", "kid": "Zr0f...thumbprint" }
{
"iss": "https://id.home.example",
"sub": "https://id.home.example/status/1",
"iat": 1795099000,
"exp": 1795185400,
"ttl": 3600,
"status_list": { "bits": 2, "lst": "eNpjYAACAAAGAAE" }
}
8. Issuance
Profiles OID4VCI 1.0 and HAIP section 4.
- CRED-8.1 Issuers MUST use the authorization code flow with PAR, PKCE
S256, DPoP, and theissauthorization response parameter (HAIP 4). The resident authenticates at the issuer’s authorization server using OCI-2 at a level not below the credential’sloa(CORE-4.1). - CRED-8.2 The credential issuer publishes metadata at
/.well-known/openid-credential-issuer(OID4VCI 12.2.2). The national ID’s entry incredential_configurations_supportedhasformatdc+sd-jwt,vctas in CRED-7.1, ascope(HAIP 4.1),cryptographic_binding_methods_supported["jwk"],credential_signing_alg_values_supported["ES256"]andproof_types_supported.jwt.proof_signing_alg_values_supported["ES256"]. It MUST publishnonce_endpoint. - CRED-8.3 The wallet proves key possession with a
jwtproof (OID4VCI F.1): headertypopenid4vci-proof+jwt,audequal to the Credential Issuer Identifier,iat, andnoncefrom the nonce endpoint. Forloahigh, the wallet MUST also send a key attestation (key-attestation+jwt, OID4VCI D.1; HAIP 4.5.1) that proves the key sits in secure hardware. - CRED-8.4 The issuer SHOULD support batch issuance (
batch_credential_issuance, HAIP 4). Each credential in a batch MUST use a different holder key, a differentstatus.idxand fresh salts, so that two presentations cannot be linked through the credential. - CRED-8.5 The credential response carries
credentials[].credential, a compact SD-JWT VC ending in~with no KB-JWT (OID4VCI 8.3, A.3). - CRED-8.6 The issuer MUST NOT copy claim values of one credential into the metadata or logs (CORE-7.3).
9. Presentation protocol
Profiles OID4VP 1.0 and HAIP section 5.
- CRED-9.1 Verifiers query with DCQL (OID4VP 6):
formatdc+sd-jwt,meta.vct_valueslistinghttps://oci.world/vct/national_id/v1, and oneclaimsentry per claim withpathsuch as["age_over_18"]. The wallet MUST show the resident the requested claims and the verifier’s name from its trust chain before it responds. - CRED-9.2 The response is a
vp_tokenobject keyed by DCQL credential queryid, each value an array of presentations (OID4VP 8.1). - CRED-9.3 In a browser, the verifier MUST use the W3C Digital Credentials API with response mode
dc_api.jwt(encrypted) and a signed request (openid4vp-v1-signed) carryingexpected_origins(OID4VP A.1 to A.3, HAIP 5.2). Wallets MUST reject an unsigned request for a national ID (OCI extension: HAIP lets wallets accept unsigned requests, but OCI needs a verifier identity for CRED-4.4). - CRED-9.4 Outside a browser, the verifier MUST use a JAR request with
request_uri, response modedirect_post.jwt, and theredirect_urirule (HAIP 5.1), with a QR code or ahaip-vp://link for cross-device use. This is also the fallback for browsers without the Digital Credentials API, which is still a W3C Working Draft. - CRED-9.5 Each request MUST state a purpose in
client_metadataor the OCI-1 metadata of the verifier, and the wallet MUST show it. The response MUST NOT include claims outside the request (CORE-7.1).
10. mdoc (optional)
- CRED-10.1 A country MAY issue the national ID as an ISO/IEC 18013-5 mdoc in addition to SD-JWT VC (format
mso_mdoc, HAIP 5.3.1). It is useful for offline and proximity presentation. - CRED-10.2 An mdoc national ID uses the same claim names as CRED-7.2 as data elements, with
age_over_NNas in 18013-5. The same OCI-1 trust marks apply. The mdocdocTypeand namespace are open (section 13). The reference implementation does not cover mdoc.
11. Security and privacy
- Replay. Fresh single-use nonce,
audbinding and thesd_hashstop a presentation being replayed to another verifier or with different Disclosures (CRED-5.2 to CRED-5.4). Over the Digital Credentials API, theorigin:audience stops a malicious site relaying a request. - Tampering. The issuer signature covers every digest. A changed Disclosure no longer matches a digest (CRED-5.6).
- Linkability by the issuer.
status.idxand the status list URI identify the credential to the issuer. A verifier that fetches the list tells the issuer which list it checked, not which credential. The list must be large (CRED-6.9) and fetched or cached by the verifier, never by the wallet at presentation time. Wallet-fetched status proofs are an open question. - Linkability by verifiers. Colluding verifiers can link presentations that reuse the same credential. Batch issuance (CRED-8.4) reduces this: use each credential once.
- Stale status. A status list is only as fresh as
ttlandexp. Offline verification uses a cached list and accepts that revocation can lag by up tottl. - Age claims. Fixed at issuance (CRED-7.5). They reveal less than
birthdatebut still reveal one bit per threshold. - Salts. Disclosure salts are secret to the holder (RFC 9901 9.3). Verifiers MUST NOT log Disclosures (CORE-7.3).
- Clock. 60 seconds of skew (CORE-6.2).
- Resource limits. Verifiers MUST bound input size and decompression (CRED-6.5).
12. Conformance
An implementation conforms to OCI-4 0.1 when it passes the tests in packages/credentials/test tagged with a CRED clause, and the OpenID Foundation tests for OID4VCI, OID4VP and HAIP where they apply. The reference tests cover:
| Clauses | Checked by |
|---|---|
| CRED-3.1 to 3.6 | sdjwt.test.ts: typ, alg none, missing kid, bad signature, tampered payload, expiry, iat in the future, missing exp, vct and cnf, salts, digests, decoys, never-disclosable claims |
| CRED-4.1, 4.2 | sdjwt.test.ts: missing role, key not proven by the trust chain |
| CRED-5.1 to 5.8 | sdjwt.test.ts: missing KB-JWT, wrong aud, origin: audience, wrong nonce, old or future KB-JWT, wrong sd_hash, wrong KB key or typ, tampered, duplicate and unreferenced Disclosures, holder rules |
| CRED-6.1 to 6.8 | sdjwt.test.ts, statuslist.test.ts: revoked, suspended, unknown value, no status, fetch failure, wrong sub, wrong iss, unproven key, wrong typ, expired token, idx out of bounds, decompression bomb, bit layout, round trips for 1, 2, 4 and 8 bits |
| CRED-7.1 to 7.4 | nationalid.test.ts: vct, claims in the clear, age thresholds, bad birthdates, partial disclosure |
CRED-7.2 (loa), 7.6 | sdjwt.test.ts, credential.test.ts: loa never a Disclosure, missing_loa, loa_exceeds_issuer, chain proving no LoA |
| CRED-4.5 | release.test.ts: mayReleaseTo by client_id prefix and LoA |
Not covered by code: CRED-2.1 (JSON serialization is simply not produced), 4.3, 4.4 and 4.6 (4.5 is covered only for the x509_hash LoA rule), 6.4 (fetch limits belong to the transport), 6.7, 6.9, 7.5, section 8 and 9 (protocol endpoints), and section 10. The OpenID Foundation suite or a later OCI conformance harness checks those.
13. Open questions
- Resolved:
oci_jwksis defined once in OCI-1 (TR-4.8). Revisit if a wallet federation profile defines a credential issuer entity type. - Resolved 2026-11-18 (CRED-4.5): no mapping.
x509_hashverifiers get nosubstantialorhighcredentials. Revisit only if HAIP-only verifiers need national ID access; the option then is an OCI-1 metadata field listing a verifier’s certificate hashes. - Checked: OID4VP 5.9.3 says metadata comes from the chain and
client_metadatais ignored, but names no entity type. CRED-4.4 usesopenid_relying_party; revisit if OpenID publishes a verifier entity type. - SD-JWT VC -27: full diff against -18, and whether
vc+sd-jwtis still tolerated in any form. - Status list minimum size (CRED-6.9), and wallet-supplied status proofs to stop issuer-side lookup tracking.
- Test vectors: the Token Status List draft has vectors in Appendix C. The reference tests use their own bit-layout checks. Add the draft’s vectors.
- mdoc
docType, namespace and revocation mechanism (statusin the MSO, or 18013-5 second edition revocation). - Type Metadata for
https://oci.world/vct/national_id/v1: display, claim paths,sdalways (SD-JWT VC section 4), andvct#integrity. - Should
expfor the national ID be fixed at 30 days (CRED-7.5), and is batch re-issue practical on low-end devices? - Photo (
portrait) and address claims are left out of 0.1. - SD-JWT VC key discovery through OCI-1 is not one of the two mechanisms SD-JWT VC 2.5 lists. Ask the OAuth working group whether an ecosystem mechanism is allowed.
Changes
| Version | Date | What changed |
|---|---|---|
| 0.1.0 | 2026-11-28 | First versioned release: the text of Draft 0.1 (2026-11-18). |