-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to generat number-only passwords (#446)
This commit adds explicit selection knobs for all possible types of characters and symbols. A side effect is there is also now an error loop to handle the case that none of the knobs are selected. The user cannot proceed with generation until at least one type is selected. When no alphabetic characters are selected, "exclude similar" is now false, which allows all of the numbers to be picked from. Normally, 1, 0, etc. are avoided to make it easier for humans to read/copy the passwords without ambiguity. This does reduce the total entropy slightly, but ideally you are using the password generator with a long setting (20 or so characters) so you're well beyond the worry of losing entropy due to dropping the few similar characters.
- Loading branch information
Showing
2 changed files
with
53 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters