martinkasa / capacitor-secure-storage-plugin

Capacitor plugin for storing string values securly on iOS and Android.
MIT License
153 stars 55 forks source link

Is this similar to Capacitor Storage? #1

Closed martinsotirov closed 4 years ago

martinsotirov commented 5 years ago

I'm migrating a Cordova project that uses cordova-plugin-secure-storage to Capacitor, and I was wondering if this is different (more secure) than the built-in Capacitor Storage?

I'm not a Swift / Java developer but upon casual inspection of Capacitor Storage's source, it seems that on iOS it's not using Keychain and on Android it's not encrypting the values in SharedPreferences like your plugin seems to be doing.

martinkasa commented 4 years ago

Yes, you are right. This plugin is for storing sensitive information like security tokens. Capacitor storage just store value in plain text.