-
Notifications
You must be signed in to change notification settings - Fork 15
[PM-22861] Account security state #322
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
Merged
Changes from 55 commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
7fa725f
Implement security context
quexten 0387b44
Cargo fmt
quexten 6c1a57d
Apply clippy fixes
quexten f4bd1e2
Apply cargo fmt
quexten ae4590e
Fix build
quexten c7dc40a
Cleanup
quexten eaf788e
Update crates/bitwarden-core/src/key_management/crypto.rs
quexten c7854b4
Merge branch 'km/account-security-version' of github.com:bitwarden/sdโฆ
quexten 2c65c3d
Split init to two functions
quexten db94fd3
Replace `EncryptionSettingsError::Crypto` with into
quexten 77a2ebe
Fix imports
quexten 14f5d3f
Cargo fmt
quexten 4fea3dc
Cleanup
quexten 46d2202
Cleanup init with enum
quexten b20e5a4
Cleanup
quexten 566dc47
Fix clippy warnings
quexten 678a9e3
Move security state to core
quexten b891ec4
Fix version range
quexten 3dd6366
Fix clippy errors
quexten 24ec20d
Fix comment
quexten 6f17cd4
Move serde bytes to workspace
quexten 9922265
Make signing key and security state non-optional
quexten 5f98cab
Remove unused import
quexten 429066a
Add comment
quexten 162e218
Remove unused import
quexten 35677ac
Merge branch 'main' into km/account-security-version
quexten 381b547
Tmp
quexten d89a17d
Simplify rotation usage, and store security state
quexten 80fe0b7
Fix build
quexten 3885e36
Fix sm build
quexten e6816f2
Apply clippy fixes
quexten 96548c2
Apply clippy fixes
quexten 620d3c2
Fix test
quexten 959b2e7
Fix tests
quexten bf269f6
Remove unused import
quexten 5902ea2
Rename to "UserCryptoV2KeysResponse"
quexten cd8077c
Update crates/bitwarden-core/src/key_management/mod.rs
quexten e063963
Fix renames
quexten a0ee4d7
Add error for base64 deserialization
quexten d10af3d
Clean up key rotation
quexten 5d6ae55
Cleanup
quexten 16c6248
Cleanup get_v2_rotated_account_keys
quexten d7dea45
Remove arc
quexten 8a00fff
Remove remaining arc references
quexten 4f2b05a
Fix build
quexten 080c6ea
Merge branch 'main' into km/account-security-version
quexten f76daa8
Re-sort impl after definition
quexten 9e44be8
Update comment
quexten 2c64b9c
Remove json schema
quexten 6e85d6b
Merge branch 'km/account-security-version' of github.com:bitwarden/sdโฆ
quexten 35821d9
Clarify comment
quexten d01b953
Add test for v1 user trying to rotate using v2 rotation method
quexten e3dea12
Cargo fmt
quexten da0a0d8
Extract individual user crypto state values into UserKeyState struct
quexten 4bc1214
Fix build
quexten 7c4f562
Swap to uuid
quexten ee78cb7
Move impl to struct
quexten f4007c1
Clean up imports
quexten 1e25d0e
Clean up imports
quexten 17758a4
Fix build
quexten a85f84f
Add test vectors and tests
quexten 932f9b8
Add comment for signature keys on registration
quexten 2511017
Lift up use
quexten 8ce7e26
Cargo fmt
quexten 95827df
Move stateful crypto error to core crate
quexten 6fa7eff
Fix build on non-internal feature flag
quexten dfaaca9
Filter import to internal feature only
quexten 736f744
Merge branch 'main' into km/account-security-version
quexten 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
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.
Uh oh!
There was an error while loading. Please reload this page.