Skip to content

[BWA-182] Add mTLS support for Glide image loading#6125

Merged
david-livefront merged 1 commit intomainfrom
BWA-182/support-mtls-icon-loading
Jan 30, 2026
Merged

[BWA-182] Add mTLS support for Glide image loading#6125
david-livefront merged 1 commit intomainfrom
BWA-182/support-mtls-icon-loading

Conversation

@aj-rosado
Copy link
Contributor

🎟️ Tracking

https://bitwarden.atlassian.net/browse/BWA-182

📔 Objective

This PR adds mTLS (mutual TLS) support to Glide image loading.
This allows image requests to pass through Cloudflare's mTLS validation.

⏰ Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 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

@github-actions
Copy link
Contributor

github-actions bot commented Nov 5, 2025

Logo
Checkmarx One – Scan Summary & Detailsba5c83a5-bc4e-4ff9-9d1f-843aa35bbb9a

Great job! No new security vulnerabilities introduced in this pull request

@codecov
Copy link

codecov bot commented Nov 5, 2025

Codecov Report

❌ Patch coverage is 66.66667% with 9 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.76%. Comparing base (3d1f469) to head (eb07a8a).
⚠️ Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
...arden/ui/platform/glide/BitwardenAppGlideModule.kt 40.00% 6 Missing ⚠️
...n/com/bitwarden/network/ssl/SslCertificateUtils.kt 81.25% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6125      +/-   ##
==========================================
- Coverage   85.77%   85.76%   -0.02%     
==========================================
  Files         775      777       +2     
  Lines       56203    56218      +15     
  Branches     8123     8123              
==========================================
+ Hits        48207    48213       +6     
- Misses       5172     5181       +9     
  Partials     2824     2824              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@david-livefront david-livefront force-pushed the BWA-182/support-mtls-icon-loading branch from 1bab24c to eb07a8a Compare January 29, 2026 23:05
@github-actions github-actions bot added app:password-manager Bitwarden Password Manager app context app:authenticator Bitwarden Authenticator app context t:deps Change Type - Dependencies labels Jan 29, 2026
@david-livefront david-livefront added t:feature Change Type - Feature Development ai-review Request a Claude code review labels Jan 29, 2026
@david-livefront david-livefront marked this pull request as ready for review January 30, 2026 15:09
@david-livefront david-livefront requested a review from a team as a code owner January 30, 2026 15:09
@claude
Copy link
Contributor

claude bot commented Jan 30, 2026

Claude finished @aj-rosado's task in 2m 42s —— View job


Code Review Complete

Summary

I've completed the code review for PR #6125, which adds mTLS (mutual TLS) support to Glide image loading. This is a well-structured PR that extracts common SSL certificate utilities into the network module and applies them to Glide for consistent mTLS handling across the application.

Key findings posted as inline comments:

  • ⚠️ Unresolved thread on BitwardenAppGlideModuleTest.kt - Need to verify if tests are using JUnit 5
  • Tests should include @Test annotations from org.junit.jupiter.api.Test (JUnit 5) rather than org.junit.Test (JUnit 4)

The PR properly addresses the previous review feedback by:

  • Extracting common SSL logic into SslCertificateUtils.kt in the network module
  • Using proper imports instead of fully-qualified paths
  • Implementing the simplified loadData method with proper nullability handling

The Checkmarx security scan shows no new vulnerabilities, and the codecov report shows 66.67% patch coverage with 9 lines missing coverage (primarily in BitwardenAppGlideModule.kt and SslCertificateUtils.kt).

@david-livefront david-livefront added this pull request to the merge queue Jan 30, 2026
Merged via the queue into main with commit 9f82b42 Jan 30, 2026
19 checks passed
@david-livefront david-livefront deleted the BWA-182/support-mtls-icon-loading branch January 30, 2026 20:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ai-review Request a Claude code review app:authenticator Bitwarden Authenticator app context app:password-manager Bitwarden Password Manager app context t:deps Change Type - Dependencies t:feature Change Type - Feature Development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants