Bug#1043332: gcr-ssh-agent crashes when trying to use it
Sandelinos
debian at sandelinos.me
Wed Aug 9 10:13:45 BST 2023
Package: gcr
Version: 3.41.1-3
Severity: important
X-Debbugs-Cc: debian at sandelinos.me
Dear Maintainer,
gcr-ssh-agent crashes trying to use it.
I use Sway as the desktop on my system and wanted to use an ssh-agent to store
my keys. gnome-keyring's ssh-agent only runs on Gnome by default, while gcr-
ssh-agent.service seems to be running by default everywhere so it seems that is
the one I want to use. However when I add my key to the agent and try to ssh
into a server the agent crashes.
Steps to reproduce:
$ ssh-keygen
$ ssh-copy-id user at server
$ SSH_AUTH_SOCK=/run/user/1000/gcr/ssh ssh-add ~/.ssh/id_rsa
$ SSH_AUTH_SOCK=/run/user/1000/gcr/ssh ssh user at server # gcr-ssh-agent crashes
Log:
user at debian12:~$ journalctl --user -f -u gcr-ssh-agent.service
Aug 08 15:20:48 debian12 systemd[1163]: Started gcr-ssh-agent.service - GCR
ssh-agent wrapper.
Aug 08 16:06:49 debian12 systemd[1163]: gcr-ssh-agent.service: Main process
exited, code=killed, status=11/SEGV
Aug 08 16:06:49 debian12 systemd[1163]: gcr-ssh-agent.service: Failed with
result 'signal'.
Aug 08 16:06:50 debian12 systemd[1163]: gcr-ssh-agent.service: Scheduled
restart job, restart counter is at 1.
Aug 08 16:06:50 debian12 systemd[1163]: Stopped gcr-ssh-agent.service - GCR
ssh-agent wrapper.
Aug 08 16:06:50 debian12 systemd[1163]: Started gcr-ssh-agent.service - GCR
ssh-agent wrapper.
First encountered on a bookworm system with Sway desktop. Then tested on a
fresh bookworm install with Gnome and on trixie with Gnome (the system I'm
reporting from). The behaviour is the same everywhere.
-- System Information:
Debian Release: trixie/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.4.0-1-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages gcr depends on:
ii dbus-user-session [default-dbus-session-bus] 1.14.8-2
ii dconf-gsettings-backend [gsettings-backend] 0.40.0-4
ii init-system-helpers 1.65.2
ii libc6 2.37-6
ii libgck-1-0 3.41.1-3
ii libgcr-base-3-1 3.41.1-3
ii libgcr-ui-3-1 3.41.1-3
ii libglib2.0-0 2.77.1-2
ii libgtk-3-0 3.24.38-2
ii libsecret-1-0 0.20.5-3
ii libsystemd0 254-1
gcr recommends no packages.
gcr suggests no packages.
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list