diff options
author | Werner Koch <[email protected]> | 2019-01-20 10:45:57 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2019-01-20 10:45:57 +0000 |
commit | ec56996029d95d4bd26e1badfe207232270c6247 (patch) | |
tree | 15a92808d0e78a62b8cda19755aedd592c3e7bf4 /scd/app-common.h | |
parent | scd: One new and one improved 7816 function. (diff) | |
download | gnupg-ec56996029d95d4bd26e1badfe207232270c6247.tar.gz gnupg-ec56996029d95d4bd26e1badfe207232270c6247.zip |
scd: Add very basic support for PIV cards.
* scd/app-piv.c: New.
* scd/Makefile.am (card_apps): Add app-piv.c
* scd/app.c (app_new_register): Try to get a Yubikey serial number.
Detect the PIV application.
(get_supported_applications): Add "piv".
--
Right now this allows the use of the authentication key (9A) for SSH
authentication. More support will follow soon.
Tested with Yubikey-5.
Diffstat (limited to 'scd/app-common.h')
-rw-r--r-- | scd/app-common.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scd/app-common.h b/scd/app-common.h index 38e6cc609..ff583183a 100644 --- a/scd/app-common.h +++ b/scd/app-common.h @@ -206,5 +206,8 @@ gpg_error_t app_select_geldkarte (app_t app); /*-- app-sc-hsm.c --*/ gpg_error_t app_select_sc_hsm (app_t app); +/*-- app-piv.c --*/ +gpg_error_t app_select_piv (app_t app); + #endif /*GNUPG_SCD_APP_COMMON_H*/ |