Use of keyring to load username/password? #148
junkyardhokie
started this conversation in
Ideas
Replies: 1 comment 2 replies
-
Yes long term I would like to find an alternative to saving the passwords in plaintext. Just haven't gotten around to it yet. Considering the project is no longer written in python though, I will likely be exploring a more dotnet way of handling password management at that time. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Have you considered adding the option to use python's keyring module to save/load the username and password?
To save the password in keyring you would do the following from a python shell the first time:
keyring.set_password("garmin.user", "myusername", "<password>")
Then in your source code you would load the password:
garmin_password = keyring.get_password("garmin.user", "myusername")
This would support multiple users and remove the requirement to store the password in plain text.
Beta Was this translation helpful? Give feedback.
All reactions