On 30 April 2017 at 20:49, James McCoy <james...@jamessan.com> 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 to use "gpgconf --list-dir agent-socket" instead > of reimplementing the various bits of logic ourselves? That's only > usable with the gnupg 2.x series, though.
Hello James, thank you for the feedback. I didn't know about the possibility to use gpgconf. It seems like a much better solution. I will update the patch to use gpgconf first and which will revert to the old behavior if gpgconf fails. Lukas