Upgraded to Bookworm, now GNOME keyring dies--no access to stored SSH key passwords
I now have two desktop systems running Bookworm with GNOME 43. The laptop was upgraded last month and I upgraded the desktop this past Sunday afternoon. I have been using the GNOME keyring applet to manage the SSH public key passwords I use as it prompts to save passwords and then lets me SSH to other hosts without out a password prompt.
Some time after the upgrade I wanted to SSH into one of the other systems on my LAN and was greeted with a password prompt for the corresponding public key that had prior been managed by the keyring applet. I noted differences in the running processes between the laptop where the keyring applet is still working and the desktop where it was not. On an off-chance I cold booted this system and found the keyring applet was working as expected so I went on doing other things for a while. Then I tried again and was prompted for the public key's password. Uggh. Right after rebooting the process list looked like this which mirrors the laptop: Code:
$ ps ax -u nate | grep "agent\|keyring" Code:
$ ps ax -u nate | grep "agent\|keyring" Code:
debian-archive-keyring/stable,stable,now 2023.3 all [installed,automatic] Code:
$ ps ax -u nate | grep "agent\|keyring" |
Maybefrom searching your title or "About 3,850" unrefined "results?" :)
|
I did eventually post on the GNOME Discourse in the keyring category and was advised to open separate issues in the Gitlab issue tracker. The are issues 135 for the abnormal shutdown and 136 for the failure to restart properly.
|
I have also opened this issue in the Debian BTS:
https://bugs.debian.org/cgi-bin/bugr...gi?bug=1053923 I noted in that report and not elsewhere that the system with the daemon shutting down is running snapd while the other is not. I've no idea if that is relevant to this issue but that is the major difference between the two systems other than other installed packages. Upgrading to 12.2 has not resolved this issue. |
Quote:
|
Did you try post #2 from "Debian User Forums" or maybe a search for: how to purge Gnome key rings
|
I'm gathering data for Post #2.
I'm reluctant to purge the keyring as Chromium stores all of its stuff in that file as well independently of the gnome-keyring-daeom it appears. |
You do clean out your browser Cache once in a while, don't you? I also found a lot of other helpful information with that search on our subject, for example managing or resetting. :scratch:
|
The keyring is separate from the browser cache. My mention of Chromium is mostly tangential to the issue of the keyring daemon shutting down on the desktop while remaining running on the laptop through multiple suspend/resume cycles.
|
It seems a badly formed cron entry that matched text in the daemon command line was responsible for sending it the SIGTERM signal. Another project recommended the use of 'strace' to examine activity of a process for another project I was working on yesterday. This morning I decided to try it with the gnome-keyring-daemon process after a reboot and discovered the daemon was terminating at the top of each hour no matter how long, or short, of time it ran. I recalled that I had a cron entry that was calling 'pkill' at the top of each hour for an unrelated reason.
I gave a complete write up to the debian-user mailing list: https://lists.debian.org/debian-user.../msg00800.html |
All times are GMT -5. The time now is 02:57 AM. |