Changing user login password in gnome-control-settings does not change login key password in gnome-keyring

Bug #911426 reported by Otto Kekäläinen
34
This bug affects 8 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Confirmed
Low
Unassigned
Precise
Confirmed
Low
Unassigned

Bug Description

Changing password via username > users > password (gnome-control-center in Ubuntu 12.04/Unity) does not change the password that protects the default gnome keyring. Users who change their login password end up in a situation where random applications start asking for an new password (as the gnome-keyring dialog pops up). Newbie users get lost by the situation and their apps stop working correctly.

Steps to reproduce:
1. Login as any user
2. Use some app that relies on gnome-keyring, e.g. Deja Dup when it makes encrypted backups
3. Open Seahorse to view gnome-keyring, and manually check that the "login" keyring actually contains some keys.
4. Click on the username in Unity upper panel, right corner
5. Select User Accounts
6. Click on the dotted area near "Password"
7. Change password.
8. Logout and log in again
9. Open the app used earlier, e.g. Deja Dup and try to make a backup with the old settings.
10. Deja Dup tries to retrieve the key from the keyring and fails, complaingin that the login password is out of sync with the keyring password.

Repeatability: always

Expected result:
The login password should not get out of sync and everything should just work.

Workarounds:
a) change password using "passwd" in terminal, since that is correctly connected via PAM to the gnome-keyring updater.
b) choose a good password at installation or user creation time and never change it
c) manually sync the login keyring via Seahorse, click on "login" keyring with second mouse button, from context menu select "Change password" and enter your old login password (if you remember it anymore) to unlock and twice your current login password to save it as the new keyring password.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-control-center 1:3.2.2-0ubuntu5
ProcVersionSignature: Ubuntu 3.2.0-7.13-generic 3.2.0-rc7
Uname: Linux 3.2.0-7-generic i686
ApportVersion: 1.90-0ubuntu1
Architecture: i386
CheckboxSubmission: e1bb05633900ceab22efaaf3c3d929e4
CheckboxSystem: b845c366ea09c60efa3a45c1b5b21525
Date: Tue Jan 3 21:52:04 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20111129.1)
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_gnome-control-center:
 deja-dup 21.2-0ubuntu2
 gnome-bluetooth 3.2.1-1ubuntu3
 indicator-datetime 0.3.1-0ubuntu2

Revision history for this message
Otto Kekäläinen (otto) wrote :
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, to confirm but that seems something that should be fixed this cycle

Revision history for this message
Otto Kekäläinen (otto) wrote :

I tested this again alterning using passwd and gnome-control-center. Each time the problem above repeats with gnome-control-center but passwd works correctly.

As a side note, I also noticed that when the user clicks on the dots next to "Password" and the nec password dialog opens, the focus of the cursor is by default in the secodn field, the new password field. The focus should be by default in the first field, the old password field, since that is what the user must input first.

As a second side note I noticed that if the user presses the Super key immediately after login, the cursor focus is not in the dash, but you need to click it with a mouse. Later using Gnome and pressing the Super key opens the Dash and focuses it. I should probably open a second bug report for this..

Changed in gnome-control-center (Ubuntu Precise):
importance: Undecided → Low
Revision history for this message
Sebastien Bacher (seb128) wrote :

Confirmed, the auth.log has keyring errors when changing the password...

> the focus of the cursor is by default in the secodn field, the new password field. The focus should be by default in the first field, the old password field, since that is what the user must input first.

that's https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/821759

> the cursor focus is not in the dash, but you need to click it with a mouse. Later using Gnome and pressing the Super key opens the Dash and focuses it. I should probably open a second bug report for this..

that's a known issue fixed in precise and in oneiric with a stable update

Changed in gnome-control-center (Ubuntu Precise):
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.