aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-openpgp.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-10-22 * app-openpgp.c (do_sign): Replace asprintf by direct allocation.Werner Koch1-2/+7
This avoids problems with missing vasprintf implementations in gnupg 1.4. * app-common.h (app_openpgp_storekey: Add prototype.
2004-10-14(parse_login_data): New.Werner Koch1-29/+106
(app_select_openpgp): Call it. (do_setattr): Reparse it after change.
2004-10-14Added ID keywords because these files are often used in other packages.Werner Koch1-0/+2
2004-09-30* de.po: Updated.Werner Koch1-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.
2004-09-20(show_key_with_all_names): Print the card S/N.Werner Koch1-1/+1
* app-openpgp.c (app_select_openpgp): Its app_munge_serialno and not app_number_serialno.
2004-09-09* app.c (select_application): Fixed serial number extraction andWerner Koch1-0/+7
added the BMI card workaround. (app_munge_serialno): New. * app-openpgp.c (app_select_openpgp): Try munging serialno.
2004-07-01(do_getattr): Fix for sending CA-FPR.Werner Koch1-2/+2
2004-04-29* app-openpgp.c (do_setattr): Sync FORCE_CHV1.Werner Koch1-1/+5
2004-04-28* app-common.h: Do not include ksba.h for gnupg 1.Werner Koch1-1/+0
2004-04-26* app-common.h: New members FNC.DEINIT and APP_LOCAL.Werner Koch1-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.
2004-03-16* app-dinsig.c: Implemented. Based on app-nks.c and card-dinsig.cWerner Koch1-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.
2004-03-16*** empty log message ***Werner Koch1-1/+1
2004-01-28(iso7816_manage_security_env): New.Werner Koch1-1/+2
(iso7816_decipher): Add PADIND argument. ** app-nks.c is now functional **
2004-01-27Some minor bug fixes, new test utilities and started support for otherWerner Koch1-111/+28
smartcard applications.
2003-12-23* apdu.c (apdu_send_le): Send a get_response with the indicatedWerner Koch1-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.
2003-12-01* scdaemon.c, scdaemon.h: New options --allow-admin and --deny-admin.Werner Koch1-0/+6
* app-openpgp.c (verify_chv3): Check it here.
2003-10-21* command.c (cmd_checkpin): New.Werner Koch1-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.
2003-10-08* call-agent.c (agent_scd_getattr): Don't clear the passed infoWerner Koch1-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.
2003-10-02Fixes to make inclusion of card raleted source files into 1.3 easier.Werner Koch1-2/+16
2003-09-30* command.c (cmd_getattr): New command GETATTR.Werner Koch1-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.
2003-09-30Minor fixesWerner Koch1-1/+1
2003-08-05Cleanups, fixes and PC/SC supportWerner Koch1-101/+34
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+1482
'GNUPG-1-9-BRANCH'.
2003-07-29*** empty log message ***Werner Koch1-1/+1
2003-07-29* gpgsm.c (main): Add secmem features and set the random seed file.Werner Koch1-32/+30
(gpgsm_exit): Update the random seed file and enable debug output. * g10.c (main): Add secmem features and set the random seed file. (g10_exit): Update the random seed file. * parse-packet.c (parse_signature,read_protected_v3_mpi) (parse_key): Fixed use of mpi_set_opaque. * keygen.c (gen_card_key): Ditto.
2003-07-24* app-openpgp.c (do_learn_status): Print more status information.Werner Koch1-7/+51
(app_select_openpgp): Store the card version. (store_fpr): Add argument card_version and fix DOs for old cards. (app_openpgp_storekey): Likewise.
2003-07-23* command.c (cmd_pkauth): New.Werner Koch1-2/+199
(cmd_setdata): Check whether data was given at all to avoid passing 0 to malloc. * app.c (app_auth): New. * app-openpgp.c (do_auth): New.
2003-07-16* Makefile.am: Add sc-copykeys program.Werner Koch1-6/+250
* sc-copykeys.c: New. * app-openpgp.c (app_openpgp_storekey): New. (app_openpgp_cardinfo): New. (count_bits): New. (store_fpr): And use it here to get the actual length in bit.
2003-07-03* app-openpgp.c (do_setattr): Add setting of the URL.Werner Koch1-17/+172
(app_select_openpgp): Dump card data only in very verbose mode. (do_decipher): New.
2003-07-01* app-openpgp.c (store_fpr): Fixed fingerprint calculation.Werner Koch1-11/+111
* keygen.c (gen_card_key): Obviously we should use the creation date received from SCDAEMON, so that the fingerprints will match. * sign.c (do_sign): Pass the serialno to the sign code. * keyid.c (serialno_and_fpr_from_sk): New.
2003-06-27Key generation and signing using the OpenPGP card does rudimentary work.Werner Koch1-44/+346
2003-06-03* scdaemon.h: Include gpg-error.h and errno.hWerner Koch1-0/+442
* card.c (map_sc_err): Use unknown for the error source. * Makefile.am: Link with libgpg-error