Wrong password every time after changing login password

Bug #1839068 reported by leopoldog
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
seahorse (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

After changing password with "passwd" command it's not possible to open the keyring anymore.
Each time I have the dialog that open asking me for the password.
I've tried to enter the old password and the new password but nothing changes.
I've changed back the login password to the old one but even in that case the seahorse password dialog opens saying that the login password doesn't matches the keyring password and asking me to enter it again.

I need a procedure to change the keyring password without login into the seahorse, so that it can match the login password of Ubuntu.

Ubuntu 18.04.2 LTS

Seahorse 3.20.0-5 from http://ch.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, when using passwd to change your password the pam stack should update the keyring one as well, unsure why that's not working for you. Could you add your 'journalctl -b 0' log after a password change?

Changed in seahorse (Ubuntu):
importance: Undecided → Low
Revision history for this message
leopoldog (tahozeqjipfq) wrote :

All the time I receive this error in the journal.

ago 08 09:53:23 lathy passwd[621]: pam_unix(passwd:chauthtok): password changed for lghi
ago 08 09:53:23 lathy gnome-keyring-daemon[17482]: couldn't change login master password, original password was wrong: La password o il PIN non è corretto
ago 08 09:53:23 lathy passwd[621]: gkr-pam: couldn't change password for the login keyring: the passwords didn't match.

I've receiving the same error when I try to change from the old password to the new and vice versa.
I was expecting to have no error if the change was from the old password to the new and an error in the other way.

Maybe is because the first time I've changed the password I was logged in with root, but this should not be a problem if the wallet change is made via PAM.

My problem is not that the wallet doesn't change password automatically (even if it's practical) but that I can't change the wallet password anymore because even the old password is considered wrong.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in seahorse (Ubuntu):
status: New → Confirmed
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.