gnome-keyring -ssh silently start and conflict with ssh-agent

Bug #1717300 reported by Olleg Samoylov on 2017-09-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-keyring (Ubuntu)
Undecided
Unassigned

Bug Description

According to /etc/xdg/autostart/gnome-keyring-ssh.desktop gnome-keyring launchers are visible in OnlyShowIn=GNOME;Unity;MATE;. I use Cinnamon and under Cinnamon gnome-keyring is not visible in the autostart menu. But it's started hidden ad steal SSH_AUTH_SOCK from the ssh_agent. And this creates confusion problems, because gnome-keyring don't support ECDSA and ED25519. And there was hard to investigate where this gnome-keyring was launched to switch it off.
The problem script is from Ubuntu, perhaps
/usr/share/upstart/sessions/gnome-keyring-ssh.conf
There is a check of running ssh-agent, [ -z "$SSH_AUTH_SOCK" ], but obviously it don't work.

What is needed to do is if gnome-keyring is running in any windows manager, thus it must be visible in any, thus anyone shall can quickly switch it off, if this will be needed. Or don't run where it is not visible as autostart application.

Workaround is to copy file /etc/xdg/autostart/gnome-keyring-ssh.desktop to the user homedir, delete "OnlyShowIn=GNOME;Unity;MATE;" with any text editor in this file and switch it off later. Now all work fine.

Ubuntu 17.04, gnome-keyring 3.20.0-3ubuntu2.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers