scd: Add DES authentication for PIV card.
authorWerner Koch <wk@gnupg.org>
Thu, 31 Jan 2019 13:26:17 +0000 (14:26 +0100)
committerWerner Koch <wk@gnupg.org>
Thu, 31 Jan 2019 13:26:17 +0000 (14:26 +0100)
commit1d57450f3e71b198e66e155a8ebbfab452f58ffc
tree9087cbce3d5d26e722cde83e8b86783e9dca2058
parent0107984f9f55f84e4842642bceefd2181ec09dab
scd: Add DES authentication for PIV card.

* scd/app-piv.c (flush_cached_data): New.
(auth_adm_key): New.
(set_adm_key): New.
(do_setattr): New.
* scd/command.c (MAXLEN_SETATTRDATA): New.
(cmd_setattr): Add an inquire option.

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