* command.c (cmd_getattr): New command GETATTR.
authorWerner Koch <wk@gnupg.org>
Tue, 30 Sep 2003 17:35:05 +0000 (17:35 +0000)
committerWerner Koch <wk@gnupg.org>
Tue, 30 Sep 2003 17:35:05 +0000 (17:35 +0000)
commit59a61b3c93f6a109f1e1bfe94fd0ab4a28169a9e
tree6c9cf4322312c53c9bb9b928ff9b79c426cff6b0
parent316dc2fd60875bc102bd459a4b3d4a5a59086b02
* command.c (cmd_getattr): New command GETATTR.
* app.c (app_setattr): New.
(do_getattr): New.
(do_learn_status): Reimplemented in terms of do_getattr.

* app-openpgp.c (do_change_pin): Make sure CVH1 and CHV2 are
always synced.
(verify_chv2, verify_chv3): New. Factored out common code.
(do_setattr, do_sign, do_auth, do_decipher): Change the names of
the prompts to match that we have only 2 different PINs.
(app_select_openpgp): Check whether the card enforced CHV1.
(convert_sig_counter_value): New. Factor out code from
get_sig_counter.
scd/ChangeLog
scd/app-common.h
scd/app-openpgp.c
scd/app.c
scd/command.c