Crypho / cordova-plugin-secure-storage

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

java.lang.IllegalStateException: could not generate key in keystore #123

Closed ksp147 closed 7 years ago

ksp147 commented 7 years ago

can you please help me ? java.lang.IllegalStateException: could not generate key in keystore at android.security.AndroidKeyPairGenerator.generateKeyPair(AndroidKeyPairGenerator.java:99) at java.security.KeyPairGenerator$KeyPairGeneratorImpl.generateKeyPair(KeyPairGenerator.java:276) at com.crypho.plugins.RSA.createKeyPair(RSA.java:52) at com.crypho.plugins.SecureStorage$1.run(SecureStorage.java:55) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:818)

demetris-manikas commented 7 years ago

Hi, could you share some code? Also it would be great if you could describe the steps to reproduce the error.