Home GnuPG
Diffusion GnuPG 4738256f2e0d

agent: Allow recursive use of pinentry.

Description

agent: Allow recursive use of pinentry.

* agent/agent.h (struct server_control_s): Add pinentry_level.
* agent/call-pinentry.c (agent_popup_message_stop): Not clear
ENTRY_CTX here.
(unlock_pinentry): Handle recursion.  Clear ENTRY_CTX here.
(start_pinentry): Allow recursive use.

(cherry picked from commit 3b66a256e3760e88066ca11b7b49d924e42aa46b)

  • GnuPG-bug-id: T3190
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 26 2017, 7:40 AM
wernerCommitted on Oct 27 2017, 2:15 PM
Parents
rG05cb87276c21: agent, tests: Support --disable-scdaemon build case.
Branches
Unknown
Tags
Unknown
Tasks
T3190: Recursive call of pinentry