GPG homedir path length limit

Justus Winter justus at
Thu Feb 16 10:12:36 CET 2017

Daniel Kahn Gillmor <dkg at> writes:

> [ Unknown signature status ]
> Hi all--
> sorry for the late followup on this thread:
> On Mon 2017-01-16 14:16:28 -0500, Werner Koch wrote:
>> On Sun, 15 Jan 2017 00:39, gnupg at said:
>>> Just experimenting in a sandbox homedir, I noticed that the homedir path
>>> needs to be below a certain size.
>> That is because on most Unix systems the file name for local socket is
>> limited in size.  Local sockets are used for communication between the
>> components (e.g. gpg and gpg-agent).

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.

I still believe we could have/should have made it just work with any
home directory.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: </pipermail/attachments/20170216/42624f55/attachment.sig>

More information about the Gnupg-users mailing list