Whenever I log in on Ubuntu Lucid Lynx 10.04 I get a Seahorse/gnome-keyring prompt telling me an application wants to access my keyring. It isn't the network manager, because if I cancel the request my network connection is still established (also, this only started happening recently). How can I tell which application is making this request? The prompt doesn't provide this information.
- This isn't an answer really but for me this turned out to be the network manager applet wanting to get my wifi key.IanNorton– IanNorton2010-09-16 12:30:58 +00:00Commented Sep 16, 2010 at 12:30
- I have a different question related to auth at superuser.com/questions/189204/…, I'll appreciate a response there if anyone handling this question has any ideas.nik– nik2010-09-20 04:06:17 +00:00Commented Sep 20, 2010 at 4:06
- 2Same question at askubuntu.com/questions/21645/…lofidevops– lofidevops2011-01-27 14:39:19 +00:00Commented Jan 27, 2011 at 14:39
- if you are connecting to "open wireless" or a wired network, it wants the keyring but doesn't NEED it. check the proof video over on askubuntu. in my case I am SURE it's nm-applet.RobotHumans– RobotHumans2011-01-30 12:08:56 +00:00Commented Jan 30, 2011 at 12:08
- the upstream bug is logged at bugzilla.gnome.org/show_bug.cgi?id=574315 - I've requested comments from the developers herelofidevops– lofidevops2011-01-31 10:00:29 +00:00Commented Jan 31, 2011 at 10:00
3 Answers
From a security perspective, the answer is that in current distros you can't tell which application it is. See this bug report for clarification from a gnome-keyring developer, including the security implications and scope of the task.
From a practical perspective I am also using auto-login on Ubuntu, and it seems that it is indeed nm-applet.
- I grasp the security implications and the difficulty the developers of gnome-keyring have in identifying the caller for keychain access. My proposed solution is to offload the work onto the application that uses keyring. For example, if your app wants access to the keyring it should emit a dialog stating something to the effect of "/me wants access to the keyring". This removes the need for an API change that would break current functionality and keeps devs of the keyring from getting overwhelmed. Just thoughts.RobotHumans– RobotHumans2011-02-07 15:10:09 +00:00Commented Feb 7, 2011 at 15:10
- An alternate workaround is to create an empty default-keyring and force the user to switch between keyrings if they MUST have autologin AND a keyring without a hassle box.RobotHumans– RobotHumans2011-02-07 15:18:22 +00:00Commented Feb 7, 2011 at 15:18
I setup my box for auto-login and it does this on every login. In my case it's nm-applet/network-manager family of apps.
Edit: btw the problem has been around for some time, evidently some half-fix got undone during a package upgrade, but i digress...one solution is here
WHATEVER is causing the problem you could add after login but before everything else: a script with libpam-gnome-keyring to unlock it...the package to get this tool is: libpam-gnome-keyring at least in 11.04
#!/bin/bash #launch useful stuff for gnome #first unlock the default keyring... echo YOUR_PASSWORD_HERE | /usr/libexec/pam-keyring-tool -u -s #then run nm-applet in the background... nm-applet & Proof video that it is nm-applet is here
You could try to have a look at the logfiles :-)
Maybe something is in
/var/log/auth.logafter a wrong password.Check your autostart applications under
System -> Preferences -> Sessions -> Startup Programsand~/.config/autostartCheck the running processes with
topandps aux, check the process tree ofps axjf
It should be pretty simple to figure out which process requires your keyring?