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

Add a way to read passwords #125

Closed
Asmod4n opened this issue Jul 14, 2016 · 2 comments
Closed

Add a way to read passwords #125

Asmod4n opened this issue Jul 14, 2016 · 2 comments

Comments

@Asmod4n
Copy link

Asmod4n commented Jul 14, 2016

Would be cool if linenoise could disable echoing etc so passwords aren't written to the ternimal.

@OlliV
Copy link

OlliV commented Jul 15, 2016

Reading passwords securely requires more than that. Usually you want to ensure no one else is reading the input and that you are really connected to a terminal etc.

@Asmod4n
Copy link
Author

Asmod4n commented Jul 15, 2016

The macOS Terminal has a special mode for that.
The bundled read -s (from bash or zsh) displays a "lock" icon. Same goes for getpass from unistd.h.

But when i copy that code the icon doesn't get displayed :/

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