- Package:
- gnome-keyring
- Source:
- gnome-keyring
- Description:
- GNOME keyring services (daemon and tools)
- Submitter:
- Daniel Dehennin
- Date:
- 2026-08-15 11:23:01 UTC
- Severity:
- normal
Dear Maintainer, After the update of PAM configuration to include common-* instead of login (#1140127), I was surprised that my keyring ask for a password. I found that pam_gnome_keyring and pam_kwallet5 were removed in the process. The /etc/pam.d/common-password has the gnome-keyring line but not /etc/pam.d/common-session. So, it seems that the “session optional pam_gnome_keyring.so auto_start” is missing. Regards.
Control: reassign -1 gnome-keyring Control: affects -1 greetd It seems *to me* unlikely that each package should work around this, so maybe the gnome-keyring maintainers can chime in here, and ideally document the requirements for pam_gnome_keyring.so. Best, Chris
Hi, please, do not treat this as a GNOME-specific bug: as the original reporter pointed out, kwallet is affected as well. FTR, greetd is the base of Mobian's login manager phrog, i.e. it can be used to launch GNOME- and KDE-based shells. On the topic of the PAM config lines, I remember both auth/session lines always been required, see e.g. [1][2], so I don't get why now either should be dropped and the other left. On the kwallet/gnome-keyring requirements, likely kwallet's README [3] shows why both auth/session lines are required. Kind regards Marco [1] https://wiki.archlinux.org/title/KDE_Wallet#Configure_PAM_on_Plasma_6_(KF6) [2] https://wiki.archlinux.org/title/GNOME/Keyring#PAM_step [3] https://invent.kde.org/plasma/kwallet-pam/-/blob/master/README.txt?ref_type=heads
Additional reference, Alpine/pmOS provide the auth&session lines for both gnome-keyring and kwallet inside linux-pam package https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/linux-pam/login.pamd https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/linux-pam/base-auth.pamd https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/linux-pam/base-session.pamd
(CC'ing a few of the last uploaders specifically.) libpam-gnome-keyring currently installs a pam-auth-update config, but only does so for "password". [A] People in this bug report suggest that also "auth" and "session" are necessary. Please see to this bug report, to avoid degrading user experience, or settle this manner in some other way. As said above, having each login manager do something special does not scale. Best, Chris [A] https://sources.debian.org/src/gnome-keyring/50.0-1/debian/pam-configs/gnome-keyring
Hi, does attached diff look sane? If so, I can upload this sometime this week. best, werdahias
I think you need separate Auth-... and Session-... stanzas. Possibly Session also wants Session-Interactive-Only? Unfortunately I don't know where this format is documented. Maybe https://sources.debian.org/src/pam/1.7.0-8/debian/pam-configs/unix is a good reference. Best, Chris
Am 2026-08-10 23:36, schrieb Chris Hofstaedtler: Hi, thanks. Updated patch attached (though untested). best, werdahias
Hi, a amd64 package with above patch can be found at people.debian.org/~werdahias/libpam-gnome-keyring_50.0-1_amd64.deb if anyone wants to test it. I likely won't have time until later. best,
Quack, Thanks Matthias for the fix. The sessions is properly added to common-session and not to common-session-noninteractive as expected but common-auth is not updated. I guess you might need to add "Auth-Type: Additional" too. Chris, thanks a lot for giving a hand here :-). Regards. \_o<
Aug 13, 2026 09:36:59 Marc Dequènes (duck) <duck@duckcorp.org>: Hi, thanks, I will add that too. Anything else that was overlooked? I have little experience with PAM. best, werdahias
Quack, I have added the line manually, dpkg-reconfigure, and the auth line appeared, rebooted (because sometimes some user processes seems to stay around after logout, just in case), logged in and gnome-keyring-daemon seemed happy, did not ask for password after login. So I think we're good here. Thanks a lot for the prompt reply. Regards. \_o<
Hi Marc, I rebuilt it with said change, rebooted too, but after login gnome-k-d still prompted me to enter my password. I am not sure why, but if it works on your machine I am willing to upload this change. best,