koji-1009 / flutter_secure_storage

A Flutter plugin to store data in secure storage
https://pub.dev/packages/flutter_secure_storage_x
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

It this fork of flutter_secure_storage? #33

Closed apiep closed 1 week ago

apiep commented 2 weeks ago

As the title said, is this a fork of flutter_secure_storage but with security issue fixed?

As I am in need of another kind secure storage for flutter, but did not know about security stuff and it seems like this issue will not be merged soon

koji-1009 commented 1 week ago

Yes, this repository is a fork of flutter_secure_storage.


The referenced issue means that EncryptedSharedPreferences is deprecated. If you have not enabled the EncryptedSharedPreferences option for Android and have set your app's min support sdk to 23 or higher, then you should not have any major issues.

Technically, there are several technical challenges to re-encrypting from EncryptedSharedPreferences to KeyStore+SharedPreferences. This repository avoids this problem by adding an option to migrate from EncryptedSharedPreferences to DataStore. See https://github.com/koji-1009/flutter_secure_storage/tree/flutter_secure_storage_x-v10.0.1/flutter_secure_storage_x#important-notice-for-android.