Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow for additional parameters when activating discovery service #3357

Merged

Conversation

woutslakhorst
Copy link
Member

closes #3353
closes #3352

also returns the params with a search.

@woutslakhorst woutslakhorst marked this pull request as ready for review September 11, 2024 09:23
vcr/assets/assets/contexts/nuts.ldjson Show resolved Hide resolved
docs/_static/discovery/v1.yaml Show resolved Hide resolved
discovery/module.go Outdated Show resolved Hide resolved
discovery/module.go Outdated Show resolved Hide resolved
discovery/module.go Outdated Show resolved Hide resolved
discovery/module.go Outdated Show resolved Hide resolved
discovery/module.go Outdated Show resolved Hide resolved
docs/_static/discovery/v1.yaml Show resolved Hide resolved
discovery/module.go Show resolved Hide resolved
discovery/store.go Outdated Show resolved Hide resolved
@@ -294,6 +294,11 @@ func matchFormat(format *PresentationDefinitionClaimFormatDesignations, credenti
return true
}

if credential.Format() == "" {
// holder credential
Copy link
Member

Choose a reason for hiding this comment

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

what has holder credential (actually "issuer is holder"-credential) to do with format? Weird comment?

Copy link
Member Author

Choose a reason for hiding this comment

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

Format is extracted from the proof. Holder credential has no Proof and thus no format.

Copy link
Member

Choose a reason for hiding this comment

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

The credential can still be in either JWT (unsigned) or JSON-LD format?

Copy link
Member Author

Choose a reason for hiding this comment

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

We have to rewrite some stuff. Let's hold that until VC data model 2 and it's new VC types. The two formats we're using now are gone in 202x?

@woutslakhorst woutslakhorst merged commit 4a44d6e into master Sep 13, 2024
9 checks passed
@woutslakhorst woutslakhorst deleted the feature/3353_allow_holder_credentials_in_discovery branch September 13, 2024 06:03
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.

Allow addition of holder credentials to use case activation add issuer_id/client_id to discovery service
3 participants