metamask-mobile icon indicating copy to clipboard operation
metamask-mobile copied to clipboard

[Bug]: Cannot unlock the wallet with pin `Error: Unknown error with alias: com.metamask, error.javax.crypto.IllegalBlockSizeException`

Open seaona opened this issue 1 year ago • 1 comments

Describe the bug

Problem: whenever I try to unlock the wallet with pin I get the following error

  • Error: Unknown error with alias: com.metamask, error.javax.crypto.IllegalBlockSizeException Furthermore, I am requested to unlock it with Fingerprint, but I had it disabled from settings. After 2 trials, I could unlock it

Expected behavior

No errors. No request to unlock with fingerprint, once it's disabled ? Log in successfully.

Screenshots/Recordings

Screenshot_20240220-165630

https://github.com/MetaMask/metamask-mobile/assets/54408225/1d7f73a6-9102-4917-9ea9-a1c58017ffd3

Steps to reproduce

  1. Install MM for the first time (enable Fingerprint during Onboarding)
  2. Land into the Home page
  3. Go to Privacy Settings
  4. Disable unlock biometrics
  5. Enable unlock with pin
  6. Lock the wallet
  7. Add pasword
  8. Try to unlock it -- you'll be asked to use the fingerprint too
  9. See error and cannot log in
  10. Try x2 times -- in the end you are logged in

Error messages or log output

No response

Version

found in 7.17.0 but also happening in 7.16.0 7.15.0 and maybe earlier too

Build type

None

Device

Pixel 6

Operating system

Android

Additional context

No response

Severity

No response

seaona avatar Feb 20 '24 16:02 seaona

Hi There! Thank you for reporting this, it has been assigned to the appropriate team to be looked at.

Bullcoiner avatar Feb 20 '24 21:02 Bullcoiner

@chrisleewilcox @cortisiko @SamuelSalas @Andepande can we check if we have this issue on physical devices as well?

gauthierpetetin avatar Mar 06 '24 16:03 gauthierpetetin

This issue has been automatically marked as stale because it has not had recent activity in the last 90 days. It will be closed in 7 days. Thank you for your contributions.

github-actions[bot] avatar Jun 04 '24 16:06 github-actions[bot]