Fix for “Current Password No Longer Matches Keyring”

A I may have mentioned, I recently reinstalled Ubuntu (had been using Windows 7 for a few months). Since the reinstall I had changed my common login password for the other computers on the network so of course I updated my user password for the new install.

The slight problem came when I used any application that accessed the keyring (say, network-manager), as there was a password mismatch between my credentials and the keyring. This was because I preserve my /home partition to keep my data (a good practice) and that is where the keyring data gets stored (logically). But it got tiresome to frequently see:

“Enter password to unlock your login keyring. The password you use to login to your computer no longer matches that of your login keyring”

It’s dead easy to fix though.

  1. Go to Applications -> Accessories -> Passwords and Encryption Keys
  2. Right-click on Passwords: login
  3. Select “Change Password”
  4. Enter your old login password (the one that it repeatedly asks for!) in the old password bit, and put your current login password in the new password fields.

And that’s all there is to it!

14 Replies to “Fix for “Current Password No Longer Matches Keyring””

  1. An alternate “fix” is to remove the file at “~/.gnome2/keyrings/default.keyring”, which is what I did as I don’t know what password it’s looking for. Just a thought…


    Brie

  2. Hi Brie,

    I am new to Linux Mint 10. I have this keyring problem as well, but I looked and looked…I cannot find the default.keyring file. I thought I was using gnome2, but I only see gnome directories. Do you have any idea which file I should be looking for to delete?

    Thanks – Alan

  3. Alan, I’m not familiar with Linux Mint, but the file browser may be hiding directories beginning with a period by default. If you open up a terminal (command line) and type

    rm ~/.gnome2/keyrings/default.keyring

    Does that work?

  4. Hi Robert,

    Thanks, I fished around for the file through all the trees and found it. I took out the entry and it is fine now. I appreciate the help!

    Alan

  5. Alan,

    I am running Linux Mint 14 and cannot find the file. I don’t remember my old password so it’s a bit of a problem. How can I change my Login Keyring password to my new user psswd without having to know my old password?

  6. For me on Debian 9/Stretch using the Mate desktop (as of July, 2017), I found my keyring in the ~/.local/share/keyrings/ directory, not under ~/.gnome2. In that directory were login.keyring and user.keystore files. I just rm -rf’d the whole directory, but then next time I used the network manager it still popped up a dialog box — this time with a different message, and asking me NEW password. Briefly annoying until I figured out that removing the gnome-keyring package had not killed the still-running /usr/bin/gnome-keyring-daemon so I killed it and voila.

Tell us what's on your mind