scd: Support "READKEY --advanced" for all cards.
authorWerner Koch <wk@gnupg.org>
Thu, 3 Jan 2019 14:17:04 +0000 (15:17 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 3 Jan 2019 14:17:04 +0000 (15:17 +0100)
commitcca2b87e79cda212a33c13efdd2b2830295d2efe
tree7e0f117ba19536e80a18d6f15586fd1287911935
parent3d766924b412b36fc9481803447b93f7fa68b8f6
scd: Support "READKEY --advanced" for all cards.

* scd/command.c (cmd_readkey): Reformat for advanced mode.
--

The --advanced option used to work only if the driver supported that
but not if we extracted the public key from an x.509 certificate.
This patch fixes that.

Signed-off-by: Werner Koch <wk@gnupg.org>
scd/command.c