Fixed
Status Update
Comments
ku...@google.com <ku...@google.com>
ku...@google.com <ku...@google.com> #2
For Samsung devices having iris sensor like S8, if the user sets iris as his preferred biometric, it works well with current biometricPrompt.
But, the error code delivered from onAuthenticationError callback is very weird.
E.g., if the sensor is hard to detect user's iris since the face is so close, then the ERROR_HW_NOT_PRESENT is returned.
So, this issue needs to be resolved also. Since I'm thinking that Samsung iris meets the CDD requirements, at least, the application can use iris properly.
But, the error code delivered from onAuthenticationError callback is very weird.
E.g., if the sensor is hard to detect user's iris since the face is so close, then the ERROR_HW_NOT_PRESENT is returned.
So, this issue needs to be resolved also. Since I'm thinking that Samsung iris meets the CDD requirements, at least, the application can use iris properly.
mi...@willowtreeapps.com <mi...@willowtreeapps.com> #3
shinkieun@ could you file a new bug for that? A bugreport (adb bugreport foo.zip) and repro steps will be needed
ku...@google.com <ku...@google.com> #4
Are you able to open public (view and/or comment) access to that spreadsheet so we can see what devices are included?
Thanks!
Thanks!
kc...@google.com <kc...@google.com>
kc...@google.com <kc...@google.com> #5
> For Samsung devices having iris sensor like S8, if the user sets iris as his preferred biometric, it works well with current biometricPrompt.
It's not actually true. In my tests, it will prompt you to scan your finger rather than scan your face, even though system settings asked for face scan. Also, we can observe the UserNotAuthenticatedException happening under the hood. S8, S9, S10 all have it.
It's not actually true. In my tests, it will prompt you to scan your finger rather than scan your face, even though system settings asked for face scan. Also, we can observe the UserNotAuthenticatedException happening under the hood. S8, S9, S10 all have it.
mi...@willowtreeapps.com <mi...@willowtreeapps.com> #6
I'm using androidx.biometric:biometric:1.0.0-rc01, and I'm having trouble with all my Samsung devices:
Samsung Galaxy A20e (Android 9, latest update)
- Fingerprint: Works fine
- Face recognition: android.security.KeyStoreException: Key user not authenticated
Samsung Galaxy Note8 (Android 9, latest update)
- Fingerprint: Works fine
- Iris: Works fine
- Face recognition: android.security.KeyStoreException: Key user not authenticated
Samsung Galaxy S9 (Android 9, latest update)
- Fingerprint: Works fine
- Iris: Works fine
- Intelligent Scan: Works fine
- Face recognition: BiometricPrompt.ERROR_NO_BIOMETRICS in onAuthenticationError in BiometricPrompt.AuthenticationCallback()
Samsung Galaxy S10 (Android 9, latest update)
- Fingerprint: Works fine
- Face recognition: BiometricPrompt.ERROR_NO_BIOMETRICS in onAuthenticationError in BiometricPrompt.AuthenticationCallback()
I don't understand how Samsung can use other than fingerprint on Android 9 when this page:https://source.android.com/security/biometric clearly states that Android 9 includes fingerprint integration for BiometricPrompt only.
Samsung Galaxy A20e (Android 9, latest update)
- Fingerprint: Works fine
- Face recognition: android.security.KeyStoreException: Key user not authenticated
Samsung Galaxy Note8 (Android 9, latest update)
- Fingerprint: Works fine
- Iris: Works fine
- Face recognition: android.security.KeyStoreException: Key user not authenticated
Samsung Galaxy S9 (Android 9, latest update)
- Fingerprint: Works fine
- Iris: Works fine
- Intelligent Scan: Works fine
- Face recognition: BiometricPrompt.ERROR_NO_BIOMETRICS in onAuthenticationError in BiometricPrompt.AuthenticationCallback()
Samsung Galaxy S10 (Android 9, latest update)
- Fingerprint: Works fine
- Face recognition: BiometricPrompt.ERROR_NO_BIOMETRICS in onAuthenticationError in BiometricPrompt.AuthenticationCallback()
I don't understand how Samsung can use other than fingerprint on Android 9 when this page:
kc...@google.com <kc...@google.com> #7
Samsung confirmed to me this:
"From Android 10, Preferred biometric will be removed. BiometricPrompt will always show Fingerprint authentication by default.
The current plan to roll out Android 10 is late this year or early next year."
Basically, the original plan was to let the end user chose his preferred biometric method, but (copying Apple) Google now goes for either fingerprint or Face ID. E.g. the new Pixel 4 is Face ID only.
"From Android 10, Preferred biometric will be removed. BiometricPrompt will always show Fingerprint authentication by default.
The current plan to roll out Android 10 is late this year or early next year."
Basically, the original plan was to let the end user chose his preferred biometric method, but (copying Apple) Google now goes for either fingerprint or Face ID. E.g. the new Pixel 4 is Face ID only.
kc...@google.com <kc...@google.com> #8
Project: platform/frameworks/support
Branch: androidx-master-dev
commit e0ddc6a9ef6fcb8a8a97817220ebaa5297fafb31
Author: Curtis Belmonte <curtislb@google.com>
Date: Tue Oct 08 11:02:50 2019
Add device list to dismiss fingerprint dialog instantly
Introduces a list of device models for which FingerprintDialogFragment
should be dismissed immediately on receiving an error or cancel signal.
This makes for a better user experience on devices that, for example,
provide custom overlays during fingerprint authentication.
Test: Manually, using crypto-bound key demo in support demo app
Bug: 142150327
Change-Id: Ic08bebb29f75aba98daf68a67b7c38c37bdb69dc
M biometric/res/values/devices.xml
M biometric/src/main/java/androidx/biometric/FingerprintDialogFragment.java
M biometric/src/main/java/androidx/biometric/FingerprintHelperFragment.java
M biometric/src/main/java/androidx/biometric/Utils.java
https://android-review.googlesource.com/1137656
https://goto.google.com/android-sha1/e0ddc6a9ef6fcb8a8a97817220ebaa5297fafb31
Branch: androidx-master-dev
commit e0ddc6a9ef6fcb8a8a97817220ebaa5297fafb31
Author: Curtis Belmonte <curtislb@google.com>
Date: Tue Oct 08 11:02:50 2019
Add device list to dismiss fingerprint dialog instantly
Introduces a list of device models for which FingerprintDialogFragment
should be dismissed immediately on receiving an error or cancel signal.
This makes for a better user experience on devices that, for example,
provide custom overlays during fingerprint authentication.
Test: Manually, using crypto-bound key demo in support demo app
Bug: 142150327
Change-Id: Ic08bebb29f75aba98daf68a67b7c38c37bdb69dc
M biometric/res/values/devices.xml
M biometric/src/main/java/androidx/biometric/FingerprintDialogFragment.java
M biometric/src/main/java/androidx/biometric/FingerprintHelperFragment.java
M biometric/src/main/java/androidx/biometric/Utils.java
cu...@google.com <cu...@google.com> #9
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 93823c71dc8fcc577814c74f5e40793e6eb2a0c1
Author: Curtis Belmonte <curtislb@google.com>
Date: Mon Oct 07 14:29:40 2019
Add device list to force crypto auth via fingerprint
Introduces a list of device models for which
BiometricPrompt#authenticate will launch FingerprintDialogFragment
instead of BiometricFragment when called with a crypto object. This
is intended to work around an issue on some devices where crypto-based
authentication can be launched with weak biometrics.
Test: Manually using crypto-bound key demo in support demo app
Bug: 142150327
Change-Id: I1ff043ed0e7f7a72e3dab79fe54142480baac3a3
A biometric/res/values/devices.xml
M biometric/src/main/java/androidx/biometric/BiometricPrompt.java
M biometric/src/main/java/androidx/biometric/Utils.java
https://android-review.googlesource.com/1137655
https://goto.google.com/android-sha1/93823c71dc8fcc577814c74f5e40793e6eb2a0c1
Branch: androidx-master-dev
commit 93823c71dc8fcc577814c74f5e40793e6eb2a0c1
Author: Curtis Belmonte <curtislb@google.com>
Date: Mon Oct 07 14:29:40 2019
Add device list to force crypto auth via fingerprint
Introduces a list of device models for which
BiometricPrompt#authenticate will launch FingerprintDialogFragment
instead of BiometricFragment when called with a crypto object. This
is intended to work around an issue on some devices where crypto-based
authentication can be launched with weak biometrics.
Test: Manually using crypto-bound key demo in support demo app
Bug: 142150327
Change-Id: I1ff043ed0e7f7a72e3dab79fe54142480baac3a3
A biometric/res/values/devices.xml
M biometric/src/main/java/androidx/biometric/BiometricPrompt.java
M biometric/src/main/java/androidx/biometric/Utils.java
cu...@google.com <cu...@google.com> #10
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 48887dbde866b1473fdb924e9b0509bd0114f7e4
Author: Curtis Belmonte <curtislb@google.com>
Date: Wed Oct 16 14:42:06 2019
Add Samsung devices to biometric workaround lists
Adds prefixes for Samsung devices that are known to present weak
biometrics when calling BiometricPrompt#authenticate(PromptInfo,
CryptoObject) on API 28 and 29. This allows developers calling into the
BiometricPrompt API through the AndroidX library to work around the
issue on these devices and their variants.
Test: Manually tested with Samsung devices in biometric demo app.
Bug: 142150327
Change-Id: Ia11672db30806ae41f37461ccbcbce758121573e
M biometric/res/values/devices.xml
https://android-review.googlesource.com/1145111
https://goto.google.com/android-sha1/48887dbde866b1473fdb924e9b0509bd0114f7e4
Branch: androidx-master-dev
commit 48887dbde866b1473fdb924e9b0509bd0114f7e4
Author: Curtis Belmonte <curtislb@google.com>
Date: Wed Oct 16 14:42:06 2019
Add Samsung devices to biometric workaround lists
Adds prefixes for Samsung devices that are known to present weak
biometrics when calling BiometricPrompt#authenticate(PromptInfo,
CryptoObject) on API 28 and 29. This allows developers calling into the
BiometricPrompt API through the AndroidX library to work around the
issue on these devices and their variants.
Test: Manually tested with Samsung devices in biometric demo app.
Bug: 142150327
Change-Id: Ia11672db30806ae41f37461ccbcbce758121573e
M biometric/res/values/devices.xml
ap...@google.com <ap...@google.com> #11
Project: platform/frameworks/support
Branch: androidx-master-dev
commit 10435ab81f5e20d69a4780eb7f1f713ac9762961
Author: Curtis Belmonte <curtislb@google.com>
Date: Wed Oct 16 14:33:20 2019
Update biometric workaround to use model prefixes
Makes the existing device-specific workaround to fall back to
FingerprintDialogFragment more general by updating it to expect device
model prefixes, rather than exact string device models to match against.
This allows us to cover device variants with different model suffixes.
Test: Manually, using the biometric support demo app.
Bug: 142150327
Change-Id: I3a109b8bdcf8a4bf59597cb99bf6b702734166cb
M biometric/res/values/devices.xml
M biometric/src/main/java/androidx/biometric/Utils.java
https://android-review.googlesource.com/1145110
https://goto.google.com/android-sha1/10435ab81f5e20d69a4780eb7f1f713ac9762961
Branch: androidx-master-dev
commit 10435ab81f5e20d69a4780eb7f1f713ac9762961
Author: Curtis Belmonte <curtislb@google.com>
Date: Wed Oct 16 14:33:20 2019
Update biometric workaround to use model prefixes
Makes the existing device-specific workaround to fall back to
FingerprintDialogFragment more general by updating it to expect device
model prefixes, rather than exact string device models to match against.
This allows us to cover device variants with different model suffixes.
Test: Manually, using the biometric support demo app.
Bug: 142150327
Change-Id: I3a109b8bdcf8a4bf59597cb99bf6b702734166cb
M biometric/res/values/devices.xml
M biometric/src/main/java/androidx/biometric/Utils.java
[Deleted User] <[Deleted User]> #12
The following changes were cherrypicked through Coastguard (https://android-build.googleplex.com/coastguard/ )
Release Track: (https://android-build.googleplex.com/coastguard/dashboard/5176090922385408/#/cherrypickHistory/all )
Created: 2019-10-17 01:13:42.291290+00:00
Changes: aosp/1145123, aosp/1145121, aosp/1145122, aosp/1145119
Release Track: (
Created: 2019-10-17 01:13:42.291290+00:00
Changes: aosp/1145123, aosp/1145121, aosp/1145122, aosp/1145119
Description
Version used: 1.0.0-alpha02
Theme used:
Devices/Android versions reproduced on: Nexus 5X API 28 Emulator.
- Relevant code to trigger the issue.
Steps to reproduce:
1. Enable talkback.
2. Navigate to the "Fingerprint Login" dialog.
3. Tap on the "Touch the fingerprint sensor" TextView.
Expected:
The following text is read aloud - "Touch the fingerprint sensor."
Actual:
The following text is read aloud - "Help message area."
See attached video.