-
Notifications
You must be signed in to change notification settings - Fork 16
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
allow for additional parameters when activating discovery service #3357
Conversation
@@ -294,6 +294,11 @@ func matchFormat(format *PresentationDefinitionClaimFormatDesignations, credenti | |||
return true | |||
} | |||
|
|||
if credential.Format() == "" { | |||
// holder credential |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
closes #3353
closes #3352
also returns the params with a search.