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

PasswordInput give visual confirmation with asterisks when password entered? #50

Closed
bradwood opened this issue Apr 13, 2020 · 4 comments

Comments

@bradwood
Copy link

Is there a way I can get a visual indicator when the password is typed in, like a * for every character typed at the prompt?

@fadeevab
Copy link

@bradwood Basically, this approach to not show the stars is traditional for Linux: all such packages doesn't show the stars. The security concern behind this is that the count of "*" shows the length of your password which makes easier to guess one via eyesdropping, it narrows down the scope of bruteforcing as well.

@fadeevab
Copy link

fadeevab commented Apr 13, 2020

@bradwood Maybe it could be some configurable feature though 🤷‍♂️ Either way you should know that the maintainer doesn't respond here usually.

@bradwood
Copy link
Author

It does not appear to be configurable from what I can tell. I'll probably find another library, or code something up myself, if this isn't maintained. Thanks for your help.

@pksunkara
Copy link
Collaborator

What @fadeevab said is correct. If you want to make it configurable, I am willing to accept a PR, but otherwise I am closing this 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

3 participants