[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] gpg-agent storage - add support for /run based sockets V4

From: Lukas Jirkovsky <l.jirkovsky_at_gmail.com>
Date: Thu, 4 May 2017 23:54:48 +0200

Updated patch. It parses "gpgconf --list-dir" output to find gpg-agent socket.

Now it also unescapes the path according to gpgconf man page which
says the path is percent-escaped.

I'm not sure about using svn_cstring_split on svn_stringbuf_t data
member though, but I could not find a similar functionality for string

Find gpg-agent socket using gpgconf if possible.
This allows detection of socket with Gnupg >= 2.1.13
which changed the default socket path to /run/user/UID/gnupg

* subversion/libsvn_subr/gpg_agent.c
    (find_gpgconf_agent_socket): new function to find
    gpg-agent socket using gpgconf
    (find_running_gpg_agent): use find_gpgconf_agent_socket
    to detect socket when possible.

Received on 2017-05-04 23:55:22 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.