-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[PM-16699] Improve decrypt failure logging #12681
base: main
Are you sure you want to change the base?
Conversation
Fixed Issues
|
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## main #12681 +/- ##
==========================================
+ Coverage 33.74% 33.81% +0.06%
==========================================
Files 2918 2917 -1
Lines 90994 90816 -178
Branches 17200 17169 -31
==========================================
+ Hits 30703 30706 +3
+ Misses 57891 57708 -183
- Partials 2400 2402 +2 ☔ View full report in Codecov by Sentry. |
🎟️ Tracking
https://bitwarden.atlassian.net/browse/PM-16699
📔 Objective
Improves logging by providing context to where the encryption failure happens (i.e what cipher, what key, what encrypting key).
Also cleans up some of the very-old promise-based decrypt logic, which is both hard to read, but also slower to execute.
📸 Screenshots
Screen.Recording.2025-01-03.at.19.26.32.mov
Screen.Recording.2025-01-03.at.18.59.18.mov
⏰ Reminders before review
🦮 Reviewer guidelines
:+1:
) or similar for great changes:memo:
) or ℹ️ (:information_source:
) for notes or general info:question:
) for questions:thinking:
) or 💭 (:thought_balloon:
) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion:art:
) for suggestions / improvements:x:
) or:warning:
) for more significant problems or concerns needing attention:seedling:
) or ♻️ (:recycle:
) for future improvements or indications of technical debt:pick:
) for minor or nitpick changes