aboutsummaryrefslogtreecommitdiffstats
path: root/agent/divert-scd.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2018-10-11 04:37:24 +0000
committerNIIBE Yutaka <[email protected]>2018-10-11 04:37:24 +0000
commit827529339a4854886dbb5625238e7e01013efdcd (patch)
tree3f3ced60b6fc34259559f0f579cda986ffd27a48 /agent/divert-scd.c
parentgpg: Don't take the a TOFU trust model from the trustdb, (diff)
downloadgnupg-827529339a4854886dbb5625238e7e01013efdcd.tar.gz
gnupg-827529339a4854886dbb5625238e7e01013efdcd.zip
agent: Support --ack option for POPUPPINPADPROMPT.
* agent/divert-scd.c (getpin_cb): Support --ack option. -- We are now introducing "acknowledge button" feature to scdaemon, so that we can support OpenPGPcard User Interaction Flag. We will (re)use the mechanism of POPUPPINPADPROMPT for this. Perhaps, we will change the name of POPUPPINPADPROMPT, since it will be no longer for PINPAD only. Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'agent/divert-scd.c')
-rw-r--r--agent/divert-scd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/divert-scd.c b/agent/divert-scd.c
index b85b490c1..ad9b9ee2f 100644
--- a/agent/divert-scd.c
+++ b/agent/divert-scd.c
@@ -276,7 +276,7 @@ getpin_cb (void *opaque, const char *desc_text, const char *info,
}
else if (maxbuf == 1) /* Open the pinentry. */
{
- if (info)
+ if (info && strcmp (info, "--ack") != 0)
{
char *desc, *desc2;