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

Use keychain to store api token #373

Open
neerajwahi opened this issue Feb 20, 2017 · 5 comments
Open

Use keychain to store api token #373

neerajwahi opened this issue Feb 20, 2017 · 5 comments

Comments

@neerajwahi
Copy link
Member

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

@neerajwahi neerajwahi added this to the M5 milestone Feb 20, 2017
@timabbott
Copy link
Member

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.

@neerajwahi
Copy link
Member Author

@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

@timabbott
Copy link
Member

I guess if we're doing caching only in memory, just doing the credentials properly is good enough. Cool.

@zulipbot
Copy link
Member

zulipbot commented Jun 8, 2017

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 @zulipbot claim on that issue.

Thanks for your contributions, and hope to see you again soon!

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

5 participants