Skip to content

Add additional text clarifying how to match vct and doctype#744

Open
GarethCOliver wants to merge 3 commits into
openid:mainfrom
GarethCOliver:type-matching
Open

Add additional text clarifying how to match vct and doctype#744
GarethCOliver wants to merge 3 commits into
openid:mainfrom
GarethCOliver:type-matching

Conversation

@GarethCOliver

@GarethCOliver GarethCOliver commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Resolves #741 by adding more explicit instructions on what allows a Credential to satisfy vct_values, and applies similar explicit text to doctype_value

Comment thread 1.1/openid-4-verifiable-presentations-1_1.md Outdated
Comment thread 1.1/openid-4-verifiable-presentations-1_1.md Outdated
GarethCOliver and others added 2 commits June 18, 2026 08:30
Co-authored-by: Frederik Krogsdal Jacobsen <fkj@users.noreply.github.com>
Co-authored-by: Frederik Krogsdal Jacobsen <fkj@users.noreply.github.com>
A Credential's type can be determined as satifying the Credential Query as follows:

1. Check if the `vct` in the Credential is contained in the `vct_values` array. If it is, the Credential satisfies the Credential Query.
1. If `vct` in the Credential is not contained in the `vct_values` array, check if the Credential has an `extends` claim. If it does, repeat this process for the Type metadata specified by the `extends` value, until either a match is found or the `extends` claim is not present.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After reading SD-JWT-VC a bit more carefully, I think we should add some language about circular dependencies here
From https://www.ietf.org/archive/id/draft-ietf-oauth-sd-jwt-vc-16.html#section-6.3-2:

Consumers MUST detect such circular dependencies and reject the credential.

Maybe something like this, though it might be easier to read if we rewrite the entire paragraph to make the recursive process more explicit:

Suggested change
1. If `vct` in the Credential is not contained in the `vct_values` array, check if the Credential has an `extends` claim. If it does, repeat this process for the Type metadata specified by the `extends` value, until either a match is found or the `extends` claim is not present.
1. If `vct` in the Credential is not contained in the `vct_values` array, check if the Credential has an `extends` claim. If it does, repeat this process for the Type metadata specified by the `extends` value, until either a match is found or the `extends` claim is not present. If a circular dependency is detected while following `extends` claims, the Credential does not satisfy the Credential Query.

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.

Clarification on checking inheritance of received vct (VP token validation)

2 participants