flutter_secure_storage icon indicating copy to clipboard operation
flutter_secure_storage copied to clipboard

[Question] Web private key storage

Open donaic opened this issue 2 years ago • 2 comments

For the Web version, where is the private key stored to be used to decrypt?

donaic avatar Jan 20 '23 19:01 donaic

At publicKey localstorage:

https://github.com/mogol/flutter_secure_storage/blob/develop/flutter_secure_storage_web/lib/flutter_secure_storage_web.dart#L14

Lohann avatar May 23 '23 23:05 Lohann

For the Web version, where is the private key stored to be used to decrypt?

The reason for web behind this is, that you can pass your own key:

https://github.com/mogol/flutter_secure_storage/blob/3bb93366161a787b07c45d8ce98c7405b40fbf1f/flutter_secure_storage/lib/options/web_options.dart#L7

Ahmadre avatar Feb 09 '24 11:02 Ahmadre

I am closing all older issues. If this issue still exists in the latest version, please let me know.

juliansteenbakker avatar Aug 13 '24 19:08 juliansteenbakker