aboutsummaryrefslogtreecommitdiffstats
path: root/scd/ChangeLog (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-07-22* configure.ac: Define AM conditional HAVE_OPENSC.V1-9-10Werner Koch1-0/+5
* Makefile.am: Make OpenSC lib link after libgcrypt. Do not link to pth. * apdu.c: Don't use Pth if we use OpenSC. * sc-investigate.c, scdaemon.c: Disable use of pth if OpenSC is used. * scdaemon.c (main): Bumbed thread stack size up to 512k.
2004-07-22* trustlist.c (read_list): Allow colons in the fingerprint.Werner Koch1-0/+4
(headerblurb): Rephrased. * gpg-agent.c (handle_connections): Increase the stack size ot 256k. * de.po: Updated. * scdaemon.c (main): Bumbed thread stack size up to 512k. * keylist.c (list_cert_raw): Print the keygrip.
2004-07-16(reader_table_s): Add function pointers for the backends.Werner Koch1-0/+43
(apdu_close_reader, apdu_get_status, apdu_activate) (send_apdu): Make use of them. (new_reader_slot): Intialize them to NULL. (dump_ccid_reader_status, ct_dump_reader_status): New. (dump_pcsc_reader_status): New. (open_ct_reader, open_pcsc_reader, open_ccid_reader) (open_osc_reader, open_rapdu_reader): Intialize function pointers. (ct_activate_card, ct_send_apdu, pcsc_send_apdu, osc_send_apdu) (error_string): Removed. Replaced by apdu_strerror. (get_ccid_error_string): Removed. (ct_activate_card): Remove the unused loop. (reset_ct_reader): Implemented. (ct_send_apdu): Activate the card if not yet done. (pcsc_send_apdu): Ditto.
2004-07-01Initialize Pth which is now required.Werner Koch1-0/+3
(interactive_shell): New command "readpk".
2004-07-01(do_getattr): Fix for sending CA-FPR.Werner Koch1-0/+9
2004-06-21* sc-investigate.c (my_read_line): Renamed from read_line.Werner Koch1-0/+4
2004-06-16(osc_get_status): Fixed type in function name. Noted byWerner Koch1-0/+5
Axel Thimm. Yes, I didn't tested it with OpenSC :-(.
2004-04-29* app-openpgp.c (do_setattr): Sync FORCE_CHV1.Werner Koch1-0/+4
2004-04-28* app-common.h: Do not include ksba.h for gnupg 1.Werner Koch1-0/+4
2004-04-26* app-common.h: New members FNC.DEINIT and APP_LOCAL.Werner Koch1-0/+13
* 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-04-26* scdaemon.c (main): Do the last change the usual way. This is soWerner Koch1-0/+5
that we can easily test for versioned config files above. * gpgsm.c (main) <gpgconf>: Do not use /dev/null as default config filename.
2004-04-262004-04-26 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* scdaemon.c (main): For now, always print default filename for --gpgconf-list, and never /dev/null.
2004-04-21* command.c (scd_update_reader_status_file): Send a signal back toWerner Koch1-0/+9
the client. (option_handler): Parse the new event-signal option. * scdaemon.c (handle_signal): Do not use SIGUSR{1,2} anymore for changing the verbosity.
2004-04-20* command.c (scd_update_reader_status_file): Write status files.Werner Koch1-0/+7
* app-help.c (app_help_read_length_of_cert): Fixed calculation of R_CERTOFF. * pcsc-wrapper.c: New. * Makefile.am (pkglib_PROGRAMS): Install it here. * apdu.c (writen, readn): New. (open_pcsc_reader, pcsc_send_apdu, close_pcsc_reader): Use the pcsc-wrapper if we are using Pth. (apdu_send_le): Reinitialize RESULTLEN. Handle SW_EOF_REACHED like SW_SUCCESS.
2004-04-20* pcsc-wrapper.c: New.Werner Koch1-0/+54
* Makefile.am (pkglib_PROGRAMS): Install it here. * apdu.c (writen, readn): New. (open_pcsc_reader, pcsc_send_apdu, close_pcsc_reader): Use the pcsc-wrapper if we are using Pth.
2004-03-23(main) <gpgconf_list>: Fixed output for pcsc_driver.Werner Koch1-0/+7
2004-03-17* gpg-agent.c (main) <gpgconf>: Fixed default value quoting.Werner Koch1-0/+4
* scdaemon.c (main) <gpgconf>: Fixed default value quoting. * gpgsm.c (main) <gpgconf>: Fixed default value quoting.
2004-03-16* app-dinsig.c: Implemented. Based on app-nks.c and card-dinsig.cWerner Koch1-0/+14
* 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-0/+14
2004-02-18* sc-investigate.c (main): Setup the used character set.Werner Koch1-0/+8
* scdaemon.c (main): Ditto. * scdaemon.c (set_debug): New. Add option --debug-level. (main): Add option --gpgconf-list.
2004-02-12Include cmacros.am for common flags.Werner Koch1-0/+4
2004-01-29(reset_notify): Release the application context andWerner Koch1-0/+5
close the reader.
2004-01-28(iso7816_manage_security_env): New.Werner Koch1-0/+5
(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-0/+65
smartcard applications.
2003-12-23* apdu.c (apdu_send_le): Send a get_response with the indicatedWerner Koch1-0/+9
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-17Replaced deprecated type names.Werner Koch1-0/+5
* card-p15.c (p15_enum_keypairs): Replaced KRC by RC. * card-dinsig.c (dinsig_enum_keypairs): Ditto.
2003-12-16(main): Set the prefixes for assuan logging.Werner Koch1-0/+4
2003-12-01* scdaemon.c, scdaemon.h: New options --allow-admin and --deny-admin.Werner Koch1-0/+5
* app-openpgp.c (verify_chv3): Check it here.
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch1-0/+4
2003-10-31* apdu.c (close_ct_reader, close_pcsc_reader): Implemented.Werner Koch1-0/+8
(get_ccid_error_string): New. Not very useful messages, though.
2003-10-25* command.c (cmd_genkey, cmd_passwd): Fixed faulty use ofWerner Koch1-0/+7
!spacep(). * apdu.c (apdu_open_reader): Hacks for PC/SC under Windows.
2003-10-21* command.c (cmd_checkpin): New.Werner Koch1-0/+17
(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-09* ccid-driver.c (ccid_transceive): Add T=1 chaining for sending.Werner Koch1-0/+4
2003-10-08* call-agent.c (agent_scd_getattr): Don't clear the passed infoWerner Koch1-0/+4
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-0/+11
2003-09-30* command.c (cmd_getattr): New command GETATTR.Werner Koch1-0/+16
* 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-0/+4
2003-09-19(parse_ccid_descriptor): New.Werner Koch1-0/+6
(read_device_info): New. (ccid_open_reader): Check that the device has all required features.
2003-09-06* configure.ac: Required newer versions of some libraries.V1-9-1Werner Koch1-0/+7
* misc.c (openpgp_pk_algo_usage): Allow AUTH where SIGN is allowed. * keygen.c (ask_passphrase): No need to allocated S2K in secure memory. * scdaemon.c (main): --pcsc-driver again defaults to pcsclite. David Corcoran was so kind to remove the GPL incompatible advertisng clause from pcsclite. * apdu.c (apdu_open_reader): Actually make pcsc-driver option work.
2003-09-05* ccid-driver.c: More work, data can now actually be retrieved.Werner Koch1-0/+6
* ccid-driver.c, ccid-driver.h: Alternativley allow use under BSD conditions.
2003-09-02* configure.ac (HAVE_LIBUSB): Added a simple test for libusb.Werner Koch1-0/+7
* scdaemon.c, scdaemon.h: New option --pcsc-ccid. * ccid-driver.c, ccid-driver.h: New but far from being useful. * Makefile.am: Add above. * apdu.c: Add support for that ccid driver.
2003-08-262003-08-26 Timo Schulz <[email protected]>Timo Schulz1-0/+5
* apdu.c (new_reader_slot): Only set 'is_osc' when OpenSC is used.
2003-08-25(cmd_setattr): Use a copy of LINE.Werner Koch1-0/+7
(cmd_genkey): Use a copy of KEYNO. (cmd_passwd): Use a copy of CHVNOSTR. (cmd_pksign, cmd_pkauth, cmd_pkdecrypt): s/strdup/xtrystrdup/.
2003-08-19* scdaemon.c, scdaemon.h: New option --pcsc-driver.Werner Koch1-0/+6
* apdu.c (apdu_open_reader): Use that option here instead of a hardcoded one.
2003-08-18* Makefile.am: Add OPENSC_LIBS to all programs.Werner Koch1-1/+16
* scdaemon.c, scdaemon.h: New option --disable-opensc. * card.c (card_open): Implement it. * apdu.c (open_osc_reader, osc_send_apdu): New. (apdu_open_reader) [HAVE_OPENSC]: Use the opensc driver if not disabled. (error_string) [HAVE_OPENSC]: Use sc_strerror. (send_apdu) [HAVE_OPENSC]: Call osc_apdu_send.
2003-08-14 * Always use 'dynload.h' instead of 'dlfcn.h'.Timo Schulz1-0/+6
2003-08-05Cleanups, fixes and PC/SC supportWerner Koch1-0/+22
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+242
'GNUPG-1-9-BRANCH'.
2002-10-19This commit was manufactured by cvs2svn to create branchRepo Admin1-91/+0
'GNUPG-1-9-BRANCH'.
2002-08-21* scdaemon.c (main): New option --daemon so that the program isWerner Koch1-0/+5
not accidently started in the background.