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

Using OSX Keychain instead of .gauth file ? #6

Closed
moul opened this issue Mar 18, 2014 · 4 comments
Closed

Using OSX Keychain instead of .gauth file ? #6

moul opened this issue Mar 18, 2014 · 4 comments

Comments

@moul
Copy link
Owner

moul commented Mar 18, 2014

Looking at this: http://blogs.developerforce.com/developer-relations/2011/11/using-keychain-for-secure-text-on-os-x.html

From what I see, we cannot list entries, but we can create keys as gauth_0 gauth_1 gauth_n, and iterate over it

It make sense to store the secrets in the keychain
Users will be able to use iCloud
We can remove all the ~/.gauth file related code and don't have to fix #4 and #5

This library is huge but do the work: https://pypi.python.org/pypi/keyring.
A lighter version (easier to package with the bundle): https://github.com/spjwebster/keychain.py

@golimpio
Copy link
Collaborator

I think it's a good idea. It will protect the secret (some people might be concerned about leave the secrets in an unprotected file on the file system).

@golimpio
Copy link
Collaborator

I apologise, I didn't mean to close this issue.

@golimpio golimpio reopened this Mar 19, 2014
@moul
Copy link
Owner Author

moul commented Mar 19, 2014

Ok perfect, I will do some tests in a dedicated branch

@moul
Copy link
Owner Author

moul commented Mar 28, 2014

Similar to #11

@moul moul closed this as completed Mar 28, 2014
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

2 participants