VerteDinde

#49348: fix: provide explicit cookie encryption provider for cookie encryption

Merged
Created: Jan 9, 2026, 10:46:27 AM
Merged: Jan 9, 2026, 1:53:58 PM
3 comments
Target: main

Description of Change

This PR modifies our existing cookie encryption logic to match an upstream change here, which now requires a cookie encryption provider for the network service to use if cookie encryption is enabled: Reland "Port net::CookieCryptoDelegate to os_crypt async" | https://chromium-review.googlesource.com/c/chromium/src/+/6996667

This bug is also present in 40-x-y; we should try to land this fix before the 40.0.0 stable cut next week, as missing it could potentially break applications using cookie encryption.

Checklist

Release Notes

Notes: Fixed an issue where no cookie encryption provider was passed into the network service when cookie encryption was enabled.

Backports

40-x-y
Merged
PR Number
#49350
Merged At
Jan 9, 2026, 7:44:48 PM
Released In
Not yet
Release Date
Not yet

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron