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

Randomize capitalization #16

Merged
merged 6 commits into from
Feb 9, 2022
Merged

Conversation

martbock
Copy link
Owner

@martbock martbock commented Feb 9, 2022

Although the length of a passphrase has a significantly larger impact than its complexity, you may still want to increase the complexity by utilizing a larger character pool – for example by capitalizing words in your passphrase.

Until now, this package supported a capitalize option that would capitalize the first character of every word in the passphrase when enabled. However, an attacker may assume that a passphrase uses this steady pattern. Thus, the entropy improvement is gone.

The new randomized word capitalization is inspired by password managers like 1Password that have shifted from generating passphrases with capitalized characters in every word to uppercasing one randomly selected word in the passphrase.

The change in newly generated passphrases looks like this:

- Grueling-Argue-Implement-Scoundrel-Pretender-Lettuce
+ grueling-argue-IMPLEMENT-scoundrel-pretender-lettuce 

Additionally, capitalization is enabled by default now.

@martbock martbock merged commit 51355ef into main Feb 9, 2022
@martbock martbock deleted the feature/randomize-capitalization branch February 9, 2022 21:07
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.

None yet

2 participants