GPG homedir path length limit

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


Daniel Kahn Gillmor <dkg at fifthhorseman.net> 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 jelmail.com 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.


Justus
-------------- 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