Skip to content

Element Desktop fails to find a supported backend for the keyring #12298

Description

@mazunki

Have you searched for an existing issue?

  • Yes, I tried searching and reviewed the pinned issues

Brief Summary

While I can't pinpoint what exact set of updates caused this to occur, as I rebooted today I couldn't open Element Desktop without hitting an error while accessing the keyring. See attached image for the error. It seems like something has changed in how Electron accesses the keyring database.

Image

I found some helpful issues on flathub's repo and Riot.im's repo:

which led me to attempt to run element-desktop --password-store="gnome-libsecret" once on the shell, and it seems to have worked just fine. I suspect this is the correct approach, but I would like to confirm this is the case, and ask whether there is something missing on our end to have it find the backend automatically.

Steps to Reproduce

I am not sure what steps are required to reproduce the issue. I mostly reported it to document how I fixed the issue on my end.

KeePassXC Debug Information

KeePassXC - Version 2.7.10

Qt 5.15.17
Debugging mode is disabled.

Operating system: Gentoo Linux
CPU architecture: x86_64
Kernel: linux 6.6.67-gentoo-dist

Enabled extensions:
- Auto-Type
- Browser Integration
- Passkeys
- SSH Agent
- KeeShare
- Secret Service Integration

Cryptographic libraries:
- Botan 3.8.1

In case it matters, I'm running Sway on Gentoo:

=app-admin/keepassxc-2.7.10-r1 X autotype browser keeshare keyring network ssh-agent -doc -test -yubikey
=net-im/element-desktop-bin-1.11.105
=gui-wm/sway-1.10.1 X filecaps man swaybar swaynag -tray -wallpapers
=app-crypt/libsecret-0.21.7 crypt gcrypt introspection pam test-rust vala -gnutls -gtk-doc -test -tpm

Operating System

Linux

Linux Desktop Environment

Sway

Linux Windowing System

Wayland

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions