Unable to disable ssh component of gnome-keyring

Bug #1855770 reported by Patrick Fasano
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-keyring (Ubuntu)
New
Undecided
Unassigned
mate-session-manager (Ubuntu)
New
Undecided
Unassigned

Bug Description

Under previous versions of Ubuntu MATE (18.04 in particular), it was possible to disable the ssh component of gnome-keyring-daemon either by a) unchecking a box in Startup Applications, or b) editing ~/.config/autostart/gnome-keyring-ssh.desktop to include "X-MATE-Autostart-enabled=false". However, in 19.10 (and possibly before), disabling this component seems to be a no-op. This means that I can't easily use a gpg smartcard for ssh keys.

To replicate:
  * Disable gnome-keyring-ssh, either by unchecking the box in Startup Applications or by editing the .desktop file directly.
  * Log out and in again.
  * At a command prompt, run "echo $SSH_AUTH_SOCK".

Expected behavior: get ssh-agent or gnupg-agent socket info.

Actual behavior: get "/run/user/1000/keyring/ssh"

I can see from `ps aux` that gnome-keyring-daemon is not having its components started separately, but rather just launched with `/usr/bin/gnome-keyring-daemon --daemonize --login`.

I see on the release notes "Fixed a gnome-keyring timeout in mate-session-manager" -- is it possible that now gnome-keyring-daemon is being started incorrectly?

Tags: focal
Norbert (nrbrtx)
tags: added: eoan
Norbert (nrbrtx)
Changed in ubuntu-mate:
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Ubuntu MATE because there has been no activity for 60 days.]

Changed in ubuntu-mate:
status: Incomplete → Expired
Revision history for this message
Patrick Fasano (kc9jud) wrote :

This is still broken in Ubuntu MATE 20.04.2.

Changed in ubuntu-mate:
status: Expired → New
tags: added: focal
Revision history for this message
Patrick Fasano (kc9jud) wrote :

A workaround is to modify org.mate.session gnome-compat-startup and remove 'keyring'.

Norbert (nrbrtx)
tags: removed: eoan
no longer affects: ubuntu-mate
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.