diff options
author | NIIBE Yutaka <[email protected]> | 2018-03-22 06:50:31 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2018-03-22 06:50:31 +0000 |
commit | 0152ba7c987443d641ce1091c79f90ef2cc46498 (patch) | |
tree | 19f8720d0ddde293ec2cebdf33e07b73217d9825 /g10/call-agent.c | |
parent | doc: Typo fix in comment. (diff) | |
download | gnupg-0152ba7c987443d641ce1091c79f90ef2cc46498.tar.gz gnupg-0152ba7c987443d641ce1091c79f90ef2cc46498.zip |
scd: Support KDF DO setup.
* g10/call-agent.c (learn_status_cb): Parse the capability for KDF.
* g10/card-util.c (gen_kdf_data, kdf_setup): New.
(card_edit): New admin command cmdKDFSETUP to call kdf_setup.
* scd/app-openpgp.c (do_getattr): Emit KDF capability.
--
GnuPG-bug-id: 3823
Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to '')
-rw-r--r-- | g10/call-agent.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c index ea530e7ac..fdacf6a90 100644 --- a/g10/call-agent.c +++ b/g10/call-agent.c @@ -591,6 +591,8 @@ learn_status_cb (void *opaque, const char *line) parm->extcap.ki = abool; else if (!strcmp (p, "aac")) parm->extcap.aac = abool; + else if (!strcmp (p, "kdf")) + parm->extcap.kdf = abool; else if (!strcmp (p, "si")) parm->status_indicator = strtoul (p2, NULL, 10); } |