beemdevelopment / Aegis

A free, secure and open source app for Android to manage your 2-step verification tokens.
https://getaegis.app
GNU General Public License v3.0
9.26k stars 388 forks source link

Biometrics face unlocking not working on Pixel Experience. #889

Closed fleurc closed 2 years ago

fleurc commented 2 years ago
Info
Steps to reproduce

A detailed list of reproduction steps.

  1. Activate fingerprint unlock on Android
  2. Activate Aegis Biometrics Unlock
  3. Activate facial recognition unlock
  4. Deactivate Aegis Biometrics Unlock
  5. Activate Aegis Biometrics Unlock again
  6. Do facial recognition
  7. Error
What do you expect to happen?

I expect the facial recognition to be done, not have an error popup, and for biometrics to be active so i can unlock Aegis without password.

What happens instead?

Facial recognition for Biometrics says it's concluded, but am met with an error pop-up:

Some devices have poor implementation of Biometrics unlock, your may be one of them. Think about changing it to password Unlock instead. Details...

com.beemdevelopment.aegis.vault.slots.SlotException:javax.crypto.IllegalBlockSizeException

alexbakker commented 2 years ago

Like the error message says, some devices have a poor implementation of biometrics and it looks like yours is one of them. It's also possible that the ROM has something to do with this. Uninstalling Aegis (back up your vault first!) and reinstalling it might help, but unfortunately on these devices this problem is likely to occur again eventually.