Diffusion GnuPG a084924d07be

gpg-connect-agent: Catch signals so that SIGPIPE is ignored.

Authored by werner on Thu, Sep 10, 10:49 AM.

Description

gpg-connect-agent: Catch signals so that SIGPIPE is ignored.

* dirmngr/server.c (cmd_killdirmngr): Return 0.
* tools/gpg-connect-agent.c (main): Catch signals.

And we also print nicer diagnostics. The reason we need this is that
for example "gpgconf --kill dirmngr" uses gpg-connect-agent to send a
command to dirmngr. This may results in a SIGPIPE which in turn leads
to an annoying error message from gpgconf.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Committed
wernerThu, Sep 10, 11:05 AM
Parents
rG72e04b03b1a7: dirmngr: Fix the pool keyserver case for a single host in the pool.
Branches
Unknown
Tags
Unknown