You are not logged in.

#1 2009-01-09 08:35:57

sulraug
Member
Registered: 2009-01-08
Posts: 8

KDE4.1 ssh-agent and gpg-agent

Suddenly after an update of kdeworkspace my ssh-agent and gpg-agent have stopped working. Does anyone else have also this problem?

Regards,

Offline

#2 2009-01-14 09:30:27

sulraug
Member
Registered: 2009-01-08
Posts: 8

Re: KDE4.1 ssh-agent and gpg-agent

I haven't got time enough to look... but as I have seen the enviroment variables that are setted when you start the agents aren't there, as if they are deleten when you login.

Check $GPG_AGENT_INFO for example, but the gpg-agent is running anyway, but can't use it. Also I don't have the socket, maybe there is some kind of policy that disallows the creation of socket that I'm unaware of...

Offline

#3 2009-01-18 10:55:25

Daren
Member
From: Notts, UK
Registered: 2006-01-02
Posts: 73

Re: KDE4.1 ssh-agent and gpg-agent

I've also had this problem, although I don't know the exact time it stopped working as I have not had to use my laptop to ssh for a while.

Everything seems to get created OK - the socket is created:

[daren@daren_laptop env]$ ll /tmp/gpg-MZi0kX/
total 0
srwxr-xr-x 1 daren daren 0 2009-01-18 10:06 S.gpg-agent

and the env variable points to it:

[daren@daren_laptop env]$ env | grep GPG
GPG_AGENT_INFO=/tmp/gpg-MZi0kX/S.gpg-agent:4508:1

and the agent is running on the correct pid:

[daren@daren_laptop env]$ ps axf | grep gpg-agent
 4508 ?        Ss     0:00 gpg-agent --daemon
 4902 pts/0    R+     0:00      \_ grep gpg-agent

If i run ssh-add from the command line, I get this:

[daren@daren_laptop env]$ ssh-add
Could not open a connection to your authentication agent.
[daren@daren_laptop env]$

I'm not that clued up on using the agent - it's always "just worked" after adding the script to ~/.kde4/env, but I'm kind of stuck now.  There was another post about issues with KDE 4.1 and the agents, but they resolved theirs by doing what I've had setup for a while now.

Offline

Board footer

Powered by FluxBB