Steps to reproduce
- Launch Element Desktop.
- A modal window appears offering me "Cancel" and "Use weaker encryption" buttons.
Outcome
What did you expect?
Element Desktop to open.
What happened instead?
It offers me the choice of not using it, or using "weaker encryption." I wish to continue using it, without using weaker encryption. I can't make an informed decision about whether to accept the "weaker encryption," as no information is provided about the specific ways it's weaker.
The modal contains a URL, which I thought might help me resolve this issue. Unfortunately, the URL isn't clickable, nor can I select the text to copy it. After typing the URL in manually, the referenced page is Electron API documentation for a method which returns the name of the storage backend. This does not explain any of the numerous question I have about why Element Desktop stopped working, or how to make it work again.
This seems to be intentional behavior introduced by #2227, and possibly related to element-hq/element-web#32416.
I'm not using a desktop environment, however, both org.gnome.keyring and org.freedesktop.secrets D-Bus services are available.
Running Element Desktop in a terminal produces these messages:
/home/ieure/.config/Element exists: yes
/home/ieure/.config/Riot exists: no
(node:21376) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use `element-desktop --trace-deprecation ...` to show where the warning was created)
Loading app config: /gnu/store/0bjhr70cfmz5imvww3c2w6cgix9af1b6-element-desktop-1.11.104/lib/Element/resources/webapp.asar/config.json
Loading local config: /home/ieure/.config/Element/config.json
Skipping nonexistent file: /home/ieure/.config/Element/config.json
[21376:0626/170057.141816:ERROR:dbus/object_proxy.cc:590] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[21376:0626/170057.141836:ERROR:electron/shell/browser/ui/file_dialog_linux_portal.cc:78] Failed to read portal version property
Reached Electron ready state
Starting auto update with base URL: https://packages.element.io/desktop/update/
Auto update not supported on this platform
Fetching translation json for locale: en_EN
Changing application language to en
Fetching translation json for locale: en
Resetting the UI components after locale change
Resetting the UI components after locale change
Opening main window
Ensuring storage is ready
(node:21376) [DEP0044] DeprecationWarning: The `util.isArray` API is deprecated. Please use `Array.isArray()` instead.
[21376:0626/170059.537381:ERROR:content/browser/browser_main_loop.cc:278] GLib-GObject: ../glib-2.82.1/gobject/gsignal.c:2684: instance '0x28402b69500' has no handler with id '1260'
Error: safeStorage backend basic_text and user rejected it
at Store.consultUserConsentDegradedMode (file:///gnu/store/0bjhr70cfmz5imvww3c2w6cgix9af1b6-element-desktop-1.11.104/lib/Element/resources/app.asar/lib/store.js:337:23)
at async Store.reallyPrepareSafeStorage (file:///gnu/store/0bjhr70cfmz5imvww3c2w6cgix9af1b6-element-desktop-1.11.104/lib/Element/resources/app.asar/lib/store.js:253:17)
at async App.<anonymous> (file:///gnu/store/0bjhr70cfmz5imvww3c2w6cgix9af1b6-element-desktop-1.11.104/lib/Element/resources/app.asar/lib/electron-main.js:432:15)
(node:21376) UnhandledPromiseRejectionWarning: TypeError: Object has been destroyed
at n.loadURL (node:electron/js2c/browser_init:2:14440)
at App.<anonymous> (file:///gnu/store/0bjhr70cfmz5imvww3c2w6cgix9af1b6-element-desktop-1.11.104/lib/Element/resources/app.asar/lib/electron-main.js:439:28)
(node:21376) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
Operating system
Guix System
Application version
1.11.104
How did you install the app?
From nonguix: https://gitlab.com/nonguix/nonguix/-/blob/master/nongnu/packages/messaging.scm?ref_type=heads#L37
Homeserver
n/a, but selfhosted Synapse.
Will you send logs?
Yes
Steps to reproduce
Outcome
What did you expect?
Element Desktop to open.
What happened instead?
It offers me the choice of not using it, or using "weaker encryption." I wish to continue using it, without using weaker encryption. I can't make an informed decision about whether to accept the "weaker encryption," as no information is provided about the specific ways it's weaker.
The modal contains a URL, which I thought might help me resolve this issue. Unfortunately, the URL isn't clickable, nor can I select the text to copy it. After typing the URL in manually, the referenced page is Electron API documentation for a method which returns the name of the storage backend. This does not explain any of the numerous question I have about why Element Desktop stopped working, or how to make it work again.
This seems to be intentional behavior introduced by #2227, and possibly related to element-hq/element-web#32416.
I'm not using a desktop environment, however, both
org.gnome.keyringandorg.freedesktop.secretsD-Bus services are available.Running Element Desktop in a terminal produces these messages:
Operating system
Guix System
Application version
1.11.104
How did you install the app?
From nonguix: https://gitlab.com/nonguix/nonguix/-/blob/master/nongnu/packages/messaging.scm?ref_type=heads#L37
Homeserver
n/a, but selfhosted Synapse.
Will you send logs?
Yes