aboutsummaryrefslogtreecommitdiffstats
path: root/scd/apdu.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Detect non operational readers.Werner Koch2011-01-251-3/+17
| | | | Backport from 2.0.
* Smartcard related updatesWerner Koch2010-11-171-9/+26
|
* Fix for extended length Le in decipherWerner Koch2009-09-031-2/+0
|
* Make bug reporting address easier changeable.Werner Koch2009-07-211-0/+1
|
* Add code to better handle unplugging of a reader.Werner Koch2009-07-161-1/+28
|
* * ccid-driver.c (struct ccid_driver_s): Add fields last_progress,Werner Koch2009-07-131-1/+36
| | | | | | | | | | | | | | | | progress_cb and progress_cb_arg. (ccid_set_progress_cb): New. (print_progress): New. (ccid_transceive): Call print_progress for wait time extensions. * apdu.c (struct reader_table_s): Add field set_progress_cb. (new_reader_slot): Clear that field. (open_ccid_reader): Set it to .. (set_progress_cb_ccid_reader): ... new fucntion. * app.c (print_progress_line): New. (lock_reader): Add arg CTRL to set a progress callback and change all callers to provide it. (unlock_reader): Remove the progress callback.
* Reworked the estream memory buffer allocation.Werner Koch2009-06-291-0/+3
| | | | | Committed already posted patches for the v2 card.
* Make PIN changing code work for v2 cards.Werner Koch2009-05-201-3/+3
|
* Improved smartcard robustness.Werner Koch2009-05-131-24/+77
|
* Print keyid in gpg --list-packets.Werner Koch2009-05-131-2/+2
| | | | | | Add some not yet code to app-nks.c Changed batch mode expiration time computation
* More support for Netkey cards.Werner Koch2009-05-081-11/+44
| | | | | | Small changes to teh CCID driver. Support 2048 bit OpenPGP cards.
* Implement decryption for TCOS 3 cards.Werner Koch2009-03-301-57/+135
|
* Signing using Netkey 3 cards does now work.Werner Koch2009-03-261-2/+5
|
* Make sure not to leak file descriptors if running gpg-agent with aWerner Koch2009-03-191-11/+2
| | | | | command. Restore the signal mask to solve a problem in Mono.
* Fixed a nasty bug in scdaemon which led to a card reset if the card wasWerner Koch2009-02-251-6/+28
| | | | | | inserted during scdaemon startup and a connection was made before the ticker had a chance to run. Add some stuff for better debugging.
* Add limited support for NetKey 3.0 cards.Werner Koch2009-01-081-6/+6
|
* Fix card change detection.Werner Koch2009-01-051-2/+3
|
* Fixed some card related problems.Werner Koch2008-12-181-16/+12
|
* Marked all unused args on non-W32 platforms.Werner Koch2008-10-201-0/+14
|
* Made scdaemon more robust on Windows.Werner Koch2008-10-151-4/+0
|
* SCD changes for PC/SC under W32.Werner Koch2008-10-141-399/+579
|
* 2008-09-28 Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-09-281-2/+2
| | | | | * apdu.c (pcsc_get_status): Fix last change.
* Marcus Brinkmann <[email protected]>Marcus Brinkmann2008-09-231-0/+7
| | | | | | | | | * apdu.c (pcsc_get_status): Be more relaxed with the usable flag under Windows. M scd/ChangeLog M scd/apdu.c
* Support the Certifciate DO of the v2 OpenPGP cards.Werner Koch2008-09-231-50/+100
|
* Fix APDU buffer problem under MAC OS.Werner Koch2008-08-111-6/+6
|
* Applied exact length hack.Werner Koch2007-08-011-2/+11
|
* Changed to GPLv3.Werner Koch2007-07-041-4/+2
| | | | | Removed intl/.
* A whole bunch of changes to allow building for Windows.Werner Koch2007-06-141-0/+2
| | | | | See the ChangeLogs for details.
* First steps towards supporting W32.Werner Koch2007-06-061-1/+0
| | | | | | | This is mainly source code reorganization. Update gnulib. g10/ does currently not build.
* The Cherry XX44 keyboard's PINpad does now work.Werner Koch2007-03-071-1/+1
| | | | | DINSIG and NKS card applications are now also PIN pad aware.
* Preparing 2.0.1Werner Koch2006-11-281-2/+2
|
* No more warnings for AMD64 (at least when cross-compiling). Thus tehre is aWerner Koch2006-11-211-1/+1
| | | | | | | good chance that gpg2 will now work. Other cleanups. Updated gettext.
* Made some PIN pads work.Werner Koch2006-11-201-6/+16
| | | | | Some cleanups for 64 bit CPUs.
* Pth tweaks and improved estream.cWerner Koch2006-10-171-1/+1
|
* The big Assuan error code removal.Werner Koch2006-09-061-1/+2
|
* Added command APDUWerner Koch2006-04-111-2/+2
|
* Fixed card removal problemsWerner Koch2006-03-011-2/+2
|
* Print warning for missing pcsc-wrapperWerner Koch2005-12-061-1/+9
|
* Preparing an interim releaseWerner Koch2005-11-281-38/+138
|
* Basically made Belgian EID cards work.Werner Koch2005-09-051-9/+36
| | | | | | Signature creation has not yet been tested. Also other changes to better cope with T=0 cards.
* * keylist.c (email_kludge): Reworked.Werner Koch2005-07-201-2/+4
| | | | | | | * certdump.c (gpgsm_print_serial, gpgsm_dump_serial): Cast printf arg to unsigned. * call-dirmngr.c (gpgsm_dirmngr_run_command): Ditto
* gcc-4 defaults forced me to edit many many files to get rid of theWerner Koch2005-06-161-1/+1
| | | | | | | char * vs. unsigned char * warnings. The GNU coding standards used to say that these mismatches are okay and better than a bunch of casts. Obviously this has changed now.
* Changed the scdaemon to handle concurrent sessions. AdjustedWerner Koch2005-05-181-0/+4
| | | | | gpg-agent accordingly. Code cleanups.
* * configure.ac: Removed OpenSC detection and options.Werner Koch2005-04-271-243/+3
| | | | | | | | | | | | | | | | | | | * acinclude.m4: Ditto. * scdaemon.texi: Removed OpenSC specific options. * app-p15.c: New. Basic support for pkcs15 cards without OpenSC. There are quite a couple of things missing but at least I can use my old TCOS cards from the Aegypten-1 development for signing. * app.c (select_application): Detect pkcs15 applications. * Makefile.am (scdaemon_SOURCES): Removed card.c, card-common.h and card-p15.c because they are now obsolete. Added app-p15.c. Removed all OpenSC stuff. * command.c (do_reset, open_card, cmd_serialno, cmd_learn) (cmd_readcert, cmd_readkey, cmd_pksign, cmd_pkdecrypt): Removed all special cases for the old card.c based mechanisms. * scdaemon.c, apdu.c: Removed all special cases for OpenSC.
* * gpg-agent.c (handle_connections): Need to check for events ifWerner Koch2005-02-241-176/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | select returns with -1. * tools.texi (gpg-connect-agent): New. * app-openpgp.c (get_one_do): Never try to get a non cacheable object from the cache. (get_one_do): Add new arg to return an error code. Changed all callers. (do_getattr): Let it return a proper error code. * app.c (select_application): Return an error code and the application context in an new arg. * command.c (open_card): Adjusted for that. Don't use the fallback if no card is present. Return an error if the card has been removed without a reset. (do_reset, cmd_serialno): Clear that error flag. (TEST_CARD_REMOVAL): New. Use it with all command handlers. * scdaemon.c (ticker_thread): Termintate if a shutdown is pending. * apdu.c: Added some PCSC error codes. (pcsc_error_to_sw): New. (reset_pcsc_reader, pcsc_get_status, pcsc_send_apdu) (open_pcsc_reader): Do proper error code mapping. * gpg-connect-agent.c: New. * Makefile.am: Add it.
* Forgot to commit the recent fixed to scd and logging - doing it nowWerner Koch2005-02-031-4/+8
|
* A whole bunch of changes to allow building for W32.Werner Koch2004-12-151-1/+6
|
* * sc-investigate: Removed.Werner Koch2004-10-201-35/+453
| | | | | | | | | | | | | | | | | * 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.
* Added ID keywords because these files are often used in other packages.Werner Koch2004-10-141-0/+2
|
* Preparing a new release. Updated gettextWerner Koch2004-09-301-5/+39
|