Moving the agent's socket to /var/run ?

Werner Koch wk at
Mon Jul 11 13:12:31 CEST 2016

On Fri,  8 Jul 2016 23:09, guilhem at said:
> By the way, the “EXAMPLES” section of the gpg-agent(1) manpage should be
> modified accordingly to show the new SSH_AUTH_SOCK assignation.  In
> fact, using gpgconf seems to be more robust than building the path
> manually and would also be more portable across versions.

Good idea.  I changed it to 

  if [ "${gnupg_SSH_AUTH_SOCK_by:-0}" -ne $$ ]; then
    export SSH_AUTH_SOCK="$(gpgconf --list-dirs agent-ssh-socket)"

> However, while ‘gpgconf --list-dirs’ lists the gpg-agent socket path,
> the ssh-agent agent socket path is missing.  If it's safe to merely

Added.  And also, as you can see above, there is a new mode to print
only the names specified on the command line - without percent-escaping.



Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
 /* Join us at OpenPGP.conf  <> */

More information about the Gnupg-devel mailing list