diff options
| author | Werner Koch <[email protected]> | 2003-10-21 18:22:21 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2003-10-21 18:22:21 +0000 |
| commit | 441aeb85f21436b1ae2ecd1de420138016baba57 (patch) | |
| tree | fc1c2ed359f38e7700ef53c0872117f571712d4b /g10/cardglue.h | |
| parent | * configure.ac: Include -ldl when card support is used. (diff) | |
| download | gnupg-441aeb85f21436b1ae2ecd1de420138016baba57.tar.gz gnupg-441aeb85f21436b1ae2ecd1de420138016baba57.zip | |
* 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.
Diffstat (limited to 'g10/cardglue.h')
| -rw-r--r-- | g10/cardglue.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/g10/cardglue.h b/g10/cardglue.h index b0ad8aa61..b2f020589 100644 --- a/g10/cardglue.h +++ b/g10/cardglue.h @@ -158,6 +158,10 @@ int agent_scd_pkdecrypt (const char *serialno, /* Change the PIN of an OpenPGP card or reset the retry counter. */ int agent_scd_change_pin (int chvno); +/* Send a CHECKPIN command. */ +int agent_scd_checkpin (const char *serialnobuf); + + #endif /*ENABLE_CARD_SUPPORT*/ #endif /*GNUPG_G10_CARDGLUE_H*/ |
