Open
Description
Describe the bug
I experienced the error below when using Talsec in Android. The crash 94% in background, but it affects the crash free sessions in the Crashlytics.
com.aheaditec.talsec.security.n.b
android.security.keystore.KeyStoreConnectException - Failed to communicate with keystore service
Fatal Exception: android.security.keystore.KeyStoreConnectException: Failed to communicate with keystore service
at android.security.keystore.AndroidKeyStoreCipherSpiBase.ensureKeystoreOperationInitialized(AndroidKeyStoreCipherSpiBase.java:256)
at android.security.keystore.AndroidKeyStoreCipherSpiBase.engineInit(AndroidKeyStoreCipherSpiBase.java:109)
at javax.crypto.Cipher.tryTransformWithProvider(Cipher.java:2984)
at javax.crypto.Cipher.tryCombinations(Cipher.java:2891)
at javax.crypto.Cipher$SpiAndProviderUpdater.updateAndGetSpiAndProvider(Cipher.java:2796)
at javax.crypto.Cipher.chooseProvider(Cipher.java:773)
at javax.crypto.Cipher.init(Cipher.java:1143)
at javax.crypto.Cipher.init(Cipher.java:1084)
at com.aheaditec.talsec.security.u.b(SourceFile:8)
at com.aheaditec.talsec.security.t.a(SourceFile:2)
at com.aheaditec.talsec.security.t.c(SourceFile:7)
at com.aheaditec.talsec.security.u.m(SourceFile:1)
at com.aheaditec.talsec.security.u.d(SourceFile:1)
at com.aheaditec.talsec.security.r1.c(SourceFile:9)
at com.aheaditec.talsec.security.r1.a(SourceFile:5)
at com.aheaditec.talsec.security.z0.i(SourceFile:1)
at com.aheaditec.talsec.security.y0.a(SourceFile:11)
at com.aheaditec.talsec.security.u2.c(SourceFile:4)
at com.aheaditec.talsec.security.g2.c(SourceFile:1)
at com.aheaditec.talsec.security.a2$b.b(SourceFile:8)
at com.aheaditec.talsec.security.a2$b.a(SourceFile:1)
at com.aheaditec.talsec.security.a2.a(SourceFile:2)
at com.aheaditec.talsec_security.security.runner.a.b(SourceFile:18)
at com.aheaditec.talsec_security.security.runner.a.b(SourceFile:157)
at com.aheaditec.talsec_security.security.runner.a.a(SourceFile:60)
at com.aheaditec.talsec_security.security.runner.a.a(SourceFile:44)
at com.aheaditec.talsec.security.z1.a(SourceFile:17)
at com.aheaditec.talsec.security.z1.e(SourceFile:7)
at java.lang.Thread.run(Thread.java:929)
To Reproduce
Currently, I start Talsec when application start inside the onCreate()
of the Application.
Expected behavior
There is no crash above.
Screenshots
We cannot reproduce the issue.
Please complete the following information:
- Device: 34% P30 Pro, 13% Huawei Nova 5T, 6% Mate 20 Pro, 31% Tecno Pova 3, 3% Redmi A5,
- OS version: 66% Android 10, 31% Android 12, 3% Android 15
- Version of freeRASP: 14.0.1