[PATCH v3 0/5] systemd integration for GnuPG daemons (dirmngr and gpg-agent)

Daniel Kahn Gillmor dkg at fifthhorseman.net
Fri Aug 12 07:37:56 CEST 2016


Here is a revised series that incorporates previous feedback and
completes supervised socket-activated systemd integration for
gpg-agent as well as dirmngr.

Compared with v2, this series:

 * applies minor readability improvements to logging infrastructure

 * respects log-file configuration option for dirmngr even when in
   --supervised mode.

 * implements supervised, systemd-style socket-activation for
   gpg-agent ("gpg-agent --supervised")

 * moves the example configuration files from dirmngr/systemd-user
   into doc/examples/systemd-user

--

 agent/gpg-agent.c                                | 229 ++++++++++++++++++++++-
 agent/preset-passphrase.c                        |   2 +-
 agent/protect-tool.c                             |   2 +-
 common/logging.c                                 |   5 +-
 dirmngr/dirmngr.c                                |  41 +++-
 dirmngr/t-http.c                                 |   2 +-
 doc/Makefile.am                                  |   9 +-
 doc/dirmngr.texi                                 |   7 +
 doc/examples/systemd-user/README                 |  66 +++++++
 doc/examples/systemd-user/dirmngr.service        |  12 ++
 doc/examples/systemd-user/dirmngr.socket         |  10 +
 doc/examples/systemd-user/gpg-agent-extra.socket |  12 ++
 doc/examples/systemd-user/gpg-agent-ssh.socket   |  12 ++
 doc/examples/systemd-user/gpg-agent.service      |  12 ++
 doc/examples/systemd-user/gpg-agent.socket       |  10 +
 doc/gpg-agent.texi                               |  12 ++
 g10/gpg.c                                        |   4 +-
 g10/gpgv.c                                       |   2 +-
 g13/g13-syshelp.c                                |   4 +-
 g13/g13.c                                        |   4 +-
 kbx/kbxutil.c                                    |   2 +-
 scd/scdaemon.c                                   |   4 +-
 sm/gpgsm.c                                       |   4 +-
 tests/gpgscm/main.c                              |   2 +-
 tools/gpg-check-pattern.c                        |   2 +-
 tools/gpg-connect-agent.c                        |   2 +-
 tools/gpgconf.c                                  |   2 +-
 tools/gpgtar.c                                   |   2 +-
 tools/symcryptrun.c                              |   2 +-
 29 files changed, 451 insertions(+), 28 deletions(-)





More information about the Gnupg-devel mailing list