You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
match inherited vcts with credential_type for SD-JWT VC #53
The SD-JWT VC annex (from #22) currently says a CredentialQuery matches SD-JWT VCs whose vct is identical to credential_type (case-sensitive text comparison). OpenID4VP's vct_values is looser: "The Wallet MAY return Credentials that inherit from any of the specified types, following the inheritance logic defined in SD-JWT VC".
We need to decide whether DCHP:
requires exact vct equality (simple, predictable, no type-metadata resolution needed on the wallet);
allows or requires matching on inherited types, in which case the wallet needs the type metadata chain at matching time;
leaves this to the credential format definition / ecosystem.
Related to #46 (making credential_type an array), since both concern what credential_type matches. The annex added for #22 carries an editor's note pointing at this question.
IMO, I think that since we don't have any backward compatibility concerns with vct matching, we should say that credential_type or credential_types has to match the vct or any of the aka_vcts values.
proposal: a query matches an SD-JWT VC if its vct equals one of the credential types, or if its aka_vcts lists one of them. No inheritance resolution through type metadata, so wallets shouldn't have to fetch metadata to match. No objections but implies that every SD-JWT VC that uses type inheritance without aka_vcts won't be able to match inherited types.
Activity
awoie commentedon Sep 14, 2026
WG discussion:
awoie commentedon Sep 14, 2026
IMO, I think that since we don't have any backward compatibility concerns with
vctmatching, we should say thatcredential_typeorcredential_typeshas to match thevctor any of theaka_vctsvalues.Move credential format specific details into per-format annexes
Move credential format specific details into per-format annexes
awoie commentedon Nov 5, 2026
WG discussion:
vctequals one of the credential types, or if itsaka_vctslists one of them. No inheritance resolution through type metadata, so wallets shouldn't have to fetch metadata to match. No objections but implies that every SD-JWT VC that uses type inheritance withoutaka_vctswon't be able to match inherited types.Move credential format specific details into per-format annexes