yakivmospan / scytale

One tool to manage key generation, key storing and encryption on different APIs of Android.
432 stars 45 forks source link

I get a crash from fabric, but i can't reproduced it. #15

Open xukai59740 opened 4 years ago

xukai59740 commented 4 years ago
Caused by android.security.keystore.KeyStoreConnectException: Failed to communicate with keystore service
       at android.security.keystore.AndroidKeyStoreCipherSpiBase.ensureKeystoreOperationInitialized + 256(AndroidKeyStoreCipherSpiBase.java:256)
       at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineInit + 148(AndroidKeyStoreCipherSpiBase.java:148)
       at javax.crypto.Cipher.tryTransformWithProvider + 2980(Cipher.java:2980)
       at javax.crypto.Cipher.tryCombinations + 2891(Cipher.java:2891)
       at javax.crypto.Cipher$SpiAndProviderUpdater.updateAndGetSpiAndProvider + 2796(Cipher.java:2796)
       at javax.crypto.Cipher.chooseProvider + 773(Cipher.java:773)
       at javax.crypto.Cipher.init + 1288(Cipher.java:1288)
       at javax.crypto.Cipher.init + 1223(Cipher.java:1223)
xukai59740 commented 4 years ago

just happen on Android O, my dep version 1.0.1

xukai59740 commented 4 years ago

https://stackoverflow.com/questions/60482479/how-to-resolve-keystoreconnectexception-on-android-10

don't have any answer