-
Notifications
You must be signed in to change notification settings - Fork 47
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
Verifying credentials in presentations #111
Comments
That is my understanding, effectively "defaults" get used, where they apply, as noted in the update to |
I would expect verifyPresentation to verify the embedded VCs by default, and maybe have an option to say "only the VP" if this is really wanted. But it is inefficient to have to call verifyPresentation and then verifyCredential n times. |
wrt Challenge I would expect verifyPresentation to return the embedded challenge in the response, again by default. I cannot imagine why you would want the challenge to be thrown away. |
Thanks for the clarification, @mprorock, @David-Chadwick. By not passing on the @David-Chadwick I'm not sure what you mean about returning the embedded challenge in the response. The response is a |
@clehner. I think we are talking about different challenges. Sorry. In my mental model the RP asks the Holder for a VP and presents a challenge. The RP then asks the Verifier to verify the VP and wants this challenge to be returned in the response so that it can ensure the VP was freshly made in response to its original request. |
With I'm closing this issue as I think my questions are answered, but it could be reopened if there should be text added about this in the API documentation. |
Thanks. That answers my question perfectly |
Should
verifyPresentation
verify VCs in a presentation, as well as the presentation itself (unlessProoflessVerifyPresentationRequest
is used as proposed in #95)? I had assumed that verifying a VP means verifying the presentation proof(s) against the presentation'sholder
property or theverificationMethod
property provided inVerifyOptions
(formerlyLinkedDataProofOptions
), and that a client must separately verify the embedded credentials. But #95 suggests to me that it might be otherwise. If it is the case thatverifyPresentation
must verify embedded credentials, whatVerifyOptions
are used for verifying the credentials? I would assume an empty set, since it probably doesn't make sense to pass on options likechallenge
; this would be consistent with #95 which does not haveVerifyOptions
in the proposedProoflessVerifyPresentationRequest
.The text was updated successfully, but these errors were encountered: