Diffusion GnuPG ffe31f405f9b

scd: Support "acknowledge button" feature.

Authored by gniibe on Oct 11 2018, 8:41 AM.

Description

scd: Support "acknowledge button" feature.

* scd/apdu.c (set_prompt_cb): New member function.
(set_prompt_cb_ccid_reader): New function.
(open_ccid_reader): Initialize with set_prompt_cb_ccid_reader.
(apdu_set_prompt_cb): New.
* scd/app.c (lock_app, unlock_app): Add call to apdu_set_prompt_cb.
* ccid-driver.c (ccid_set_prompt_cb): New.
(bulk_in): Call ->prompt_cb when timer extension.
* scd/command.c (popup_prompt): New.

Cherry-picked master commit of:
7a5a4c4cac8709f7c413e94cd0b40f4123baa1e5

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Committed
gniibeTue, Dec 18, 2:18 AM
Parents
rGe6be36ee8854: agent: Support --ack option for POPUPPINPADPROMPT.
Branches
Unknown
Tags
Unknown