aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-openpgp.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* (parse_login_data): New.Werner Koch2004-10-141-29/+106
| | | | | | (app_select_openpgp): Call it. (do_setattr): Reparse it after change.
* Added ID keywords because these files are often used in other packages.Werner Koch2004-10-141-0/+2
|
* * de.po: Updated.Werner Koch2004-09-301-80/+196
| | | | | | | | | | | * POTFILES.in: Add more files. * app-openpgp.c (do_sign): Add the error string to the verify failed messages. * keylist.c (list_cert_colon): Make sure that the expired flag has a higher precedence than the invalid flag.
* (show_key_with_all_names): Print the card S/N.Werner Koch2004-09-201-1/+1
| | | | | | * app-openpgp.c (app_select_openpgp): Its app_munge_serialno and not app_number_serialno.
* * app.c (select_application): Fixed serial number extraction andWerner Koch2004-09-091-0/+7
| | | | | | | added the BMI card workaround. (app_munge_serialno): New. * app-openpgp.c (app_select_openpgp): Try munging serialno.
* (do_getattr): Fix for sending CA-FPR.Werner Koch2004-07-011-2/+2
|
* * app-openpgp.c (do_setattr): Sync FORCE_CHV1.Werner Koch2004-04-291-1/+5
|
* * app-common.h: Do not include ksba.h for gnupg 1.Werner Koch2004-04-281-1/+0
|
* * app-common.h: New members FNC.DEINIT and APP_LOCAL.Werner Koch2004-04-261-32/+212
| | | | | | | | | | | | | | | * 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-1/+1
| | | | | | | | | | | | | | * 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.
* *** empty log message ***Werner Koch2004-03-161-1/+1
|
* (iso7816_manage_security_env): New.Werner Koch2004-01-281-1/+2
| | | | | | | (iso7816_decipher): Add PADIND argument. ** app-nks.c is now functional **
* Some minor bug fixes, new test utilities and started support for otherWerner Koch2004-01-271-111/+28
| | | | | smartcard applications.
* * apdu.c (apdu_send_le): Send a get_response with the indicatedWerner Koch2003-12-231-0/+21
| | | | | | | | length and not the 64 bytes we used for testing. * app-openpgp.c (verify_chv2, verify_chv3, do_sign): Check the minimum length of the passphrase, so that we don't need to decrement the retry counter.
* * scdaemon.c, scdaemon.h: New options --allow-admin and --deny-admin.Werner Koch2003-12-011-0/+6
| | | | | * app-openpgp.c (verify_chv3): Check it here.
* * command.c (cmd_checkpin): New.Werner Koch2003-10-211-51/+86
| | | | | | | | | (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.
* * call-agent.c (agent_scd_getattr): Don't clear the passed infoWerner Koch2003-10-081-0/+25
| | | | | | | | | | | | | | | structure, so that it can indeed be updated. * card-util.c (fpr_is_zero): New. (generate_card_keys): New. (card_edit): New command "generate". * keygen.c (generate_keypair): New arg CARD_SERIALNO, removed call to check_smartcard. (check_smartcard,show_smartcard): Removed. (show_sha1_fpr,fpr_is_zero): Removed. * app-openpgp.c (do_getattr): Support SERIALNO and AID.
* Fixes to make inclusion of card raleted source files into 1.3 easier.Werner Koch2003-10-021-2/+16
|
* * command.c (cmd_getattr): New command GETATTR.Werner Koch2003-09-301-230/+253
| | | | | | | | | | | | | | | | * 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.
* Minor fixesWerner Koch2003-09-301-1/+1
|
* Cleanups, fixes and PC/SC supportWerner Koch2003-08-051-101/+34
|
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+1482
'GNUPG-1-9-BRANCH'.