You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a report from the customer from their developer console:
Exception java.security.ProviderException: Failed to generate key pair
at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeystoreKeyPair (AndroidKeyStoreKeyPairGeneratorSpi.java:514)
at android.security.keystore.AndroidKeyStoreKeyPairGeneratorSpi.generateKeyPair (AndroidKeyStoreKeyPairGeneratorSpi.java:470)
at java.security.KeyPairGenerator$Delegate.generateKeyPair (KeyPairGenerator.java:727)
at io.getlime.security.powerauth.biometry.impl.BiometricKeyEncryptorRsa.createRsaEncryptor (BiometricKeyEncryptorRsa.java:9)
at io.getlime.security.powerauth.biometry.impl.BiometricKeystore.createBiometricKeyEncryptor (BiometricKeystore.java:3)
at io.getlime.security.powerauth.biometry.impl.DefaultBiometricKeyEncryptorProvider.getBiometricKeyEncryptor (DefaultBiometricKeyEncryptorProvider.java:3)
at io.getlime.security.powerauth.biometry.BiometricAuthentication$2.run (BiometricAuthentication.java:1)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641)
at java.lang.Thread.run (Thread.java:919)
Caused by android.security.KeyStoreException: User authentication required
at android.security.KeyStore.getKeyStoreException (KeyStore.java:1275)
Device: Xiaomi Redmi Note 8Pro, Android 10
It looks like the user has no PIN/pattern set to unlock the phone, so attempt to create the key protected with the biometry fails. I guess that we can improve this and detect such situation before we try to create such key with the KeyStore.
The text was updated successfully, but these errors were encountered:
This is a report from the customer from their developer console:
Device: Xiaomi Redmi Note 8Pro, Android 10
It looks like the user has no PIN/pattern set to unlock the phone, so attempt to create the key protected with the biometry fails. I guess that we can improve this and detect such situation before we try to create such key with the KeyStore.
The text was updated successfully, but these errors were encountered: