Bug Report

2019-11-28 Thread Lukas ..
--- Subversion Exception! --- Subversion encountered a serious problem. Please take the time to report this on the Subversion mailing list with as much information as possible about what you were trying to do. But please first search the mailing list

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

2017-05-05 Thread Lukas Jirkovsky
On 4 May 2017 at 23:54, Lukas Jirkovsky wrote: > Updated patch. It parses "gpgconf --list-dir" output to find gpg-agent socket. I just noticed I accidentally generated the patch from inside the "subversion" subdirectory. I hope that's not a problem.

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

2017-05-04 Thread Lukas Jirkovsky
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 func

Re: [PATCH] gpg-agent storage - add support for /run based sockets V2

2017-05-03 Thread Lukas Jirkovsky
On 3 May 2017 at 22:35, Stefan Sperling wrote: > On Wed, May 03, 2017 at 10:05:01PM +0200, Lukas Jirkovsky wrote: >> New version. Instead of reimplementing the gpg-agent logic, "gpgconf >> --list-dir agent-socket" is used. If the gpgconf fails, the code falls >> b

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

2017-05-03 Thread Lukas Jirkovsky
New version. Instead of reimplementing the gpg-agent logic, "gpgconf --list-dir agent-socket" is used. If the gpgconf fails, the code falls back to the original solution to stay compatible with old Gnupg versions. [[[ Find gpg-agent socket using gpgconf if possible. This allows detection of socket

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

2017-05-02 Thread Lukas Jirkovsky
On 30 April 2017 at 20:49, James McCoy wrote: > > On Fri, Apr 28, 2017 at 05:46:21PM +0200, Lukas Jirkovsky wrote: > > Add support for sockets in /run used by recent gpg-agent > > Thanks for the patch! Aside from a few comments on the code, I wonder > if it would be better t

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

2017-04-28 Thread Lukas Jirkovsky
Add support for sockets in /run used by recent gpg-agent * subversion/libsvn_subr/gpg_agent.c (find_running_gpg_agent): Check for socket presence in /run/user/UID/gnupg and /var/run/user/UID/gnupg in addition to ~/.gnupg Index: subversion/libsvn_subr/gpg_agent.c ===