You are not logged in.

#1 2014-02-19 16:09:14

SpacePirate
Member
Registered: 2013-09-16
Posts: 55

Gnome-keyring issues

Hi,

I have some trouble getting the gnome-keyring to work as I want it to.
I use i3 and LightDM.
I added this to my .xinitrc and it starts the keyring:

# Start GNOME Keyring
eval $(/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh)
# You probably need to do this too:
export GNOME_KEYRING_CONTROL GNOME_KEYRING_PID GPG_AGENT_INFO SSH_AUTH_SOCK

But not everything is working. Passwords by evolution are stored, also NetworkManager passphrases. What is not working is:
- Storing a gpg encryption password (though the key is supposed to be in the keyring)
- Storing passwords from chromium

Also the exports are not working. while GNOME_KEYRING_CONTROL and GNOME_KEYRING_PID are set GPG_AGENT_INFO and SSH_AUTH_SOCK are not set, although they are available (checked via gnome-keyring-daemon -s)

I hope you can help me to get this working smile

Offline

#2 2014-02-21 19:36:01

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Gnome-keyring issues

I tried to do the same as you.

Maybe you need to do an export per variable?


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#3 2014-03-05 19:11:43

SpacePirate
Member
Registered: 2013-09-16
Posts: 55

Re: Gnome-keyring issues

Unfortunatly that didnt fix it =/

Offline

#4 2014-03-06 06:16:21

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Gnome-keyring issues

Could you post the output generated by:

/usr/bin/gnome-keyring-daemon --start --components=gpg,pkcs11,secrets,ssh

please?


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#5 2014-03-18 14:39:03

SpacePirate
Member
Registered: 2013-09-16
Posts: 55

Re: Gnome-keyring issues

This is the output I get:

GNOME_KEYRING_CONTROL=/run/user/1000/keyring-W2MlWH
SSH_AUTH_SOCK=/run/user/1000/keyring-W2MlWH/ssh
GPG_AGENT_INFO=/run/user/1000/keyring-W2MlWH/gpg:0:1

Offline

#6 2014-03-18 14:47:51

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Gnome-keyring issues

That's odd.

Will it work if you set SSH_AGENT_PID to some arbitrary value? Just to make sure it's set.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#7 2014-03-18 15:14:49

SpacePirate
Member
Registered: 2013-09-16
Posts: 55

Re: Gnome-keyring issues

I added exported "SSH_AGENT_PID=42" before starting the keyring and still have the same output

Offline

#8 2014-03-18 15:36:13

Rexilion
Member
Registered: 2013-12-23
Posts: 784

Re: Gnome-keyring issues

Instead of starting a full-blown session. Start only a terminal and check if the env vars are properly set.


fs/super.c : "Self-destruct in 5 seconds.  Have a nice day...\n",

Offline

#9 2014-03-18 20:42:41

SpacePirate
Member
Registered: 2013-09-16
Posts: 55

Re: Gnome-keyring issues

When I start it in a shell on my Desktop all works well (except for the gpg component) . Also I can export the vars there so that it works on the whole system.
But on my Laptop I get the same behaviour as before. Could I be missing a package or something?

EDIT: Also on my Desktop there is an ssh-agent process which there isnt on the laptop

Last edited by SpacePirate (2014-03-18 20:46:13)

Offline

Board footer

Powered by FluxBB