-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[PM-7879, PM-7635] Add server verification for master password to user verification #9523
[PM-7879, PM-7635] Add server verification for master password to user verification #9523
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9523 +/- ##
==========================================
+ Coverage 28.71% 28.77% +0.05%
==========================================
Files 2497 2503 +6
Lines 72660 72851 +191
Branches 13542 13579 +37
==========================================
+ Hits 20867 20963 +96
- Misses 50191 50277 +86
- Partials 1602 1611 +9 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really excellent work on this! A few nits and we are good to go!
libs/common/src/auth/abstractions/user-verification/user-verification.service.abstraction.ts
Show resolved
Hide resolved
libs/common/src/auth/abstractions/user-verification/user-verification.service.abstraction.ts
Outdated
Show resolved
Hide resolved
libs/common/src/auth/abstractions/user-verification/user-verification.service.abstraction.ts
Outdated
Show resolved
Hide resolved
libs/common/src/auth/services/user-verification/user-verification.service.spec.ts
Outdated
Show resolved
Hide resolved
…r verification (bitwarden#9523) * add MP server verification * add tests and minor service enhancements * fix tests * fix initializations for cli and browser * fix CLI * pr feedback
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-7879
📔 Objective
Fixes #9016
Adds support for server-side verification of master password to the
UserVerificationService
. Since this was so similar to the logic on the lock component, I have used it there as well.I also started tests for our user verification service, there's a lot more to be written but this is a good starting point.
📸 Screenshots
Screen.Recording.2024-06-05.at.4.01.40.PM.mov
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes