GPG homedir path length limit

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Feb 17 01:29:09 CET 2017


On Thu 2017-02-16 04:12:36 -0500, Justus Winter wrote:
> That is still wrong.  The length of the path of the socket is not
> limited in any way, the length of the path passed to connect is.

this is a clever approach to *connect* to such a socket, on some
systems.

But if you ever use getsockname (e.g. common/sysutils.c and
dirmngr/dns.c), the long socket path names are bound to fail on *any*
system, right?

        --dkg



More information about the Gnupg-users mailing list