Hacking GPG-Agent

Alina Friedrichsen x-alina at gmx.net
Fri Mar 22 17:27:25 CET 2013


> killall gpg-agent
> x-alina at e525:~$ cat ~/.gnupg/gpg-agent.conf 
> enable-ssh-support
> use-standard-socket
> x-alina at e525:~$ unset GPG_AGENT_INFO
> x-alina at e525:~$ unset SSH_AGENT_PID
> export SSH_AUTH_SOCK="${HOME}/.gnupg/S.gpg-agent.ssh"
> x-alina at e525:~$ LANG=C gpg-connect-agent /bye
> gpg-connect-agent: can't connect to the agent: IPC connect call failed
> x-alina at e525:~$ pidof gpg-agent
> x-alina at e525:~$ 
> 
> "gpg-connect-agent /bye" does not start the "gpg-agent" on my build.
> (2.0.20-git6d0e418)

But after this foobar I can run "gpg2 --card-status" and
this will start the "gpg-agent", too.





More information about the Gnupg-devel mailing list