[PATCH] gpg-agent: Enable socket activation

Daniel Kahn Gillmor dkg at fifthhorseman.net
Thu Nov 20 18:14:26 CET 2014


On 11/20/2014 08:20 AM, Shea Levy wrote:
>> On Nov 20, 2014, at 6:31 AM, Werner Koch <wk at gnupg.org> wrote:
> Hm, I don’t understand this reasoning. Why is it bad to use non-portable methods in a completely optional feature? I’m not suggesting we abandon the current on-demand logic. And FWIW, both OS X and Linux have existing support for socket activation (I’m pretty sure systemd —user can be used even on hosts that don’t use systemd as init), and it is very easy to write a socket-activating wrapper around a program in POSIX C.
> 
> If all portable software avoided optional use of non-portable functionality, I doubt any functionality would gain enough prominence to become established.

I haven't tested this patch, but i do think that what shea aims to offer
here is a valuable feature for those operating systems which support it.

I would like to see the gpg-agent be able to start based on a passed-in
file descriptor and stay foregrounded.

What can we do to encourage you to reconsider this approach, Werner?

	--dkg


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20141120/73564d93/attachment.sig>


More information about the Gnupg-devel mailing list