FS#67846 - [gnome-keyring] does not synchronize user password changes

Attached to Project: Arch Linux
Opened by Daniel Pereira (kriansa) - Monday, 07 September 2020, 19:31 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:24 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


When using GNOME-Keyring and seahorse, triggering a password change is not changing the `Login` keyring password.

GNOME's docs states that for this feature to work, a change on `/etc/pam.d/passwd` is needed - but that is not included on Arch's gnome-keyring package.

For reference, a similar issue was reported in the past for Ubuntu: https://bugs.launchpad.net/gnome-keyring/+bug/416825

* https://wiki.gnome.org/Projects/GnomeKeyring/Pam
* https://wiki.gnome.org/Projects/GnomeKeyring/Pam/Manual

Additional info:
* package version(s): gnome-keyring 1:3.36.0-1

Steps to reproduce:
1. Create a user with a password on Gnome.
2. Open seahorse and ensure you have a "Login" keyring. If it asks for any password, give it the same as you gave for the user.
3. Lock that keyring.
4. Trigger a password change (go to terminal and type passwd)
5. Open seahorse and unlock the "Login" keyring
6. It will ask the password. It should work with the new password, but it will only work with the old one.
This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:24 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/gnome-keyring/issues/1
Comment by Daniel Pereira (kriansa) - Wednesday, 04 November 2020, 16:57 GMT
The fix for this issue is described here: https://garajau.com.br/2020/09/synchronize-user-pass-changes-on-gnome-keyring

I'd love to contribute with a fix but I would need some help sending a patch because it would require a change to /etc/pam.d/passwd, and I'm not confident on how to do that properly.
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.