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
Error handling request-presentation message #532
Comments
Hi! This error is a bit too ambiguous for me (we should probably look into that).
|
Hi, @blu3beri I have updated above to include the full logs in the metro. I'm trying to scan a verifiable credential qrcode (which encodes this URL: http://vcauthprovider.southindia.azurecontainer.io:80/url/e10ae70a-cb57-4504-b7c7-bf8a12fc59f6). Thanks for checking. |
hmm... It's probably because the
|
#533 Once this PR is merged and released could you try again @standlove ? |
Hi, @TimoGlastra Got this error. The predicateValue must be number in protocol?
|
Do you know if this an error on our side? Or that it is allowed to use string? |
Seems like ACA-Py also specifies that it must be an integer: value = fields.Integer(strict=True, description="Predicate threshold value") |
Ok. The Trinsic Wallet app allows it to be string (the qrcode above works in it). That's why I asked ... |
My understanding is this. Predicates are based on the encoded value of the credential, which is always an integer. If the data (aka the "raw value") is an integer, so is the encoded value; if it is a string (or any non-integer), the encode value is a hash of the raw value. So the only way to do a predicate on a raw value that is a string is for the hash algorithm to produce a sortable integer, and we're not using such an encoding. As such, I don't see how it is possible to do predicates on anything other than integer raw values -- at least not without changing the encoding scheme being used. Am I wrong in my understanding? |
Closing due to inactivity |
Hi,
Can you help check why it cannot handle this
request-presentation
message? Thanks.The text was updated successfully, but these errors were encountered: