mibrito707 / cordova-plugin-secure-storage-echo

Secure storage plugin for Apache Cordova
MIT License
73 stars 73 forks source link

Checking encryption keys failed #79

Open YanouonaY opened 11 months ago

YanouonaY commented 11 months ago

Hello,

After upgrading my hybrid application, my biometrie doesn't run and SecureStorage print out many error like:

"Checking encryption keys failed. java.lang.Exception: KeyStore doesn't contain alias: ... at com.crypho.plugins.AbstractRSA.loadKey(AbstractRSA.java:75) at com.crypho.plugins.RSA.isEntryAvailable(RSA.java:24) at com.crypho.plugins.AbstractRSA.encryptionKeysAvailable(AbstractRSA.java:25) at com.crypho.plugins.SecureStorage.execute(SecureStorage.java:106) at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:119) at org.apache.cordova.CordovaPlugin.execute(CordovaPlugin.java:100) at org.apache.cordova.PluginManager.exec(PluginManager.java:148) at org.apache.cordova.CordovaBridge.jsExec(CordovaBridge.java:59) at org.apache.cordova.engine.SystemExposedJsApi.exec(SystemExposedJsApi.java:41) at android.os.MessageQueue.nativePollOnce(Native Method) at android.os.MessageQueue.next(MessageQueue.java:335) at android.os.Looper.loopOnce(Looper.java:162) at android.os.Looper.loop(Looper.java:294) at android.os.HandlerThread.run(HandlerThread.java:67)"

"Decrypt failed. java.lang.Exception: KeyStore doesn't contain alias: ... at com.crypho.plugins.AbstractRSA.loadKey(AbstractRSA.java:75) at com.crypho.plugins.AbstractRSA.runCipher(AbstractRSA.java:44) at com.crypho.plugins.AbstractRSA.decrypt(AbstractRSA.java:65) at com.crypho.plugins.SecureStorage$3.run(SecureStorage.java:163) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644) at java.lang.Thread.run(Thread.java:1012)"

"Encrypt failed. java.lang.Exception: KeyStore doesn't contain alias: ..."

I use: -"@awesome-cordova-plugins/secure-storage-echo": "^6.4.0", -"cordova-plugin-secure-storage-echo": "^5.1.1",

Thanks