[PATCH] gpg-agent: Enable socket activation

Werner Koch wk at gnupg.org
Fri Nov 21 14:17:57 CET 2014


On Fri, 21 Nov 2014 05:19, shea at shealevy.com said:

> activation has some bad qualities doesn’t mean socket activation
> itself isn’t a useful tool :) I’ve pointed out the specific problems

It definititely is a nice feature.  However, for gpg-agent it is not
required.  gpg-agent shall only be started by the GnuPG tools.  If you
need to start it advance (e.g. for ssh support) run

  gpgconf --launch gpg-agent

no need to mess around with init systems.

> This is not race free, some process still running after the logoff script can try to connect, see there’s no socket, and spawn a new agent.

You need to run it last of course ;-)


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-devel mailing list