aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* * command.c (scd_update_reader_status_file): Write status files.Werner Koch2004-04-201-7/+16
| | | | | | | | | | | | | | * 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.
* * pcsc-wrapper.c: New.Werner Koch2004-04-201-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.
* *** empty log message ***Werner Koch2004-03-161-1/+3
|
* Some minor bug fixes, new test utilities and started support for otherWerner Koch2004-01-271-1/+1
| | | | | smartcard applications.
* * apdu.c (apdu_send_le): Send a get_response with the indicatedWerner Koch2003-12-231-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.
* * apdu.c (close_ct_reader, close_pcsc_reader): Implemented.Werner Koch2003-10-311-4/+13
| | | | | (get_ccid_error_string): New. Not very useful messages, though.
* * command.c (cmd_genkey, cmd_passwd): Fixed faulty use ofWerner Koch2003-10-251-3/+30
| | | | | | | !spacep(). * apdu.c (apdu_open_reader): Hacks for PC/SC under Windows.
* * command.c (cmd_checkpin): New.Werner Koch2003-10-211-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.
* Fixes to make inclusion of card raleted source files into 1.3 easier.Werner Koch2003-10-021-0/+13
|
* * configure.ac: Required newer versions of some libraries.V1-9-1Werner Koch2003-09-061-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.
* * configure.ac (HAVE_LIBUSB): Added a simple test for libusb.Werner Koch2003-09-021-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-26 Timo Schulz <[email protected]>Timo Schulz2003-08-261-0/+2
| | | | | | * apdu.c (new_reader_slot): Only set 'is_osc' when OpenSC is used.
* * scdaemon.c, scdaemon.h: New option --pcsc-driver.Werner Koch2003-08-191-0/+6
| | | | | | * apdu.c (apdu_open_reader): Use that option here instead of a hardcoded one.
* * Makefile.am: Add OPENSC_LIBS to all programs.Werner Koch2003-08-181-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.
* * Always use 'dynload.h' instead of 'dlfcn.h'.Timo Schulz2003-08-141-29/+26
|
* Cleanups, fixes and PC/SC supportWerner Koch2003-08-051-60/+366
|
* This commit was manufactured by cvs2svn to create branchRepo Admin2003-08-051-0/+558
'GNUPG-1-9-BRANCH'.