amitaymolko / react-native-rsa-native

A native implementation of RSA key generation and encryption/decryption.
MIT License
233 stars 113 forks source link

After upgrade from v1 to v2 the keys are lost on iOS devices #144

Open leabaertschi opened 1 year ago

leabaertschi commented 1 year ago

I upgraded our app to react-native 0.69.6 and upgraded this library from v1 to v2 in the same go. After installing the new app version on iOS devices the pre-existing keys seem to be lost, i.e. RSAKeychain.getPublicKey does not return the key anymore

hanyufoodles commented 6 months ago

I confirm, the keypair changes when upgrading from v1 to v2 with the same key tag.