Skip to content

[PM-33267] Password history encryption and email forwarding encrypting using local data user key for WASM#824

Merged
mzieniukbw merged 27 commits intomainfrom
km/pm-33267-use-local-user-data-key
Mar 9, 2026
Merged

[PM-33267] Password history encryption and email forwarding encrypting using local data user key for WASM#824
mzieniukbw merged 27 commits intomainfrom
km/pm-33267-use-local-user-data-key

Conversation

@mzieniukbw
Copy link
Contributor

@mzieniukbw mzieniukbw commented Mar 7, 2026

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-33267

Requires #806

📔 Objective

Adds a stop-gap solution for WASM, for encryption and decryption with local user data key, until tools migrate to use SDK clients directly for encryption.

🚨 Breaking Changes

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2026

Logo
Checkmarx One – Scan Summary & Detailsc41b2fab-9df7-44bb-9e34-6c02eef7df72

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

@github-actions
Copy link
Contributor

github-actions bot commented Mar 7, 2026

🔍 SDK Breaking Change Detection Results

SDK Version: km/pm-33267-use-local-user-data-key (23a2cba)
Completed: 2026-03-09 12:12:48 UTC
Total Time: 277s

Client Status Details
typescript ✅ No breaking changes detected TypeScript compilation passed with new SDK version - View Details

Breaking change detection completed. View SDK workflow

@codecov
Copy link

codecov bot commented Mar 7, 2026

Codecov Report

❌ Patch coverage is 0% with 22 lines in your changes missing coverage. Please review.
✅ Project coverage is 81.71%. Comparing base (298f323) to head (23a2cba).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...bitwarden-core/src/key_management/crypto_client.rs 0.00% 22 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #824      +/-   ##
==========================================
- Coverage   81.75%   81.71%   -0.05%     
==========================================
  Files         346      346              
  Lines       41104    41126      +22     
==========================================
  Hits        33605    33605              
- Misses       7499     7521      +22     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Contributor

@quexten quexten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good; I have a nit on docs and a thought, but this is optional.

Base automatically changed from km/pm-31055-local-user-data-key to main March 9, 2026 11:55
@mzieniukbw mzieniukbw marked this pull request as ready for review March 9, 2026 11:57
@mzieniukbw mzieniukbw requested review from a team as code owners March 9, 2026 11:57
@mzieniukbw mzieniukbw removed request for a team and gbubemismith March 9, 2026 12:00
@mzieniukbw mzieniukbw changed the title [PM-33267] Password history encryption using local data user key with stop gap solution for WASM [PM-33267] Password history encryption and email forwarding encrypting using local data user key for WASM Mar 9, 2026
@mzieniukbw
Copy link
Contributor Author

Since mobile does not use sdk-managed repositories yet, we can't change the PasswordHistory to use the LocalUserKey yet. Separated into https://bitwarden.atlassian.net/browse/PM-33158

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 9, 2026

@mzieniukbw mzieniukbw enabled auto-merge (squash) March 9, 2026 12:13
@mzieniukbw mzieniukbw merged commit bdce094 into main Mar 9, 2026
60 of 61 checks passed
@mzieniukbw mzieniukbw deleted the km/pm-33267-use-local-user-data-key branch March 9, 2026 12:23
bw-ghapp bot pushed a commit to bitwarden/sdk-swift that referenced this pull request Mar 9, 2026
…rd history encryption and email forwarding encrypting using local data user key for WASM (bitwarden/sdk-internal#824)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants