[PATCH] gpg-agent: Enable socket activation

Charles Diza chdiza at gmail.com
Sat Nov 22 16:47:14 CET 2014


FWIW, it is perfectly possible to auto-kill gpg-agent upon user logout on
Mac OSX.  I've been doing this for years, and it still works on Yosemite.

Make a shell script that does "killall -u $1 gpg-agent".  Then do this in
your terminal:

sudo defaults write com.apple.loginwindow LogoutHook "path-to-your-script"

Now whenever any user logs out, that script gets executed and only kills
the gpg-agent instance associated with that user.

Cheers,
Charles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/attachments/20141122/3181982d/attachment.html>


More information about the Gnupg-devel mailing list