[PM-39454] feat(km): reject unlock data whose user key id does not match the stored one - #8111
[PM-39454] feat(km): reject unlock data whose user key id does not match the stored one#8111quexten wants to merge 1 commit into
Conversation
0e8999b to
39e02ae
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## km/user-key-id-05-write-path #8111 +/- ##
=============================================================
Coverage 62.90% 62.90%
=============================================================
Files 2304 2304
Lines 100400 100412 +12
Branches 9041 9043 +2
=============================================================
+ Hits 63152 63165 +13
+ Misses 35062 35061 -1
Partials 2186 2186 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
39e02ae to
f0f9329
Compare
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This change closes the remaining key-id gaps on the write path: Code Review DetailsNo new findings. Both maintainability threads from the earlier review pass are resolved, and the feature is unreleased ( |
0c52d78 to
1dc7f99
Compare
When changing the password or changing KDF settings, the user-key MUST NOT be changed. Thus, we add the key id in the unlock data so that the server can validate and assert it.