GNUPG-1-9-BRANCH gnupg/scd (5 files)

cvs user werner cvs@cvs.gnupg.org
Tue, 30 Sep 2003 19:35:05 +0200


    Date: Tuesday, September 30, 2003 @ 19:35:05
  Author: werner
    Path: /cvs/gnupg/gnupg/scd
     Tag: GNUPG-1-9-BRANCH

Modified: ChangeLog app-common.h app-openpgp.c app.c command.c

* 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.


---------------+
 ChangeLog     |   16 +
 app-common.h  |    3 
 app-openpgp.c |  483 +++++++++++++++++++++++++++++---------------------------
 app.c         |   13 +
 command.c     |   36 ++++
 5 files changed, 321 insertions(+), 230 deletions(-)