[BWA-253] bug: Filtering empty otp uris sent by Password Manager app#6869
Conversation
🤖 Bitwarden Claude Code ReviewOverall Assessment: APPROVE Reviewed a focused bug fix that filters out shared authenticator items with empty Code Review DetailsNo findings. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #6869 +/- ##
==========================================
- Coverage 85.55% 85.55% -0.01%
==========================================
Files 840 971 +131
Lines 59753 62353 +2600
Branches 8720 8829 +109
==========================================
+ Hits 51124 53345 +2221
- Misses 5631 5965 +334
- Partials 2998 3043 +45
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| SharedVerificationCodesState.Success(verificationCodes), | ||
| awaitItem(), | ||
| ) | ||
| } |
There was a problem hiding this comment.
Can you add a verify block here to prove that the items were in fact filtered.
verify(exactly = 1) {
mockTotpCodeManager.getTotpCodesFlow(filteredItems)
}|
Thanks @david-livefront 🎉 |
🎟️ Tracking
https://bitwarden.atlassian.net/browse/BWA-253
📔 Objective
Authenticator app should not display TOTP items that have an empty uri/key. This aims to filter the empty ones out