Skip to content

match inherited vcts with credential_type for SD-JWT VC #53

Open

Description

@jogu

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:

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.

Activity

  1. awoie commented on Sep 14, 2026

    @awoie
    Contributor

    WG discussion:

    • it was noted that while OID4VP has backward compatibility considerations regarding vct matching, DCHP does not have to deal with these concerns.
  2. awoie commented on Sep 14, 2026

    @awoie
    Contributor

    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.

  3. awoie commented on Nov 5, 2026

    @awoie
    Contributor

    WG discussion:

    • 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.
    • @awoie to create a PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions