You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To me this indicates that if you have e.g. a count of 2, at least 2 of the input descriptors need to be submitted. When i query the PEX library using a presentation definition that has a count: 2 it will allow 2 credentials that match the same input descriptor to satisfy the definition requirements. However, I think it should throw an error in this case, as the presentation definition cannot be satisfied. It needs at least two input descriptors, and in this case it will only satisfy one input descriptor, but have two credential for that one input descriptor.
See the JSON documents below for an example of what I mean.
Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)
I'm submitting a ...
[x] bug report
Summary
The PEX v1 specification mentions:
To me this indicates that if you have e.g. a
count
of2
, at least2
of the input descriptors need to be submitted. When i query the PEX library using a presentation definition that has acount: 2
it will allow 2 credentials that match the same input descriptor to satisfy the definition requirements. However, I think it should throw an error in this case, as the presentation definition cannot be satisfied. It needs at least two input descriptors, and in this case it will only satisfy one input descriptor, but have two credential for that one input descriptor.See the JSON documents below for an example of what I mean.
Credentials
Presentation Definition
Select Results
The text was updated successfully, but these errors were encountered: