1
0
element-desktop/remove-fuses.patch
Dominik Heidler 1ac3d41f1e - Version 1.11.80
##  Features
  * Add doc for 'force\_verification config option (https://github.com/element-hq/element-web/pull/28035). Contributed by @dbkr.
  * Roll back change to device isolation mode (https://github.com/element-hq/matrix-react-sdk/pull/104). Contributed by @richvdh.
  * Remove right panel toggling behaviour on room header buttons (https://github.com/element-hq/matrix-react-sdk/pull/100). Contributed by @t3chguy.
  * Improve error display for messages sent from insecure devices (https://github.com/element-hq/matrix-react-sdk/pull/93). Contributed by @richvdh.
  * Add labs option to exclude unverified devices (https://github.com/element-hq/matrix-react-sdk/pull/92). Contributed by @richvdh.
  * Improve contrast for timestamps, date separators \& spotlight trigger (https://github.com/element-hq/matrix-react-sdk/pull/91). Contributed by @t3chguy.
  * Open room settings on room header avatar click (https://github.com/element-hq/matrix-react-sdk/pull/88). Contributed by @t3chguy.
  * Use `strong` over `b` for improved a11y semantics (https://github.com/element-hq/matrix-react-sdk/pull/41). Contributed by @t3chguy.
  * Grant Element Call widget capabilities for "raise hand" feature (https://github.com/element-hq/matrix-react-sdk/pull/82). Contributed by @AndrewFerr.
  * Mobile registration optimizations and tests (https://github.com/element-hq/matrix-react-sdk/pull/62). Contributed by @langleyd.
  * Ignore chat effect when older than 48h (https://github.com/element-hq/matrix-react-sdk/pull/48). Contributed by @florianduros.
  ## 🐛 Bug Fixes
  * Update native OIDC callback url to be RFC8252 compliant (https://github.com/element-hq/element-web/pull/28096). Contributed by @t3chguy.
  * Update icons to include transparency (https://github.com/element-hq/element-web/pull/28040). Contributed by @t3chguy.
  * Fix default\_widget\_container\_height in sample config (https://github.com/element-hq/element-web/pull/28034). Contributed by @dbkr.
  * Fix untranslated keys being rendered in `/help` dialog (https://github.com/element-hq/matrix-react-sdk/pull/90). Contributed by @t3chguy.
  * Ensure timeline search results are visible even in video rooms (https://github.com/element-hq/matrix-react-sdk/pull/96). Contributed by @t3chguy.
  * Pop right panel timeline when unmaximising widget to avoid double timeline (https://github.com/element-hq/matrix-react-sdk/pull/94). Contributed by @t3chguy.
  * Fix accessible label on left panel spotlight trigger (https://github.com/element-hq/matrix-react-sdk/pull/87). Contributed by @t3chguy.
  * Crypto: fix display of device key (https://github.com/element-hq/matrix-react-sdk/pull/86). Contributed by @richvdh.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:nodejs/element-desktop?expand=0&rev=80
2024-10-09 09:29:13 +00:00

36 lines
1.9 KiB
Diff

It is impossible to monkeypatch a shared copy of Electron, and in current versions of the nodejs-electron package
we intentionally fail the build of any app which tries to do this to alert the packager.
One problematic fuse which may break user data compatibility with upstream binaries is cookie encryption.
If a user runs an app with fused electron and then with unfused one, their cookies will get deleted.
OBSERVATION(dziobian):
Element creates a cookies sqlite database on startup but seems to never write anything to it.
Deleting the database manually seemed to have no effect.
--- element-desktop-1.11.65/electron-builder.ts.orig 2024-04-23 15:14:00.000000000 +0200
+++ element-desktop-1.11.65/electron-builder.ts 2024-05-16 18:51:14.513871208 +0200
@@ -75,22 +75,6 @@ const config: Writable<Configuration> =
const electronBinaryPath = path.join(context.appOutDir, `${executableName}${ext}`);
console.log(`Flipping fuses for: ${electronBinaryPath}`);
- await flipFuses(electronBinaryPath, {
- version: FuseVersion.V1,
- resetAdHocDarwinSignature: context.electronPlatformName === "darwin" && context.arch === Arch.universal,
-
- [FuseV1Options.EnableCookieEncryption]: true,
- [FuseV1Options.OnlyLoadAppFromAsar]: true,
-
- [FuseV1Options.RunAsNode]: false,
- [FuseV1Options.EnableNodeOptionsEnvironmentVariable]: false,
- [FuseV1Options.EnableNodeCliInspectArguments]: false,
-
- // Mac app crashes on arm for us when `LoadBrowserProcessSpecificV8Snapshot` is enabled
- [FuseV1Options.LoadBrowserProcessSpecificV8Snapshot]: false,
- // https://github.com/electron/fuses/issues/7
- [FuseV1Options.EnableEmbeddedAsarIntegrityValidation]: false,
- });
}
},
files: [