Open loneil opened 2 weeks ago
@krobinsonca this is the one I referenced earlier today when I put the wrong data type in a proof restriction field, if a proof request has a specific problem with it (a validation error) then the wallet can just spin without an error display.
Not sure if bug or nice-to-have feature request (probably the latter)
Description of feature / user story
If a connectionless (not sure what happens if using a real connection) proof request scanned fails with a validation error, would be nice I think to have feedback to the user that it fails.
Currently a validation error from Credo about the proof being malformed will just sit on the making connection spinner.
Acceptance Criteria
A (friendly? or developer-y?) error message to the user that this proof will not work rather than possibly confusing "waiting for connection" spinning.
Wireframes or relevant image assets / links
I make a mistake in my proof like below, using a string when a Int is needed or something in
p_value
If I use that proof in VCAuthN either in a connectionless invitation, or an Out-Of-Band, then what I see in the BC Wallet when I scan the QR code is:
And that just keeps going.
Using remote debugging I can see these validationErrors errors throw from the BC Wallet.