-
-
Notifications
You must be signed in to change notification settings - Fork 668
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
Use keychain to store api token #373
Comments
We definitely get questions about whether the data is encrypted at rest; so once we've at least done this for the crypto material, we should think about doing it for other things. |
@timabbott what other things did you have in mind? We're currently not persisting any messages to disk, but iOS uses full-disk encryption so I think it's ok to store that data in the filesystem |
I guess if we're doing caching only in memory, just doing the credentials properly is good enough. Cool. |
Hello @borisyankov, you have been unassigned from this issue because you have not updated this issue or any referenced pull requests for over ten days. You can reclaim this issue or claim any other issue by commenting Thanks for your contributions, and hope to see you again soon! |
We're currently using AsyncStorage (https://facebook.github.io/react-native/docs/asyncstorage.html) which is unencrypted. We should use the keychain on iOS (and its equivalent on Android) to store this data.
This is probably ok on iOS because apps can only access their own sandbox (and the disk is usually encrypted), but it's best to move to use the keychain. I don't know the story on Android
The text was updated successfully, but these errors were encountered: