Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Encryption] Provide a way for saving key-data value pairs more securely #85

Open
nrobi144 opened this issue May 4, 2021 · 3 comments

Comments

@nrobi144
Copy link

nrobi144 commented May 4, 2021

Could it be possible to provide a way for saving data more securely, with encryption?

I'm thinking about EncryptedSharedPreferences for the Android, if I'm correct Keychain should work on Apple targets and it's already covered somewhat, and I'm not sure about js targets.

@russhwolf What do you think? I could chip in with some initial research and development

@vanniktech
Copy link
Contributor

Something like this? #63 (comment)

@nrobi144
Copy link
Author

nrobi144 commented May 4, 2021

Yes, exactly. I've missed that

@russhwolf
Copy link
Owner

Yeah, for Android you can use EncryptedSharedPreferences already without needing any explicit library support here because it implements SharedPreferences. Eventually I think there will be something similar for DataStore as well, but it's not clear what that will look like yet.

For iOS (or other Apple platforms) there's KeychainSettings, which hasn't been very battle-tested yet but it should work (and I'd love to hear whether or not it meets your security needs).

For JS there's nothing currently, so I'd definitely welcome contributions there. Same for other platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants