iamMehedi / Secured-Preference-Store

A cryptography library and a SharedPreferences wrapper for Android that encrypts the content with 256 bit AES encryption. The Encryption key is securely stored in device's KeyStore.
562 stars 97 forks source link

Fix crash with casting AndroidKeyStoreRSAPrivateKey to RSAPrivateKey #49

Open atanana opened 5 years ago

atanana commented 5 years ago

Some users of my app got the following crash like https://stackoverflow.com/questions/32400689/crash-casting-androidkeystorersaprivatekey-to-rsaprivatekey or https://stackoverflow.com/questions/32400689/crash-casting-androidkeystorersaprivatekey-to-rsaprivatekey.

Seems that it not necessary to cast the private key to RSAPrivateKey.

angelos3lex commented 4 years ago

@iamMehedi any updates on this one???