yakivmospan / scytale

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

getAsymmetricKeyFromAndroidKeyStore NullPointerException #22

Open crescent7272 opened 3 years ago

crescent7272 commented 3 years ago

I get this error frequently. Is there any update for that? Thanks!

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.security.PublicKey java.security.cert.Certificate.getPublicKey()' on a null object reference at com.yakivmospan.scytale.Store.getAsymmetricKeyFromAndroidKeyStore(Store.java:491) at com.yakivmospan.scytale.Store.getAsymmetricKey(Store.java:177)