Repository navigation
Conversation
KeyguardManager.isDeviceSecure shows if the device is protected by any way but our ScreenLock key generation requires a Biometric to be configured
|
Is it desirable that a biometric screen lock is required? IIRC, most devices and OS allow adding new biometrics (fingerprints) by entering the device password. Shouldn't we allow this to also work when users use a password for screen lock? |
|
https://developer.android.com/privacy-and-security/keystore#UserAuthentication
I think it may be introduced as a setting, but I understand that some users prefer to keep Biometrics only |
|
My point is that I'm pretty certain that Google's passkey implementation allows entering the screen lock PIN/password instead of using biometrics to unlock the passkey. Which makes sense given that with the lock screen pin/password you can even fetch the passkeys from the backup they send in the cloud, so would be weird to not allow that on the local device. That is likely by using KeyProperties.AUTH_DEVICE_CREDENTIAL. Last time I checked Google also wouldn't use strongbox for passkeys, so maybe their sense of security isn't very high either, but I don't think biometrics are usually more secure than screen lock pin/password, so allowing those seems reasonable to me. We can also make that a setting of course. |
|
Oh OK I see. But we can't go with a PIN in a non-backward incompatible manner, if we do that, users will lose all their keys. So the setting is a requirement right now. It may be disabled by default, but only for new installs |
|
Well, especially when users have not set up biometrics, it's very likely they want to go with PIN/password. And in that case
|
|
Are you suggesting to keep the key creation with Biometrics only if |
|
I would probably suggest to always do Biometrics or PIN for new keys, but I guess you can convince me to allow users to disallow use of PIN if biometrics are set up. |
KeyguardManager.isDeviceSecure shows if the device is protected by any way but our ScreenLock key generation requires a Biometric to be configured