gpg: Allow decryption using PIV cards.
authorWerner Koch <wk@gnupg.org>
Wed, 3 Apr 2019 13:30:10 +0000 (15:30 +0200)
committerWerner Koch <wk@gnupg.org>
Wed, 3 Apr 2019 13:30:10 +0000 (15:30 +0200)
commitec6a6779236a89d4784a6bb7de0def9cc0f9e8a4
tree69e7cc27c2e651f5b76dc20b97d90632d050897a
parent2b1135cf920cf3d863813d60f032d476dcccfb58
gpg: Allow decryption using PIV cards.

* g10/call-agent.c (struct getattr_one_parm_s): New.
(getattr_one_status_cb): New.
(agent_scd_getattr_one): New.
* g10/pubkey-enc.c (get_it): Allow the standard leading zero byte from
pkcs#1.
* g10/skclist.c (enum_secret_keys): Handle non-OpenPGP cards.

Signed-off-by: Werner Koch <wk@gnupg.org>
g10/call-agent.c
g10/call-agent.h
g10/pubkey-enc.c
g10/skclist.c