fix(fido2authenticator): fix cipher downgrades during fido2 assertion - #1287
Conversation
🔍 SDK Breaking Change DetectionSDK Version:
Breaking change detection uses the build of the SDK from this branch, including any incompatibities pre-existing on or merged into this branch. Check the workflow logs to confirm. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1287 +/- ##
=======================================
Coverage 85.79% 85.80%
=======================================
Files 484 484
Lines 69330 69324 -6
=======================================
Hits 59481 59481
+ Misses 9849 9843 -6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
1de3e6c to
2eddd32
Compare
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE This PR fixes FIDO2 credential save/update paths that were calling the low-level Code Review DetailsNo blocking findings. The change is a well-scoped correctness and security improvement: it prevents credentials from being re-encrypted with weaker field-level encryption during FIDO2 assertions. The removed Note: Codecov flags 0% patch coverage on the modified |
2eddd32 to
4d8d026
Compare
…cator): fix cipher downgrades during fido2 assertion (bitwarden/sdk-internal#1287)
Ticket: https://bitwarden.atlassian.net/browse/PM-40750 will make one before merge
Currently, cipher assertions are inadvertently using field-level encryption, and not enrolling into cipher-keys. This is a bug, and the correct public APIs of vault should be used.
encrypt_compositewill be removed as an impl on ciphers in a subsequent PR, making the API private.