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

Add master password strength checks to PwdManager #5

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

OTheDev
Copy link
Owner

@OTheDev OTheDev commented Apr 23, 2024

Dropbox's zxcvbn password strength estimator is used to help ensure that the master password used for the password manager is strong. The manager enforces that the master password strength estimate is the maximum possible score of 4. If the password strength is less than 4, functions that set or update the master password return the newly introduced error variant, WeakPassword.

Dropbox's `zxcvbn` password strength estimator is used to help ensure
that the master password used for the password manager is strong. The
manager enforces that the master password strength estimate is the
maximum possible score of 4. If the password strength is less than 4,
functions that set or update the master password return the newly
introduced error variant, `WeakPassword`.
@OTheDev OTheDev merged commit bf7c378 into main Apr 23, 2024
4 checks passed
@OTheDev OTheDev deleted the ensure_master_pwd_strong branch April 23, 2024 16:51
OTheDev added a commit that referenced this pull request Apr 26, 2024
- Introduced `DuplicateId` error variant for improved error handling (#4)
- Added master password strength checks to `PwdManager` (#5)
- Use transaction in `PwdManager::new()` for atomicity (#6)
- Added `found_signature()` method to `PwdManager` (#7)
- Enhanced user interactions for master password input (#8)
@OTheDev OTheDev mentioned this pull request Apr 26, 2024
OTheDev added a commit that referenced this pull request Apr 26, 2024
- Introduced `DuplicateId` error variant for improved error handling (#4)
- Added master password strength checks to `PwdManager` (#5)
- Use transaction in `PwdManager::new()` for atomicity (#6)
- Added `found_signature()` method to `PwdManager` (#7)
- Enhanced user interactions for master password input (#8)
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