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

Passphrase Strength in Key Generation #38

Closed
robert-cronin opened this issue Jun 4, 2020 · 2 comments · Fixed by #35
Closed

Passphrase Strength in Key Generation #38

robert-cronin opened this issue Jun 4, 2020 · 2 comments · Fixed by #35
Assignees
Labels
development Standard development

Comments

@robert-cronin
Copy link
Contributor

I think we should throw an error for a weak passphrase passed into the kbpgp key generation. We can validate password strength with zxcvbn. They define anything under a score of 2 to be somewhat guessable (guesses < 10^8) so I think its reasonable to error if the user provided passphrase is below this.

Note: this issue is solved in the upcoming PR #35, but I thought it best to document our decision here.

@robert-cronin robert-cronin added the development Standard development label Jun 4, 2020
@robert-cronin robert-cronin self-assigned this Jun 4, 2020
@CMCDragonkai
Copy link
Member

CMCDragonkai commented Jun 4, 2020 via email

@robert-cronin
Copy link
Contributor Author

yeah it makes sense that this should just be a notification to the user on any kind of user interface we implement and the polykey key generation function should just be ignorant to the strength of the passphrase.

I've made it just a warning on the CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
development Standard development
Development

Successfully merging a pull request may close this issue.

2 participants