bc-wallet-mobile icon indicating copy to clipboard operation
bc-wallet-mobile copied to clipboard

Cannot get Person Credential (stalls at Step 2) again after deleting.

Open loneil opened this issue 10 months ago • 3 comments

Description of problem

I deleted my Person Cred and when to re-add it I get it stalling at Step 2.

If I back out or close/reopen the app I see the Attestation cred offer(s). Multiple offers if I repeat the steps. Note I have dev mode on so that's why I see the offer(?)

Trying to manually accept attestation errors out

Expected behavior

Should go on to open my BCSC app

Steps to reproduce

  • Remove Person Cred (note I ran into https://github.com/bcgov/bc-wallet-mobile/issues/1952, but the cred did delete)

  • Use prompt to re-add person cred

  • Wait at step 2 for a while and then close and reopen app when it does nothing

  • On app open, see the Attestation offer

  • Go in and accept Attestation offer, error

  • Use Person Cred prompt again, repeat loop, see another attestation offer.

Screenshots and/or log output

image

image

image

image

image

Environment

  • [x] Occurs on Android
  • [ ] Occurs on iOS

Build #:

1676

Android Device Model:

Pixel 8

iOS Device Model:

Workaround

Severity

  • [ ] High
  • [ ] Medium
  • [ ] Low

loneil avatar Apr 25 '24 17:04 loneil

After accepting the Attestation cred, with the error, I can get through Step 2 of the person cred flow. Not sure if this has anything to do with my attempting to accept the Attestation cred or not, or something ephemeral happened.

But when going through the BCSC flow and authorizing successfully there I now get this error coming back:

image

It did revoke my Person Cred on my iPad (other device I had the cred on) as part of this.

loneil avatar Apr 25 '24 17:04 loneil

I ended up on this state on my iPad on 1636 as well. Could not get past Step 2 (spinning and not prompting for BCSC app login or anything).

The case on the iPad was that I'd had the cred revoked, removed it and tried to get it again as well.

Uninstalling and Reinstalling the BC Wallet app allowed me to proceed on the iPad and get the cred successfully.

I tried to reproduce this case on the iPad by revoking (through id.gov.bc.ca), removing, and re-adding, but it worked fine that time. So I'm not sure what state it was in when failing right before that...

Android Phone remains in broken state at this time. Can't get Person Cred on it and have not re-installed app yet.

loneil avatar Apr 25 '24 22:04 loneil

I see this error also with a different Credential (LCRB SIR on CANdy Test): I receive the offer, but get an error when I try to accept it. Media

esune avatar May 02 '24 20:05 esune

I believe this issue is fixed by the same PR that addressed #1966 , moving to QA

bryce-mcmath avatar May 16 '24 22:05 bryce-mcmath

Fixed in 1.0.17 Build 1740

jleach avatar Jun 14 '24 19:06 jleach