[PATCH] gpg: Avoid using XDG_RUNTIME_DIR as socketdir.
wk at gnupg.org
Tue Jan 3 20:01:54 CET 2017
On Tue, 3 Jan 2017 15:52, dgouttegattat at incenp.org said:
> We do not want to put the sockets in XDG_RUNTIME_DIR because
> the XDG Base Directory specification says the directory is to
Although I understand your reasoning I do not like this idea.
> + if ((s = getenv ("XDG_RUNTIME_DIR")) && !strcmp (s, prefix))
Checking an envvar in addition to a fixed directory name removes a main
advantage of the new socket location, namely a fixed name on the system
independent of any user configurable parameters.
Also: GnuPG is based on Posix and not on a Desktop oriented
specification like XDG. Thus until today we have no dependency in GnuPG
on any XDG specs. If that is required the system that uses GnuPG needs
to implement this.
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 227 bytes
Desc: not available
More information about the Gnupg-devel