Please provide a method to completely disable gnome-keyring-daemon
Gnome keyring daemon provides so many different ways of starting that it is now incredibly difficult to find out how to disable it. I am using a different program to provide a secret provider and ssh agent and I spend several hours trying to find out why gnome-keyring is still being started in my environment.
It seems to make sure that gnome-keyring components are not started one has to:
- prevent starting via xdg autostart
- register another service as the default dbus secret service provider
- possibly disable gnome-keyring in the pam configuration
- mask the keyring socket
While 1-3 are at least somewhat documented on the gnome wiki 4 seems to be undocumented (it took me the longest to find how to disable it).
Because turning it off completely is so difficult (often gnome-keyring seems to be deactivated, but then starts through another method), the advice given on forums etc. is often to just remove the executable bit (e.g. https://unix.stackexchange.com/questions/271661/disable-gnome-keyring-daemon/298890#298890).
At the moment gnome-keyring seems to assume to be the only secret service provider which causes quite a few headaches for other secret service providers (see e.g. this discussion https://github.com/keepassxreboot/keepassxc/issues/6274). I think there either needs to be a universal way of specifying the secret service provider for a user, or at least a way to turn off gnome-keyring in a single user setting.