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 entry via command parameters should be removed #96

Open
yeahnope opened this issue Aug 3, 2017 · 1 comment
Open

Password entry via command parameters should be removed #96

yeahnope opened this issue Aug 3, 2017 · 1 comment

Comments

@yeahnope
Copy link

yeahnope commented Aug 3, 2017

There should not be an option to enter your google password via the command line. At least on unix-like systems this will leak the password in two ways:

  • It will be written to .bash_history
  • It will show up as part of the process name visible to other users when for example running htop
    Users that are most likely to use this form of password entry are those that won't know why it is such a bad idea.

Having an easy way to enter the password that does not leak the password could be done with the getpass module:

config['password'] = getpass.getpass('Enter Password':)

@pataquets
Copy link

@yeahnope : In general, password is deprecated in favour of OAuth2, no matter how you provide it. Check #118, and see if it helps close the issue.

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

2 participants