Change the location of the gpg-agent socket?

Dick Visser dick.visser at
Wed Apr 6 16:24:00 CEST 2016

It would, but that's not possible, so that's why i was asking.
Background, .gnupg being a configuration directory, and sockets seem
like a weird thing for a configuration directory. System sockets
aren't created in /etc/ either but usually in /var/run or something.


On 6 April 2016 at 14:08, Andrew Gallagher <andrewg at> wrote:
>> On 6 Apr 2016, at 11:14, Dick Visser <dick.visser at> wrote:
>> Hi
>> I'm using gnupg 2.1.11 on OSX. This works great.
>> I'm using BOX as a sync tool to keep my .gnupg directory backed up.
>> However, BOX chokes on the unix socket 'S.gpg-agent' that's there when
>> the agent is running.
>> I've searched through the docs but couldn't find a way to configure
>> the location of the socket, other than at compile time.
> Would it not make more sense to add an exclusion for the socket in your backup config?
> Andrew
> _______________________________________________
> Gnupg-users mailing list
> Gnupg-users at

More information about the Gnupg-users mailing list