element-android icon indicating copy to clipboard operation
element-android copied to clipboard

Can't use biometric authentication even though the phone has a fingerprint sensor

Open Linerly opened this issue 3 years ago • 16 comments

Steps to reproduce

  1. Enable biometric authentication in Settings

Outcome

What did you expect?

Biometrics authentication to work, like other apps

What happened instead?

Screenshot_2022-09-07-21-00-38-200 Screenshot_2022-09-07-21-01-21-454

Your phone model

SHARP Aquos V6

Operating system version

Android 12

Application version and app store

1.4.34 [40104340] (F-ba6f7c42)

Homeserver

No response

Will you send logs?

Yes

Are you willing to provide a PR?

No

Linerly avatar Sep 07 '22 14:09 Linerly

I've only seen this kind of behaviour while testing it on the emulator, where the implementation of fingerprint emulation is a bit buggy. Could you send some logs or a rageshake after you've tried enabling biometric auth and reference this issue (#7064)?

jmartinesp avatar Sep 09 '22 07:09 jmartinesp

I have sent the logs when it happened, with the same title as this issue

Linerly avatar Sep 09 '22 07:09 Linerly

The error right after enabling biometric auth and creating the biometric key is:

android.security.keystore.UserNotAuthenticatedException: User not authenticated

We might need to tweak the biometric key creation, as I'm beginning to think that the expected default parameters might not be the same as the docs mention for all OS versions and vendors.

jmartinesp avatar Sep 09 '22 07:09 jmartinesp

I have the same issue with a Pixel 7 Pro on Android 13, biometric gets suddenly deactivated and cannot be reenabled later again. Might be related to the fact, that sometimes when for any reason there are too many bad attempts (phone in pocket), the sensor gets deactivated by the system and Element misinterprets that?

AlphaDE avatar Jan 19 '23 07:01 AlphaDE

Same issue here also on pixel 7 pro

PracticalChip avatar Mar 22 '23 22:03 PracticalChip

Same issue here Pixel 7. Biometric geht deactivatet and can not reenebeld. I can Push the Slider top enabel but a Bubbles came with "Can't activate" gut the Slider stay in enable.

If i know Lock the Phone the biometric works in Element again.

threema-20230330-131412739

I've nothing chanced on biometric. Is IT a Pixel Problem?

On my Galaxy Tab 8 there ist no such Bug.

ghost avatar Mar 26 '23 19:03 ghost

Same issue on my Pixel 6a. It seemed to work for the first day, but now it won't stay enabled. When I enable it, I get a toast saying it couldn't be enabled (same as in the first screen shot).

And then when I close and reopen the app, I get same message in the screenshot in the comment before mine.

jordanbtucker avatar Jun 05 '23 21:06 jordanbtucker

Any chance to see this fixed? It's long standing...

AlphaDE avatar Jul 07 '23 14:07 AlphaDE

I think IT is a counter Problem. One fail biometric in a other App and element deactivate biometric. Only Lock and unlock the Pixel with biometric solve the Problem.

ghost avatar Jul 12 '23 05:07 ghost

On my Pixel 7 Pro, the app crashes when even trying to enter access control after entering the pin. No chance to get there anymore.

AlphaDE avatar Jul 12 '23 10:07 AlphaDE

Already reported there: https://github.com/vector-im/element-android/issues/8649

So this is opened from a year ago and it's still not fixed? 😨

hardwareadictos avatar Sep 30 '23 08:09 hardwareadictos

Right, and it's the reason why no one in my circle of friends uses Matrix. App alternatives don't exist and that's why they switched to alternatives. Most of ten uses Googlephones.

Sev3rin avatar Sep 30 '23 12:09 Sev3rin

Right, and it's the reason why no one in my circle of friends uses Matrix. App alternatives don't exist and that's why they switched to alternatives. Most of ten uses Googlephones.

That's not great. Can someone on the dev team take a look at this? Or at least give an answer to know that's being revised?

hardwareadictos avatar Sep 30 '23 12:09 hardwareadictos

@Sev3rin App alternatives don't exist?

https://matrix.org/ecosystem/clients/

jordanbtucker avatar Oct 01 '23 17:10 jordanbtucker

@Sev3rin App alternatives don't exist?

https://matrix.org/ecosystem/clients/

Thanks für Posting the alternatives,

Only If you test the alternatives for Android they have No Lock with biometric funktion or they are forks of Elements with the same issue.

🙄

Sev3rin avatar Oct 01 '23 17:10 Sev3rin

Same issue on samsung n20.

simmstein avatar Oct 02 '25 20:10 simmstein