You are not logged in.

#1 2010-02-07 13:46:29

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

I need a keyring (that works with network-manager)

Hi there,

I'm new to Arch linux (coming from Ubuntu) and I'm wondering how to set up a keyring that works with that gnome-network-manager applet and ssh(fs). I previously used GNOME and the gnome keyring, and all out of the box.

I couldn't find any manuals on how to set up the gnome-keyring in Arch linux, neither regarding ssh(fs) nor network-manager. I read people are complaining about network-manager asking for the keyring-unlocking-password, but this doesn't happen for me.

How do I set up the gnome-keyring propertly?

Offline

#2 2010-02-07 14:51:22

ammon
Member
Registered: 2008-12-11
Posts: 413

Re: I need a keyring (that works with network-manager)

Switch to wicd?

Offline

#3 2010-02-07 14:57:06

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: I need a keyring (that works with network-manager)

If I remember correctly, wicd stores passwords as plain text.

Offline

#4 2010-02-07 15:01:28

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

Re: I need a keyring (that works with network-manager)

...and it wouldn't solve the ssh-problem smile

Offline

#5 2010-02-07 16:54:55

moljac024
Member
From: Serbia
Registered: 2008-01-29
Posts: 2,676

Re: I need a keyring (that works with network-manager)

siriusb wrote:

If I remember correctly, wicd stores passwords as plain text.

Seriously? Wow, that's a major drawback...


The day Microsoft makes a product that doesn't suck, is the day they make a vacuum cleaner.
--------------------------------------------------------------------------------------------------------------
But if they tell you that I've lost my mind, maybe it's not gone just a little hard to find...

Offline

#6 2010-02-07 17:14:58

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: I need a keyring (that works with network-manager)

moljac024:
https://bugs.launchpad.net/wicd/+bug/377471

Edit:
dauerbaustelle, have you seen this? http://live.gnome.org/GnomeKeyring/Ssh

Last edited by siriusb (2010-02-07 17:19:24)

Offline

#7 2010-02-07 19:43:16

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

Re: I need a keyring (that works with network-manager)

siriusb, yes I have, but I can't get the keyring working at all... hmm

Offline

#8 2010-02-08 08:20:17

siriusb
Member
From: Hungary
Registered: 2010-01-01
Posts: 422

Re: I need a keyring (that works with network-manager)

Is the daemon running? Help says to
gnome-keyring-daemon --components=ssh

Just an idea, I installed cgmail which set up a keyring for me. You may want to check it out to have a keyring at all.

Last edited by siriusb (2010-02-08 08:34:06)

Offline

#9 2010-02-09 17:06:52

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

Re: I need a keyring (that works with network-manager)

It seems like it isn't running, even not after I started it manually. gnome-keyring-manager keeps telling me that the daemon is not running, but I have several keyring daemon processes running (I can tell you the PID tongue)

Neither Seahorse (that GNOME password management tool) recognizes the keyring.

Offline

#10 2010-02-09 17:22:32

hw-tph
Member
Registered: 2006-11-01
Posts: 149

Re: I need a keyring (that works with network-manager)

You need to export the variables set by gnome-keyring-daemon.
I have this in my ~/.xinitrc:

eval $(gnome-keyring-daemon)
export GNOME_KEYRING_PID GNOME_KEYRING_SOCKET SSH_AUTH_SOCK

Offline

#11 2010-02-09 18:23:54

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

Re: I need a keyring (that works with network-manager)

Thank you, that seems to work. I'll try that with networkmanager on next reboot.

Offline

#12 2010-02-09 18:29:22

JerichoKru
Member
From: East Coast US
Registered: 2009-02-19
Posts: 80
Website

Re: I need a keyring (that works with network-manager)

From this bug page:

The /etc/wicd/wireless-settings.conf file is made root-readable only. This means that any malicious users must have root access or physical access to the machine. In either of these cases, you have far more problems than worrying about the wireless network key.

Please see http://developer.pidgin.im/wiki/PlainTextPasswords for a very good explanation as to why the passwords are not encrypted.

It may be plain text, but only root can read/write.

Offline

#13 2010-02-09 18:32:43

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

Re: I need a keyring (that works with network-manager)

I wonder what that eval does in this case.

Offline

#14 2010-02-09 19:00:31

hw-tph
Member
Registered: 2006-11-01
Posts: 149

Re: I need a keyring (that works with network-manager)

eval is a shell (bash/zsh, but it is probably present in the original Bourne shell ("sh") as well) built-in command that uses the output from a program (or command) as a command in itself.

gnome-keyring-manager prints the needed environment variables on the standard output, and when you use eval in the way I described above, these variables are set (i.e. the variable GNOME_KEYRING_SOCKET is to its correct value). The second line I used exports these variables so they are available to all subsequent applications (including shells), so that they are aware of it.

Offline

#15 2010-02-09 19:05:16

Zeqadious
Member
From: New York, USA
Registered: 2007-10-15
Posts: 55
Website

Re: I need a keyring (that works with network-manager)

starting the ck-launch-session before ${yourde}-session helps a lot with things like this...


"Till shade is gone, till water is gone, into the Shadow with teeth bared, screaming defiance with the last breath, to spit in Sightblinder's eye on the Last Day"

Offline

#16 2010-02-09 19:10:03

dauerbaustelle
Member
Registered: 2010-02-07
Posts: 62

Re: I need a keyring (that works with network-manager)

hw-tph, thanks for the information!

Zeqadious, too bad I'm not having any DE running... smile

Offline

Board footer

Powered by FluxBB