Concordium / concordium-reference-wallet-android

Reference Android wallet for the Concordium blockchain
Apache License 2.0
12 stars 2 forks source link

Issues after changing passcode while identity issuance is pending #1

Closed td202 closed 3 years ago

td202 commented 3 years ago

Bug Description

It is possible to get into a situation where updating the passcode, sending transactions from an account, and the export functionality fail, or even cause the app to stop.

Steps to Reproduce

  1. Create an identity using the Nota Bene flow.
  2. Before the identity issuance is completed and the initial account is created, change the passcode with "Update Passcode & Biometrics".
  3. Wait for the initial account to be created.
  4. Attempt the following: a. Export. b. Create a new account with the newly-created identity. c. Send a transaction from the initial account (after receiving funds, e.g. from GTU drop).

Expected Result All actions should succeed.

Actual Result a. App stops after entering the export password the second time. b. Fails (on tapping Submit account) with: Unexpected encryption/decryption error. c. Fails (on entering code/biometrics) with: Unexpected encryption/decryption error.

Versions