ForkbombEu / wallet

Wallet
3 stars 0 forks source link

Wallet behaviour when no matching credential found, at verification #426

Closed andrea-dintino closed 3 months ago

andrea-dintino commented 4 months ago

If no matching credential is found at the beginning of the verification flow (https://github.com/ForkbombEu/mobile_zencode/blob/main/wallet%2Fver_qr_to_info_2_vp.zen#L27-L31) mobile zencode will throw an error and print:

"no_signed_selective_disclosure_found_that_matched_the_requested_claims" (from: https://github.com/ForkbombEu/mobile_zencode/blob/main/wallet%2Fver_qr_to_info_2_vp.zen#L47 )

The wallet needs to match this string, and if so show an error popup with the copy:

The Wallet has no credential containing the required claim(s) or signed by an Credential Issuer trusted by the Verifier