aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2004-04-20* pcsc-wrapper.c: New.Werner Koch1-8/+680
* 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-16*** empty log message ***Werner Koch1-1/+3
2004-01-27Some minor bug fixes, new test utilities and started support for otherWerner Koch1-1/+1
smartcard applications.
2003-12-23* apdu.c (apdu_send_le): Send a get_response with the indicatedWerner Koch1-1/+1
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-10-31* apdu.c (close_ct_reader, close_pcsc_reader): Implemented.Werner Koch1-4/+13
(get_ccid_error_string): New. Not very useful messages, though.
2003-10-25* command.c (cmd_genkey, cmd_passwd): Fixed faulty use ofWerner Koch1-3/+30
!spacep(). * apdu.c (apdu_open_reader): Hacks for PC/SC under Windows.
2003-10-21* command.c (cmd_checkpin): New.Werner Koch1-34/+103
(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-02Fixes to make inclusion of card raleted source files into 1.3 easier.Werner Koch1-0/+13
2003-09-06* configure.ac: Required newer versions of some libraries.V1-9-1Werner Koch1-12/+6
* 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-02* configure.ac (HAVE_LIBUSB): Added a simple test for libusb.Werner Koch1-1/+95
* 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/+2
* apdu.c (new_reader_slot): Only set 'is_osc' when OpenSC is used.
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-7/+230
* 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-29/+26
2003-08-05Cleanups, fixes and PC/SC supportWerner Koch1-60/+366
2003-08-05This commit was manufactured by cvs2svn to create branchRepo Admin1-0/+558
'GNUPG-1-9-BRANCH'.
2003-07-29* gpgsm.c (main): Add secmem features and set the random seed file.Werner Koch1-3/+5
(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-23* command.c (cmd_pkauth): New.Werner Koch1-14/+18
(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-06-03Make use of libgpg-errorWerner Koch1-0/+253
2003-04-29* scdaemon.c: New options --print-atr and --reader-portWerner Koch1-0/+299
* apdu.c, apdu.h: New * card.c, card-p15.c, card-dinsig.c: Allow build without OpenSC.