Home GnuPG
Diffusion GnuPG 96c4943a5bd0

agent: Improve --debug-pinentry diagnostics

Description

agent: Improve --debug-pinentry diagnostics

* agent/call-pinentry.c (atfork_cb): Factor code out to ...
(atfork_core): new.

We convey certain envvars directly via the environment to Pinentry and
thus they don't show up in the Assuan logging. Because we better
don't call a logging function in an atfork handle, this patch splits
the code up and uses the same code to display what was done in at fork
after the connection has been established.

(cherry picked from commit c8783b3a204b371d44b8953429652101cf2e4d1b)

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

Details

Provenance
wernerAuthored on Nov 25 2019, 11:39 AM
Parents
rG10168a103b63: doc: Prepare a NEWS file for the next release.
Branches
Unknown
Tags
Unknown