Home GnuPG
Diffusion GnuPG 108c22c9c50a

g10,agent: Support CONFIRM for --delete-key.
108c22c9c50aUnpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

g10,agent: Support CONFIRM for --delete-key.

* agent/call-pinentry.c (agent_get_confirmation): Add call of
pinentry_loopback_confirm.
(agent_popup_message_start): Likewise.
(agent_popup_message_stop): Return if it's loopback mode.
* agent/command.c (pinentry_loopback_confirm): New.
* g10/call-agent.c (default_inq_cb): Support "CONFIRM" inquery
when PINENTRY_MODE_LOOPBACK mode.
(confirm_status_cb): New.
(agent_delete_key): Supply confirm_status_cb to set the description
string for confirmation.
  • GnuPG-bug-id: T3465
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on May 28 2019, 9:06 AM
Parents
rG19415a265253: agent: Remove unused agent_show_message.
Branches
Unknown
Tags
Unknown
References
gniibe/fix-3465