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

Enhancement - option to ask for passwords interactively (to avoid passwords getting into history files, etc) #4723

Closed
jjarava opened this issue Jan 16, 2015 · 2 comments

Comments

@jjarava
Copy link

@jjarava jjarava commented Jan 16, 2015

Hi!

Unless I'm mistaken, when downloading a video that requires user/password authentication, there is no option to have the program ask for the password interactively instead of having to provide it on the command line.

In many other utilities, there is either a different switch to have the program ask for the password, (-P maybe?) or when the password provided is some special char (normally "*") then the first thing the program does is ask for the password.

The idea is to avoid getting the password into all kind of logs and places that track programs invoked, etc such as the history file, completion buffers, etc...

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 16, 2015

If you don't provide a password but only a username with -u you will be automatically prompted for a password. No option is required.

@dstftw dstftw closed this Jan 16, 2015
@jjarava
Copy link
Author

@jjarava jjarava commented Jan 16, 2015

Brillant!!

I'd humbly suggest updating the docs (--help text) to indicate that option exists. I've been clearing out my history file but it's a pity not having the URLs etc on it...

Regards

phihag added a commit that referenced this issue Jan 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.