1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00
gnupg/agent
NIIBE Yutaka 20acc7c022 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.

--

In the Assuan communication, we introduce new interaction:

    [gpg]                            [gpg-agent]
            --- CMD: PKDECRYPT -->
            <-- STATUS: SETDESC "..."
            <-- STATUS: SETOK "..."
            <-- STATUS: SETNOTOK "..."
            <-- INQUERY: CONFIRM 0/1 (0 for display, 1 for user query)
	    --- INQUERY-result: -->
	    <-- RESULT: ...

GnuPG-bug-id: 3465
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2019-06-04 09:17:21 +09:00
..
agent.h agent: Stop scdaemon after reload when disable_scdaemon. 2019-05-23 10:15:18 +09:00
all-tests.scm tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
cache.c agent: Replace most assert by log_assert. 2019-05-14 10:31:46 +02:00
call-pinentry.c g10,agent: Support CONFIRM for --delete-key. 2019-06-04 09:17:21 +09:00
call-scd.c agent: Stop scdaemon after reload when disable_scdaemon. 2019-05-23 10:15:18 +09:00
ChangeLog-2011 Fix typos 2015-10-28 10:20:17 +01:00
command-ssh.c agent: For SSH key, don't put NUL-byte at the end. 2019-05-21 15:50:28 +09:00
command.c g10,agent: Support CONFIRM for --delete-key. 2019-06-04 09:17:21 +09:00
cvt-openpgp.c agent: Replace most assert by log_assert. 2019-05-14 10:31:46 +02:00
cvt-openpgp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
divert-scd.c agent,scd: Scan and load all public keys for availability. 2019-05-16 10:09:41 +09:00
findkey.c agent: Replace most assert by log_assert. 2019-05-14 10:31:46 +02:00
genkey.c agent: Remove unused agent_show_message. 2019-05-28 11:29:25 +09:00
gpg-agent-w32info.rc w32: Add icons and version information. 2013-05-07 21:35:48 +02:00
gpg-agent.c agent: Stop scdaemon after reload when disable_scdaemon. 2019-05-23 10:15:18 +09:00
keyformat.txt agent: Allow the use of "Label:" in a key file. 2019-05-07 11:09:09 +02:00
learncard.c agent: Replace most assert by log_assert. 2019-05-14 10:31:46 +02:00
Makefile.am tests: Make it possible to run all tests using our infrastructure. 2017-05-11 18:12:37 +02:00
pkdecrypt.c agent: Support scdaemon operation using KEYGRIP. 2019-05-15 17:13:32 +09:00
pksign.c agent: Make an MD encoding function more robust. 2019-05-28 12:27:52 +02:00
preset-passphrase.c agent: Replace most assert by log_assert. 2019-05-14 10:31:46 +02:00
protect-tool.c agent: Replace most assert by log_assert. 2019-05-14 10:31:46 +02:00
protect.c agent: Replace most assert by log_assert. 2019-05-14 10:31:46 +02:00
t-protect.c agent: Fix description of shadow format. 2017-12-08 09:19:50 +09:00
trans.c agent: Replace most assert by log_assert. 2019-05-14 10:31:46 +02:00
trustlist.c agent: Replace most assert by log_assert. 2019-05-14 10:31:46 +02:00
w32main.c agent: Resolve conflict of util.h. 2017-03-07 19:22:48 +09:00
w32main.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00