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

mkpasswd: Add --prompts=NUMBER parameter #174

Open
wants to merge 2 commits into
base: next
Choose a base branch
from

Conversation

Ericson2314
Copy link

If you are an inaccurate typist like me, you probably want to type your password multiple times to make sure you are hashing the intended password, rather than a mistyped variant of it.

I could just make it prompt twice unconditionally, matching other utilities, but that would be a breaking change in a venerable old tool, so I added a flag to continue to the number of times it should prompt instead.

If you are an inaccurate typist like me, you probably want to type your
password multiple times to make sure you are hashing the intended
password, rather than a mistyped variant of it.

I could just make it prompt twice unconditionally, matching other
utilities, but that would be a breaking change in a venerable old tool,
so I added a flag to continue to the number of times it should prompt
instead.
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

Successfully merging this pull request may close these issues.

1 participant