Enter Password for Default Keyring to Unlock

Questions about WIFI networks and devices
Forum rules
Before you post please read this

Enter Password for Default Keyring to Unlock

Postby gatanathoa on Fri Apr 10, 2009 12:48 pm

First off I am a noob in Linux so please assume I know nothing and give detailed instructions.

I am running Elyssa.
I have setup the wireless and it worked correctly. Then I changed my password and the password for root and now every time the wireless tries to connect I get this message:

"Enter Password for Default Keyring to Unlock"

The password it wants is my old password.
How do I get the Keyring to start using the new password?

P.S. I also get this same prompt when using a wired connection the first time I try and connect to a network share.
gatanathoa
Level 1
Level 1
 
Posts: 5
Joined: Tue Mar 10, 2009 10:04 am

Linux Mint is funded by ads and donations.
 

Re: Enter Password for Default Keyring to Unlock

Postby Husse on Sat Apr 11, 2009 8:02 am

This is exactly what happens if you change username or password
Go to
Control Center > Passwords and Encryption keys > Edit > Preferences > Password keyrings
Then change to your new password
This is not changed when you change passwords and needs to be the same not to pop up like it does for you
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Enter Password for Default Keyring to Unlock

Postby ddalley on Sat Apr 11, 2009 1:50 pm

I've never dealt with keyrings before using Linux.

Why do we even need/want them?
ddalley
Level 4
Level 4
 
Posts: 278
Joined: Sun Mar 15, 2009 4:25 am
Location: Toronto, Canada

Re: Enter Password for Default Keyring to Unlock

Postby Husse on Sat Apr 11, 2009 2:08 pm

They are there to save you from having to enter your password for wifi at every connection - that's mostly what they do
It's done in some other way in Windows, but it has to be done :)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Enter Password for Default Keyring to Unlock

Postby gatanathoa on Sat Apr 11, 2009 4:15 pm

In Control Center I do not have an option for "Passwords and Encryption keys".
Am I missing a step or is there another way to get there?
gatanathoa
Level 1
Level 1
 
Posts: 5
Joined: Tue Mar 10, 2009 10:04 am

Re: Enter Password for Default Keyring to Unlock

Postby Husse on Sat Apr 11, 2009 6:17 pm

Sorry - my mistake it's not in Control Center
This is good to know
Just open the menu and key in something from the app you want to find - and viola!
Key in pas
and you find it
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Enter Password for Default Keyring to Unlock

Postby geekygenius on Sat Apr 11, 2009 9:40 pm

Let me get this right, so you have changed yr password and root password as well. In Mint 5 yr keyring usually authenticates when you log in if my understanding is correct. Therefore, because yr password id different now keyring will not automatically do this. I suggest this (BUT DO GO CHECK AROUND GOOGLE BEFORE YOU ATTEMPT THIS!) You may find that a good way to solve this is to delete the keyring file. When you try to connect using the network manager, keyring will ask you for a new password. (MAKE SURE IT IS THE SAME AS YR LOGIN PASSWORD!) Hence the authentication is taken care of at login. If you automatically log in without a password you need to switch this off as keyring would still ask you for a password. Paste this into a terminal and hit enter if you wish to delete the keyring file:

rm ~/.gnome2/keyrings/default.keyring

Can I also suggest that you may consider changing yr network manager to an application called 'wicd'. As far as I am aware this does not use keyring and I have used it with one or two not so good wireless hacks and it seemed more stable. It looks a little different but its not hard to figure. (NOTE AGAIN, HAVE A LITTLE BIT OF A GOOGLE BEFORE YOU TAKE THIS SUGGESTION IN ORDER TO GET A BALANCED VIEW, SOMEBODY ELSE MAY HAVE A BETTER IDEA) If you want to install 'wicd' then here is what to do. Open a terminal and paste in the following:

sudo gedit /etc/apt/sources.list

When the editor appears on yr desktop, copy in the following on a new line at the bottom:

deb http://apt.wicd.net hardy extras

Now click save at the top and close the editor. Now type:

sudo wget -q http://apt.wicd.net/wicd.gpg -O- | sudo apt-key add -

You will see yr system go off and get the key it needs to allow this repository to be used. When it has finished you will see an 'OK'. Now type:

aptitude update

You will now see all the Repositories verified. Now just install 'wicd'. Type:

aptitude install wicd

This will uninstall yr present network manager and install 'wicd'. To get it running just type wicd in a terminal. Cant remember if it will automatically start on reboot but if you check 'sessions' in 'preferences' it will tell you. If its not there just add it, its pretty straight forward. the command is:

wicd

Hope this helps.
geekygenius
Level 1
Level 1
 
Posts: 2
Joined: Tue Feb 17, 2009 11:50 am

Re: Enter Password for Default Keyring to Unlock

Postby gatanathoa on Tue Apr 14, 2009 9:35 am

Thanks for the help Husse, that worked.
gatanathoa
Level 1
Level 1
 
Posts: 5
Joined: Tue Mar 10, 2009 10:04 am

Re: Enter Password for Default Keyring to Unlock

Postby markfiend on Sat Apr 18, 2009 4:31 am

I had the "Enter Password for Default Keyring to Unlock" problem too, solved thanks to this thread!

Cool, thanks.
Omnia mutantur, nihil interit.
User avatar
markfiend
Level 4
Level 4
 
Posts: 311
Joined: Wed Apr 15, 2009 2:56 pm
Location: Leeds, UK

Re: Enter Password for Default Keyring to Unlock

Postby smac on Wed Apr 29, 2009 5:01 pm

I'm new(ish) to Linux and new to Mint so have been doing quite a bit of reading on this topic. The common theme to the solutions being provided is that people have changed their password. I have not, yet am still prompted for the keyring password on each boot. The keyring password already matched my account log in password but I changed it (to the same one) again just in case - still prompted for it.

So, what is happening is that the keyring is not unlocked at log-in, even though the keyring password matches my account password.

Now, in another forum it is stated that the Passwords and Encryption Keys/Edit/Preferences/ page should feature an option to select "Unlock at log in" (or some similar wording). It does not. THAT seems to be the problem - it's not that the keyring isn't unlocked at log-in, there's actually no way of telling it to. Without it the only solution I have found is leaving the keyring password blank.

This doesn't actually bother me overly as far as security is concerned, but I just hate stuff that doesn't work as it should.
smac
Level 1
Level 1
 
Posts: 34
Joined: Wed Apr 29, 2009 4:49 pm

Re: Enter Password for Default Keyring to Unlock

Postby markfiend on Thu Apr 30, 2009 3:39 am

Try changing the keyring password to a blank password?
Omnia mutantur, nihil interit.
User avatar
markfiend
Level 4
Level 4
 
Posts: 311
Joined: Wed Apr 15, 2009 2:56 pm
Location: Leeds, UK

Re: Enter Password for Default Keyring to Unlock

Postby smac on Thu Apr 30, 2009 4:55 am

Yep, my third paragraph, last line 8) Although I realise you may have nodded off by then!

My issue is that this is a work around, not a solution. There is no point in providing this feature in Mint if it doesn't work....may as well just have the network manager remember the password and auto connect.
smac
Level 1
Level 1
 
Posts: 34
Joined: Wed Apr 29, 2009 4:49 pm

Re: Enter Password for Default Keyring to Unlock

Postby Husse on Thu Apr 30, 2009 6:27 am

@ smac
The keyring is part of gnome
The option you say does not exist is found in Edit > Preferences
That will open a box and you'll find two keyrings there - default and login, and that's the one
(Provided you are on gnome - I'm not sure how it looks in the other DEs we have)
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Enter Password for Default Keyring to Unlock

Postby smac on Thu Apr 30, 2009 4:28 pm

Here's a shot of what I'm looking at in edit/preferences......what am I missing??

Image
smac
Level 1
Level 1
 
Posts: 34
Joined: Wed Apr 29, 2009 4:49 pm

Re: Enter Password for Default Keyring to Unlock

Postby Husse on Fri May 01, 2009 6:15 am

They say an image tells more than a thousand words - indeed :)
You are missing the login keyring
You could try to create a new keyring - call it login (all lower case) and set the password to that of your account
I don't know is if this keyring will act as the one created by the system when you install or just sit there useless but it can't hurt
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Enter Password for Default Keyring to Unlock

Postby markfiend on Fri May 01, 2009 11:47 am

smac wrote:Yep, my third paragraph, last line 8) Although I realise you may have nodded off by then!

:oops:
Omnia mutantur, nihil interit.
User avatar
markfiend
Level 4
Level 4
 
Posts: 311
Joined: Wed Apr 15, 2009 2:56 pm
Location: Leeds, UK

Re: Enter Password for Default Keyring to Unlock

Postby smac on Sun May 03, 2009 12:27 am

Okaay, so I've added the 'login' entry. You say it was added during installation but I didn't remove anything.....

Anyway, so now I have:
Image

As you can see at the bottom it is set to use the login entry for applications, and the login entry has the text about opening on login.

Yet when I reboot the network manager still requests access via the default key, it does not appear to be using the login one (which in theory is already unlocked).
smac
Level 1
Level 1
 
Posts: 34
Joined: Wed Apr 29, 2009 4:49 pm

Re: Enter Password for Default Keyring to Unlock

Postby Husse on Sun May 03, 2009 6:16 am

Have to think about this
I don't know if the order the keyrings appear means anything
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Enter Password for Default Keyring to Unlock

Postby smac on Mon May 04, 2009 5:18 am

DOn't know for sure, but I don't think it's order because if I delete the default key Network Manager still asks to access the default key....
smac
Level 1
Level 1
 
Posts: 34
Joined: Wed Apr 29, 2009 4:49 pm

Re: Enter Password for Default Keyring to Unlock

Postby Husse on Mon May 04, 2009 6:30 am

smac wrote:DOn't know for sure, but I don't think it's order because if I delete the default key Network Manager still asks to access the default key....

That solves it then
For some reason the login key was not created during install so the default was used and it is not unlocked at login
So we have to find a way to use a keyring that is unlocked at login - the login keyring :)
So the problem for you is to get NM to use the right keyring - but how
I have to investigate and come back to you - I was not able to connect to the forums yesterday but others were so I have a lot to catch up on
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19710
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Linux Mint is funded by ads and donations.
 
Next

Return to Wireless

Who is online

Users browsing this forum: No registered users and 6 guests