Skip to content

chore(deps): update electron to v42 and migrate to async safeStorage#2839

Open
afonsojramos wants to merge 2 commits intomainfrom
check-electron-42-prs
Open

chore(deps): update electron to v42 and migrate to async safeStorage#2839
afonsojramos wants to merge 2 commits intomainfrom
check-electron-42-prs

Conversation

@afonsojramos
Copy link
Copy Markdown
Member

Summary

  • Bumps electron from 41.5.0 to 42.0.0.
  • Migrates src/main/handlers/storage.ts to the new async safeStorage.encryptStringAsync / decryptStringAsync introduced in electron/electron#49054, which uses os_crypt_async to discover Linux secret service providers via D-Bus instead of relying on XDG_CURRENT_DESKTOP.
  • Fixes "Encryption is not available" on Linux tiling WMs (Hyprland, Sway, i3, etc.) — supersedes the D-Bus workaround proposed in fix: Improve password store detection on Linux tiling WMs #2785, which can now be closed.

Test plan

  • `pnpm install` clean on Electron 42.0.0
  • `pnpm test` — 933 tests / 133 files passing
  • `pnpm lint:check` clean on changed files
  • Manual verification of login flow on Linux Hyprland / macOS / Windows

@github-actions github-actions Bot added the dependency Dependency updates label May 6, 2026
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 6, 2026

@afonsojramos
Copy link
Copy Markdown
Member Author

@BlueManCZ can you test this branch to validate that it indeed works?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependency Dependency updates

Development

Successfully merging this pull request may close these issues.

1 participant