Skip to content

Move credential format specific details into per-format annexes - #57

Open
jogu wants to merge 7 commits into
mainfrom
jogu/format-annexes
Open

Move credential format specific details into per-format annexes#57
jogu wants to merge 7 commits into
mainfrom
jogu/format-annexes

Conversation

@jogu

@jogu jogu commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Structure agreed at the 2026-08-31 meeting: one normative annex per credential format, with a generic extension point so other documents can define further formats.

New text added by this PR: case-sensitive credential_type matching; mdoc elements may be issuer- or device-signed; mdoc issuer identifiers match the AKI of a certificate in the IssuerAuth x5chain; KB-JWT may be omitted only when support_no_cryptographic_binding is true; for mdocs that flag maps to nonKeyBoundSupported from the 18013-5 second edition DIS text (#56).

Left "To be completed": value matching (#9), transaction data (#4), SessionTranscript derivation and KB-JWT nonce/aud (#10), non-X.509 issuer identification for SD-JWT VC.

Raised separately: array elements in path (#52), vct inheritance (#53), mdoc alg value names and matching rule (#54)

There's now no mention of ZKP responses - that's already recorded in #17

closes #21, #22, #36

Structure agreed at the 2026-08-31 meeting: one normative annex per
credential format, with a generic extension point so other documents can
define further formats.

- New "Credential Formats" clause: the protocol is format agnostic, a
  "credential format definition" shall specify the ten items from #36,
  and the main body no longer names any format or annex.
- New annexes for ISO mdoc and SD-JWT VC with identical headings in the
  order of the #21/#22 checklists; existing format text moves there.
- format_extensions and CredentialItem.data become CDDL sockets
  ($formatExtensions, $CredentialData); the undefined ZkDocument /
  zkFormatExtensions alternatives go away.
- ISO/IEC 18013-5, RFC 9901 and draft-ietf-oauth-sd-jwt-vc added to
  Normative references.
- SD-JWT VC format identifier is now dc+sd-jwt; vc+sd-jwt as a mimetype
  means a w3c vc encoded in sd-jwt; vp uses dc+sd-jwt.

New text added by this PR: case-sensitive credential_type matching;
mdoc elements may be issuer- or device-signed; mdoc issuer identifiers
match the AKI of a certificate in the IssuerAuth x5chain; KB-JWT may be
omitted only when support_no_cryptographic_binding is true; for mdocs
that flag maps to nonKeyBoundSupported from the 18013-5 second edition
DIS text (#56).

Left "To be completed": value matching (#9), transaction data (#4),
SessionTranscript derivation and KB-JWT nonce/aud (#10), non-X.509
issuer identification for SD-JWT VC.

Raised separately: array elements in path (#52), vct inheritance (#53),
mdoc alg value names and matching rule (#54)

There's now no mention of ZKP responses - that's already recorded in #17

closes #21, #22, #36
@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

📄 Editor's Copy preview

https://openid.github.io/dchp/PREVIEW-DO-NOT-USE/pr-57/digital-credentials-harmonized-presentation-editors-copy.html

Preview of 324cb2c; updated on every push. For review only — the official specifications are published at https://openid.net/specs/

github-actions Bot pushed a commit that referenced this pull request Sep 7, 2026
@jogu
jogu requested review from awoie and martijnharing September 7, 2026 19:25
@jogu

jogu commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

Joseph presented this on today's PR. Oliver & Martijn agreed to review. The CDDL socket syntax wasn't familiar to people on the call and maybe we want to consider other options, but that's editorial and as it is may be more readable to AIs.

jogu added 6 commits September 7, 2026 22:32
The SD-JWT VC annex only said the x509_ref values are compared against
the x5c chain, without saying what outcome satisfies the request. Use
the same rule as the mdoc annex.
The previous text let the wallet drop the KB-JWT from a key-bound
SD-JWT VC whenever support_no_cryptographic_binding was true. That is a
downgrade the mdoc annex does not permit (a key-bound mdoc always
carries DeviceSigned) and OpenID4VP does not permit either. Tie the
permission to the absence of cnf, matching the mdoc rule.
IssuerSignedItems is not a structure in ISO/IEC 18013-5; the standard
has IssuerSignedItem entries under IssuerNameSpaces and
DeviceSignedItems under DeviceNameSpaces.
The mdoc annex introduction presented its list as the structures the
annex refers to, but omitted IssuerAuth, the MSO, KeyAuthorizations,
IssuerNameSpaces, DeviceNameSpaces and DeviceSignedItems, all used
later in the annex. The SD-JWT VC annex uses the x5c header, which
comes from RFC 7515 rather than the SD-JWT documents.
The annexes say format carries the same value as credential_format, but
the main-body table did not connect the field to the extension point.
The note that an mDL is always key-bound also relies on the unpublished
second edition text, so move the editor's note ahead of it and say it
covers both.
github-actions Bot pushed a commit that referenced this pull request Sep 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Define the ISO mdoc credential format-specific protocol details

1 participant