gnupg/g10 (12 files)

cvs user werner cvs at cvs.gnupg.org
Tue Oct 21 21:22:20 CEST 2003


    Date: Tuesday, October 21, 2003 @ 20:22:20
  Author: werner
    Path: /cvs/gnupg/gnupg/g10

Modified: ChangeLog apdu.c app-common.h app-openpgp.c card-util.c
          cardglue.c cardglue.h g10.c keydb.h main.h misc.c passphrase.c

* passphrase.c (ask_passphrase): Add optional promptid arg.
Changed all callers.
* cardglue.c (pin_cb): Use it here, so the machine interface can
tell whether the Admin PIN is requested.

* cardglue.c (agent_scd_checkpin): New.

* misc.c (openpgp_pk_algo_usage): Added AUTH usage.

* app-openpgp.c (check_against_given_fingerprint): New. Factored
out that code elsewhere.
(do_check_pin): New.
* card-util.c (card_edit): New command "passwd".  Add logic to
check the PIN in advance.
(card_status): Add new args to return the serial number.  Changed
all callers.


---------------+
 ChangeLog     |   19 +++++++
 apdu.c        |   79 ++++++++++++++++++--------------
 app-common.h  |    6 ++
 app-openpgp.c |  137 +++++++++++++++++++++++++++++++++++---------------------
 card-util.c   |   74 ++++++++++++++++++++++--------
 cardglue.c    |   23 ++++++++-
 cardglue.h    |    4 +
 g10.c         |    2 
 keydb.h       |    4 -
 main.h        |    2 
 misc.c        |    6 +-
 passphrase.c  |    6 +-
 12 files changed, 246 insertions(+), 116 deletions(-)



More information about the Gnupg-commits mailing list