-
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
Merged
mzieniukbw
merged 81 commits into
main
from
km/pm-24051-setting-master-password-unlock-into-state
Oct 16, 2025
Merged
Changes from all commits
Commits
Show all changes
81 commits
Select commit
Hold shift + click to select a range
44773f7
Adds MasterPasswordUnlock into identity's response user decryption opโฆ
mzieniukbw 0712878
Adds MasterPasswordUnlock KDF change handling in sync
mzieniukbw 8ca20a8
simplification
mzieniukbw 28a8423
clippy fix
mzieniukbw b089ea0
formatting
mzieniukbw 0d35393
no handling, just response parsing
mzieniukbw a08179d
test coverage
mzieniukbw b3647f2
wasm
mzieniukbw 36d3136
wasm unit test coverage
mzieniukbw 7c8664d
wasm unit test coverage
mzieniukbw 9c7d50d
Added UserDecryption data, response model with handling
mzieniukbw 70ad9d3
autogenerated wasm responses, UserDecryption struct, use of TryFrom
mzieniukbw 110f4db
failing unit test
mzieniukbw ff86adf
lint
mzieniukbw fa253a3
lint
mzieniukbw 4a95dc5
KdfType enum duplicate
mzieniukbw cd37e31
revert identity crate wasm, since there it's not used right now
mzieniukbw 3bf880f
docs
mzieniukbw 93a3d0c
formatting
mzieniukbw f0c4f2a
Merge branch 'main' into km/pm-24051-add-master-password-unlock-decryโฆ
mzieniukbw 3e6a46a
revert user decryption response parsing in wasm
mzieniukbw 7c34725
fixed unit test
mzieniukbw 042678c
revert wasm dependencies
mzieniukbw 9676069
bring back wasm and uniffi bindings to MasterPasswordUnlockData, erroโฆ
mzieniukbw 7973f12
identity separate user decryption options response model
mzieniukbw 5a4f314
review suggestions
mzieniukbw 7e425ca
identity name prefix for UserDecryptionOptions
mzieniukbw c9aaa8c
IdentityUserDecryptionOptionsResponseModel mapping to UserDecryptionData
mzieniukbw 2591773
clippy
mzieniukbw 3212002
Merge branch 'main' into km/pm-24051-add-master-password-unlock-decryโฆ
mzieniukbw 9b293c7
introduce initialize_user_crypto_master_password_unlock
mzieniukbw 5b3ecf8
build fix
mzieniukbw 77c2d68
missing kdf fields treated as missing field error
mzieniukbw a487fff
Merge branch 'main' into km/pm-24051-add-master-password-unlock-decryโฆ
mzieniukbw 00811a9
Merge branch 'km/pm-24051-add-master-password-unlock-decryption-optioโฆ
mzieniukbw da700c0
login method not being overridden by initialize_user_crypto
mzieniukbw ecfde52
Merge branch 'main' into km/pm-24051-add-master-password-unlock-decryโฆ
mzieniukbw debf701
Merge branch 'km/pm-24051-add-master-password-unlock-decryption-optioโฆ
mzieniukbw ac64be7
update kdf on sync
mzieniukbw 92d710d
function order
mzieniukbw 8c3b599
sync unit tests
mzieniukbw 70dee0c
reducing the public scope
mzieniukbw ad732ce
UserDecryptionOptions rename
mzieniukbw 5e6f1dd
UserDecryptionOptions documentation
mzieniukbw d11f653
simplify error with MasterPasswordError
mzieniukbw 0e104bb
remove wasm and uniffi
mzieniukbw a9f46db
Merge branch 'main' into km/pm-24051-add-master-password-unlock-decryโฆ
mzieniukbw 3cef902
api crate private error
mzieniukbw ae10e35
public crate user decryption options
mzieniukbw 1f32993
Merge branch 'km/pm-24051-add-master-password-unlock-decryption-optioโฆ
mzieniukbw b5218cd
fix build
mzieniukbw 6861006
change from unused_imports to dead_code
mzieniukbw b22537f
Merge branch 'km/pm-24051-add-master-password-unlock-decryption-optioโฆ
mzieniukbw edd0cbf
use UserDecryptionData instead of MasterPasswordUnlockData
mzieniukbw af667b0
require! stringify without reference
mzieniukbw 7d538ca
update InternalClient using MasterPasswordUnlockData
mzieniukbw e5f16dc
rename to update_user_master_password_unlock
mzieniukbw 3cf5cc4
user friendly require! error message
mzieniukbw 13ecd8e
increased test coverage
mzieniukbw 1b8ccee
fix clippy
mzieniukbw 6b98aaf
allow dead code on struct
mzieniukbw 4a00571
Merge branch 'main' into km/pm-24051-add-master-password-unlock-decryโฆ
mzieniukbw 308066b
Merge branch 'km/pm-24051-add-master-password-unlock-decryption-optioโฆ
mzieniukbw 260078b
Merge branch 'main' into km/pm-24051-setting-master-password-unlock-iโฆ
mzieniukbw ef76b78
match for readability, remove redundant `set_login_method`, use `clonโฆ
mzieniukbw cfa499c
reducing access
mzieniukbw e65d08d
Merge branch 'main' into km/pm-24051-setting-master-password-unlock-iโฆ
mzieniukbw ec4d3f9
Merge branch 'main' into km/pm-24051-setting-master-password-unlock-iโฆ
mzieniukbw 85eba26
use referenced simplification
mzieniukbw 3f2ec18
Merge branch 'main' into km/pm-24051-setting-master-password-unlock-iโฆ
mzieniukbw dc2aa72
remove MasterPasswordUnlock and re-use MasterKey
mzieniukbw 65ec578
revert public member fields of TestAccount, fix tests
mzieniukbw 5d5447a
Merge branch 'main' into km/pm-24051-setting-master-password-unlock-iโฆ
mzieniukbw 3f63f51
auth_request correct kdf and salt source
mzieniukbw 730ea12
Merge branch 'main' into km/pm-24051-setting-master-password-unlock-iโฆ
mzieniukbw 9e2e22d
New MasterPasswordUnlock init user crypto method
mzieniukbw 7327785
remove dangerous_get_symmetric_key usage
mzieniukbw 36cdcf2
remove initialize_user_crypto_master_key from unused code
mzieniukbw 9e28971
move sync to `bw` crate
mzieniukbw db74a54
missing serialization alias
mzieniukbw 7444ee6
better naming for set state
mzieniukbw File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.