g10: For signing, prefer available card key when no -u option.
authorNIIBE Yutaka <gniibe@fsij.org>
Thu, 27 Apr 2017 01:33:58 +0000 (10:33 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Thu, 27 Apr 2017 01:33:58 +0000 (10:33 +0900)
commit97a2394ecafaa6f58e4a1f70ecfd04408dc15606
tree399fcdce94574db0d5f4bfb4ef4b17f6d6c25446
parent2262a80c5f44433a08bc0e21b77d9efe51596f21
g10: For signing, prefer available card key when no -u option.

* g10/skclist.c (build_sk_list): Ask gpg-agent if card is available.
Then, use the card key if any.

--

GnuPG-bug-id: 1983
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
g10/skclist.c