aboutsummaryrefslogtreecommitdiffstats
path: root/scd (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-12-02First take on a W32 portWerner Koch1-0/+691
2004-10-22Compile fixes.Werner Koch2-3/+8
2004-10-22 * app-openpgp.c (do_sign): Replace asprintf by direct allocation.Werner Koch3-2/+22
This avoids problems with missing vasprintf implementations in gnupg 1.4. * app-common.h (app_openpgp_storekey: Add prototype.
2004-10-20* sc-investigate: Removed.Werner Koch7-911/+713
* Makefile.am (sc_investigate): Removed. * pcsc-wrapper.c (load_pcsc_driver): Load get_status_change func. (handle_open): Succeed even without a present card. (handle_status, handle_reset): New. * apdu.c (apdu_open_reader): Load pcsc_get_status_change fucntion. (pcsc_get_status): Implemented. (reset_pcsc_reader): Implemented. (open_pcsc_reader): Succeed even with no card inserted. (open_ccid_reader): Set LAST_STATUS. * iso7816.c (iso7816_select_application): Always use 0 for P1.
2004-10-14(parse_login_data): New.Werner Koch2-29/+112
(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 Koch8-0/+29
2004-10-06(ccid_open_reader): Store the vendor ID.Werner Koch3-26/+369
(ccid_transceive_secure): New. (parse_ccid_descriptor): Workaround for an SCM reader problem.
2004-09-30Preparing a new release. Updated gettextWerner Koch6-260/+712
2004-09-30* de.po: Updated.Werner Koch2-80/+267
* 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 Koch2-1/+6
* 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 Koch4-3/+74
added the BMI card workaround. (app_munge_serialno): New. * app-openpgp.c (app_select_openpgp): Try munging serialno.
2004-08-17* import.c (check_and_store): Do a full validation ifWerner Koch1-1/+1
--with-validation is set. * certchain.c (gpgsm_basic_cert_check): Print more detailed error messages. * certcheck.c (do_encode_md): Partly support DSA. Add new arg PKALGO. Changed all callers to pass it. (pk_algo_from_sexp): New. tests/pkits: New directory
2004-08-05* configure.ac: Changed tests for libusb to also suuport theWerner Koch9-18/+181
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.
2004-07-272004-07-27 Moritz Schulte <[email protected]>Moritz Schulte2-0/+7
* apdu.c: Include <signal.h>.
2004-07-272004-07-27 Moritz Schulte <[email protected]>Moritz Schulte1-4/+5
* Makefile.am: Use @DL_LIBS@ instead of -ldl.
2004-07-22* configure.ac: Define AM conditional HAVE_OPENSC.V1-9-10Werner Koch5-12/+38
* 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 Koch2-1/+5
(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 Koch6-558/+1226
(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 Koch2-1/+43
(interactive_shell): New command "readpk".
2004-07-01(do_getattr): Fix for sending CA-FPR.Werner Koch2-2/+11
2004-06-21* sc-investigate.c (my_read_line): Renamed from read_line.Werner Koch2-2/+6
2004-06-16(osc_get_status): Fixed type in function name. Noted byWerner Koch2-1/+6
Axel Thimm. Yes, I didn't tested it with OpenSC :-(.
2004-04-29* app-openpgp.c (do_setattr): Sync FORCE_CHV1.Werner Koch2-1/+9
2004-04-28* app-common.h: Do not include ksba.h for gnupg 1.Werner Koch3-1/+6
2004-04-26* app-common.h: New members FNC.DEINIT and APP_LOCAL.Werner Koch4-33/+235
* 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 Koch2-5/+8
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 Brinkmann2-3/+12
* 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 Koch3-8/+55
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 Koch5-11/+63
* 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 Koch11-78/+1827
* 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-04-06* configure.ac: Require libgcrypt 1.1.94.Werner Koch1-3/+3
Introduce PACKAGE_GT and set it to gnupg2. * gpg-agent.c (main): Use new libgcrypt thread library register scheme. * Makevars (DOMAIN): Init from PACKAGE_GT
2004-03-23(main) <gpgconf_list>: Fixed output for pcsc_driver.Werner Koch3-15/+11
2004-03-17* gpg-agent.c (main) <gpgconf>: Fixed default value quoting.Werner Koch2-2/+6
* 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 Koch10-102/+561
* 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 Koch14-46/+200
2004-02-19* protect-tool.c: New options --have-cert and --prompt.Werner Koch1-1/+1
(export_p12_file): Read a certificate from STDIN and pass it to p12_build. Detect a keygrip and construct the filename in that case. Unprotcet a key if needed. Print error messages for key formats we can't handle. (release_passphrase): New. (get_passphrase): New arg PROMPTNO. Return the allocated string. Changed all callers. * minip12.c: Revamped the build part. (p12_build): New args CERT and CERTLEN. * simple-pwquery.c (agent_open): Don't mangle INFOSTR. * export.c (export_p12, popen_protect_tool) (gpgsm_p12_export): New. * gpgsm.c (main): New command --export-secret-key-p12.
2004-02-18* sc-investigate.c (main): Setup the used character set.Werner Koch3-7/+92
* 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 Koch3-5/+11
2004-01-29(reset_notify): Release the application context andWerner Koch2-2/+8
close the reader.
2004-01-28(iso7816_manage_security_env): New.Werner Koch5-22/+246
(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 Koch20-269/+1818
smartcard applications.
2003-12-23* apdu.c (apdu_send_le): Send a get_response with the indicatedWerner Koch3-1/+31
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 Koch7-18/+21
* 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 Koch2-0/+8
2003-12-01* scdaemon.c, scdaemon.h: New options --allow-admin and --deny-admin.Werner Koch4-2/+20
* app-openpgp.c (verify_chv3): Check it here.
2003-11-12Mainly changes to adjust for the changed KSBA API.Werner Koch5-22/+23
2003-10-31* apdu.c (close_ct_reader, close_pcsc_reader): Implemented.Werner Koch3-4/+24
(get_ccid_error_string): New. Not very useful messages, though.
2003-10-25* command.c (cmd_genkey, cmd_passwd): Fixed faulty use ofWerner Koch4-7/+45
!spacep(). * apdu.c (apdu_open_reader): Hacks for PC/SC under Windows.
2003-10-21* command.c (cmd_checkpin): New.Werner Koch9-95/+324
(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 Koch2-32/+74