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

Password saving (or at least username) #9

Open
daboross opened this issue Jan 4, 2018 · 0 comments
Open

Password saving (or at least username) #9

daboross opened this issue Jan 4, 2018 · 0 comments

Comments

@daboross
Copy link
Owner

daboross commented Jan 4, 2018

Currently, screeps-rs requires entering username/password on every startup. During testing, at least, this can be very tiresome.

Ideally we could just store an API token in a local file, but they seem to expire fairly rapidly. Maybe a good solution would be to store username + API token + password if "save password" box is checked?

I'm not entirely sure how to do this securely on each platform, though, so saving password should probably wait until we figure that out.


Note on database: We currently use rocksdb to store terrain caches. IMO we should store servers/usernames/passwords in a separate database or file, managed separately.

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

No branches or pull requests

1 participant