-
Notifications
You must be signed in to change notification settings - Fork 549
Shell#ask: support a noecho option for stdin #332
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
Conversation
1 similar comment
|
As proposed in #209, I’d prefer if the option was named |
|
@sferik Thanks for the feedback. I updated the option to be |
|
Just noticed a bit too late what you said about this being 1.9.3+ only. We could polyfill |
|
A few options come to mind:
Any maintainers have a preference? I just proposed this as a 1.9.3-ready option to solve the problem, but understand the library needs to be compatible with 1.8.7 and 1.9.2. |
|
It would be great to restore 1.8.7 compatibility. This is preventing Bundler from updating to a newer version of Thor (rubygems/bundler#2736). We'd like to get the fix for #362. |
|
Looks like this was covered in #380. |
Support using "ask" without echoing back stdin for passwords and other sensitive information.
Relies on io/console and http://apidock.com/ruby/IO/noecho (not supported in 1.8.7 or 1.9.2 unfortunately)