gpg-agent and launchd

Werner Koch wk at
Tue Apr 1 14:23:04 CEST 2008

On Fri, 21 Mar 2008 18:32, stephane at said:

> - as gpg-agent runs as a daemon, we cannot watchdog it, and relaunch
> it automatically, without an external watch dog process

Simply run gpg-agent to see whether the agent is still alive.

> - as we cannot make all user processes inherit from the environment
> variables of gpg-agent (user processes don't read the ~/.login or
> whatever), we need to stick with standard socket path, which works
> only if the home directory is mounted as a local file system

It would be straightforward to add a configure or runtime option to set
a different standard socket name.  Let me know if you really need this.
However all tools need to have a way to figure out the standard socket.
/etc/gnupg/foo might be usable to describe a system wide standard

> - when user logs out, gpg-agent is not terminated automatically

Depends on how you install it.



Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.

More information about the Gnupg-devel mailing list