aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-common.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * app.c (select_application): Fixed serial number extraction andWerner Koch2004-09-091-0/+4
| | | | | | | added the BMI card workaround. (app_munge_serialno): New. * app-openpgp.c (app_select_openpgp): Try munging serialno.
* * app-common.h: Do not include ksba.h for gnupg 1.Werner Koch2004-04-281-0/+2
|
* * app-common.h: New members FNC.DEINIT and APP_LOCAL.Werner Koch2004-04-261-1/+4
| | | | | | | | | | | | | | | * app.c (release_application): Call new deconstructor. * app-openpgp.c (do_deinit): New. (get_cached_data, flush_cache_item, flush_cache_after_error) (flush_cache): New. (get_one_do): Replaced arg SLOT by APP. Make used of cached data. (verify_chv2, verify_chv3): Flush some cache item after error. (do_change_pin): Ditto. (do_sign): Ditto. (do_setattr): Flush cache item. (do_genkey): Flush the entire cache. (compare_fingerprint): Use cached data.
* * app-dinsig.c: Implemented. Based on app-nks.c and card-dinsig.cWerner Koch2004-03-161-0/+7
| | | | | | | | | | | | | | * app-nks.c (get_length_of_cert): Removed. * app-help.c: New. (app_help_read_length_of_cert): New. Code taken from above. New optional arg R_CERTOFF. * card-dinsig.c: Removed. * card.c (card_get_serial_and_stamp): Do not bind to the old and never finsiged card-dinsig.c. * iso7816.c (iso7816_read_binary): Allow for an NMAX > 254.
* Some minor bug fixes, new test utilities and started support for otherWerner Koch2004-01-271-28/+42
| | | | | smartcard applications.
* * command.c (cmd_checkpin): New.Werner Koch2003-10-211-0/+6
| | | | | | | | | (register_commands): Add command CHECKPIN. * app.c (app_check_pin): New. * app-openpgp.c (check_against_given_fingerprint): New. Factored out that code elsewhere. (do_check_pin): New.
* Fixes to make inclusion of card raleted source files into 1.3 easier.Werner Koch2003-10-021-0/+6
|
* * command.c (cmd_getattr): New command GETATTR.Werner Koch2003-09-301-0/+3
| | | | | | | | | | | | | | | | * 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.
* Cleanups, fixes and PC/SC supportWerner Koch2003-08-051-0/+1
|
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+128
'GNUPG-1-9-BRANCH'.