gpg-agent shell variable output

Justus Winter justus at g10code.com
Wed Oct 19 13:36:50 CEST 2016


Werner Koch <wk at gnupg.org> writes:
> Even with the now changed defaults the socket names are short enough;
> the longest on Debian would be:
>
>   /run/user/1000/gnupg/d.8jec5q33fzegs887crd7wgh8/S.gpg-agent.browser
>
> or character more for higher UIDs.  On other platforms we need to prefix
> the above with "/var" and the entire thing will still work as a socket
> name.

As I have demonstrated, the size of sun_path restricts the length of the
relative path to the socket.  It does *not* restrict the length of the
absolute path to the socket.

Justus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 454 bytes
Desc: not available
URL: </pipermail/attachments/20161019/b25cceb9/attachment.sig>


More information about the Gnupg-devel mailing list