aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * app-openpgp.c (app_local_s): New field PK.Werner Koch2005-02-221-0/+26
| | | | | | | | | | | (do_deinit, do_genkey, app_openpgp_storekey): Clear it. (get_public_key, send_keypair_info): New. (do_learn_status): Send KEYPAIR info * app-common.h (app_ctx_t): Add function pointer READKEY. * app.c (app_readkey): New. * command.c (cmd_readkey): Use READKEY function if possible.
* * app.c (select_application): Fixed serial number extraction andWerner Koch2004-09-091-3/+56
| | | | | | | added the BMI card workaround. (app_munge_serialno): New. * app-openpgp.c (app_select_openpgp): Try munging serialno.
* * configure.ac: Changed tests for libusb to also suuport theWerner Koch2004-08-051-3/+16
| | | | | | | | | | | | | | | | | | stable version 0.1.x. * scdaemon.texi (Card applications): New section. * scdaemon.c (main): New option --disable-application. * app.c (is_app_allowed): New. (select_application): Use it to check for disabled applications. * ccid-driver.h (CCID_DRIVER_ERR_ABORTED): New. * ccid-driver.c (ccid_open_reader): Support the stable 0.1 version of libusb. (ccid_get_atr): Handle short messages. * apdu.c (my_rapdu_get_status): Implemented.
* * app-common.h: New members FNC.DEINIT and APP_LOCAL.Werner Koch2004-04-261-0/+6
| | | | | | | | | | | | | | | * 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.
* *** empty log message ***Werner Koch2004-03-161-1/+1
|
* Some minor bug fixes, new test utilities and started support for otherWerner Koch2004-01-271-35/+96
| | | | | smartcard applications.
* * command.c (cmd_checkpin): New.Werner Koch2003-10-211-0/+23
| | | | | | | | | (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.
* * command.c (cmd_getattr): New command GETATTR.Werner Koch2003-09-301-0/+13
| | | | | | | | | | | | | | | | * 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.
* * Always use 'dynload.h' instead of 'dlfcn.h'.Timo Schulz2003-08-141-1/+2
|
* Cleanups, fixes and PC/SC supportWerner Koch2003-08-051-2/+11
|
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+278
'GNUPG-1-9-BRANCH'.