Skip to content

org.freedesktop.secrets invoked on every launch #27062

@GrabbenD

Description

@GrabbenD

Summary

ZED spams org.freedesktop.secrets on every launch despite no secrets being needed (no GIT nor LLMs are configured either). This becomes tiresome if KeePassXC is used for the Secret Service as you get prompted to unlock encrypted Secrets Keyring/Database every time you launch ZED, multiple times on many occasions.

Steps to trigger the problem:

  1. Enable Secret Service in KeePassXC & DBUS Auto-Start support. Make sure that Kwallet and gnome-keyring aren't used/present in the system.

  2. Launch ZED with default settings.

  3. This triggers KeePassXC and prompts for the Keyring password (due to invocation of Secrets Service API which holds encrypted Secrets). Closing KeePassXC causes ZED to re-try hence re-open KeePassXC.

Logs:

$ dbus-monitor --session for just launching ZED (and no other action):
https://gist.github.com/GrabbenD/5a98516ed0e190215624b04ff46609ab

Expected Behavior:

Secrets Service API should ideally only be invoked when the user tries to use any relevant functionality which requires secrets. I recall this being the old behavior as I didn't observe this problem when I tried ZED for the first time last year.

Zed Version and System Specs

Confirmed in:

  • 0.177.9
  • 0.178.5

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