-
Notifications
You must be signed in to change notification settings - Fork 5.5k
chore: bump @metamask/{keyring,seedless-onboarding}-controller
#37454
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
+35
−190
Merged
Changes from all commits
Commits
Show all changes
36 commits
Select commit
Hold shift + click to select a range
bcde1bc
use preview builds
mikesposito 5d92049
Update LavaMoat policies
metamaskbot 9f6a6e2
adjust `encryptorFactory` with new methods
mikesposito e776872
Update LavaMoat policies
metamaskbot e0e1322
bump `@metamask/browser-passworder` to `^6.0.0`
mikesposito 825bbeb
remove unnecessary type parameters for controllers
mikesposito 0a057de
Update LavaMoat policies
metamaskbot cb9797d
fix `keyring-controller-init.test.ts`
mikesposito a771b4a
remove unnecessary return type from encryptor factory
mikesposito 92b160e
add missing method to mock encryptor
mikesposito b8619f1
update previews
mikesposito 5332054
Merge branch 'main' into mikesposito/update-keyring-controller
mikesposito 797b3dd
fix `seedless-onboarding-controller-init.test.ts`
mikesposito 64fcda1
Merge branch 'main' into mikesposito/update-keyring-controller
mikesposito 98e2cd4
remove seedless-onboarding-controller preview
mikesposito b59ee0c
fix: do not override `keyFromPassword` derivation options
mikesposito 2fde464
Update LavaMoat policies
metamaskbot 1156d72
revert `encryptor-factory` change and update preview
mikesposito 412018d
update preview build
mikesposito 65e0b1b
fix lint
mikesposito 9e613d1
refactor `seedless-onboarding-controller-init` encryptor argument
mikesposito b41b54d
update preview build
mikesposito e83c5e0
Merge branch 'main' into mikesposito/update-keyring-controller
mikesposito 3b0aa88
update package preview
mikesposito 3844326
Update LavaMoat policies
metamaskbot c82ff56
update preview build
mikesposito 1e40bf2
Merge branch 'main' into mikesposito/update-keyring-controller
mikesposito 769f080
Merge branch 'main' into mikesposito/update-keyring-controller
mikesposito cf77d74
remove preview-builds
mikesposito c5b8aee
Merge branch 'main' into mikesposito/update-keyring-controller
mikesposito acb5bf2
Update LavaMoat policies
metamaskbot 7bb7688
fix lint
mikesposito 2b7e539
Merge branch 'main' into mikesposito/update-keyring-controller
mikesposito 9126053
Update LavaMoat policies
metamaskbot 14cfe12
Merge branch 'main' into mikesposito/update-keyring-controller
mikesposito 3733c29
update node-forge to fix audit
mikesposito 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
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
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.
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.
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.
Is this compatible with the
encryptorpassed now?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.
There has been this broken type in KeyringController for a while now, but it was aligned with the real type coming from browser-passworder here: https://github.com/MetaMask/core/pull/7127/files#diff-cacd62f731d7f6947fe841f6ba3441c7a16f764b699801b0c212e0e6c15879bfR423 -
encryptedDatashould never be a string when being decrypted withdecryptWithKeyThere 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.
Just making sure that the SeedlessOnboardingController doesn't expect to be able to pass a string? But I guess not since the types are valid
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.
Correct,
SeedlessOnboardingControlleralways parses the vault before passing it todecryptWithKey: https://github.com/MetaMask/core/blob/8f42d26998ec95ccbcc3dba16d6aff0490cec052/packages/seedless-onboarding-controller/src/SeedlessOnboardingController.ts#L1403-L1403