Error after Fingerprint touched on Samsung phones: android.security.KeyStoreException: Key user not authenticated

后端 未结 9 1183
醉酒成梦
醉酒成梦 2020-12-14 19:48

My app uses Android 6.0 Fingerprint API to protect AES key in the Android KeyStore. The stored key can be used only when user is authenticated by fingerprint sensor because

9条回答
  •  情歌与酒
    2020-12-14 20:06

    As I don't expect that the mentioned manufacturers will fix this issue soon, I've resolved it by setting the KeyGenParameterSpec.setUserAuthenticationRequired(false) for Samsung, OnePlus, Asus and some other devices.

提交回复
热议问题