-
Notifications
You must be signed in to change notification settings - Fork 20
[PM-24051] Init crypto and update kdf with MasterPasswordUnlock #399
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-24051] Init crypto and update kdf with MasterPasswordUnlock #399
Conversation
…ption-options-to-identity-sync-response
…r and docs improvements
…ption-options-to-identity-sync-response
…nto-state # Conflicts: # crates/bitwarden-core/src/auth/login/api_key.rs # crates/bitwarden-core/src/auth/login/auth_request.rs # crates/bitwarden-core/src/auth/login/password.rs # crates/bitwarden-core/src/client/internal.rs # crates/bitwarden-core/src/key_management/crypto.rs # crates/bitwarden-vault/src/sync.rs
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.
Only minor things from my side. I wish we could skip all of the unused code changes. Other than these I'm happy to approve.
Claude finished @mzieniukbw's task —— View job PR Review: Init crypto and update KDF with MasterPasswordUnlockReview Progress:
🔍 Review SummaryThis PR implements significant changes to crypto initialization and authentication flows by introducing 📋 Key Changes Analyzed✅ Strengths
|
Claude finished @mzieniukbw's task —— View job PR Review: Init crypto and update KDF with MasterPasswordUnlockReview Progress:
🔍 Review SummaryThis PR implements significant changes to crypto initialization and authentication flows by introducing 📋 Key Changes Analyzed✅ Strengths
|
|
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.
Vault changes and the removal of the outdated sync look good!
…rypto and update kdf with MasterPasswordUnlock (bitwarden/sdk-internal#399)
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-24051
📔 Objective
MasterPasswordUnlock
- addedinitialize_user_crypto_master_password_unlock
function intoInternalClient
's crypto.MasterPasswordUnlockData
when present in response and uses new function.set_login_method
to be the after theinitialize_user_crypto
function in execution order, since the latter overrides theset_login_method
. Move everywhere (all login methods) for consistency.kdf
as init arg ofpassword.rs
, consistently useprelogin
now.MasterPasswordUnlock
viaupdate_user_master_password_unlock
inInternalClient
, triggered in sync.Continuation of #376
⏰ Reminders before review
team
🦮 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 confirmedissue 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