agent: Add A-flag for KEYINFO output for card.
authorNIIBE Yutaka <gniibe@fsij.org>
Wed, 29 May 2019 07:19:46 +0000 (16:19 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Wed, 29 May 2019 07:19:46 +0000 (16:19 +0900)
commit6790eaf9529209e36099d9520821a3b8ad02ccef
tree712ff0174874cadf5e111e7829aecd62cfbcdcc0
parent6b06fb3cc550c61921ac239cbe637d934827dd20
agent: Add A-flag for KEYINFO output for card.

* agent/command.c (do_one_keyinfo): Add ON_CARD argument to put
A-flag.
(cmd_keyinfo): Call agent_card_keyinfo to offer additional information
if it's on card.

--

This is a modification in gpg-agent, intended for better
enum_secret_keys in gpg frontend.

GnuPG-bug-id: 4244
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
agent/command.c