OpenSC fork, with some Italian healthcare smart card utils
Go to file
Doug Engert 84a69ce2ba libopensc: introduce 'reader_lock_obtained' card operation
Add card_reader_lock_obtained function to sc_card_operations

During sc_lock, if card->reader->ops->lock is called, card->ops->card_reader_lock_obtained will be called.
If PCSC is being used as the reader driver, this occures just after pcsc_lock  has done a SCardBeginTransaction
and our process has exclusive control over the card. The card driver can then determine if the state of the
card has changed, and take action to get the card into an acceptable state.

If card->reader->ops->lock returns SC_ERROR_CARD_RESET, indicating some other process has interefered
with the state of the card. was_reset=1 is passed to card->ops->card_reader_lock_obtained.

Some examples of actions that could be done by the card driver is to select the AID and reset logged_in.

Currently the card driver is not notified. So no default card_reader_lock_obtained is defined in iso7816.c
2016-08-15 13:31:08 +02:00
MacOSX use a user defined PKG_CONFIG_PATH 2016-06-04 01:36:53 +02:00
doc pkcs15: don't require-L for file caching 2016-07-24 17:19:18 +02:00
etc fixed and cleaned up nmake Makefiles 2016-06-23 07:35:53 +02:00
m4 Use AX_PTHREAD instead of ACX_PTHREAD 2012-09-25 23:03:38 +02:00
packaging/debian.templates fix LGPL version 2013-09-29 20:55:41 +02:00
solaris Thomas Uhle: modify Makefile so configure finds the include files 2009-12-03 07:05:15 +00:00
src libopensc: introduce 'reader_lock_obtained' card operation 2016-08-15 13:31:08 +02:00
win32 fixed and cleaned up nmake Makefiles 2016-06-23 07:35:53 +02:00
.gitignore Ignore gids-tool binary and documentation 2016-05-16 10:59:21 +02:00
.travis.yml travis: run coverity for 'towards-opensc-0.16.0' 2016-05-23 13:59:01 +02:00
CONTRIBUTING.md Create CONTRIBUTING.md 2015-02-13 16:52:10 +02:00
COPYING - changed license to LGPL 2001-11-06 18:34:19 +00:00
ISSUE_TEMPLATE.md added ISSUE_TEMPLATE 2016-03-11 21:06:43 +01:00
Makefile.am build: bootstrap script has expected content 2014-05-11 09:15:27 +02:00
Makefile.mak fixed and cleaned up nmake Makefiles 2016-06-23 07:35:53 +02:00
NEWS fix NEWS, few debug messages more 2016-05-26 10:59:58 +02:00
README link README to README.md 2015-11-02 23:54:36 +01:00
README.md Use "native" badges 2016-01-22 18:42:10 +02:00
appveyor.yml compile zlib with -MT instead of -MD 2016-06-14 14:58:11 +02:00
bootstrap build: bootstrap script has expected content 2014-05-11 09:15:27 +02:00
bootstrap.ci tools: print package revision 2016-03-04 14:16:06 +01:00
configure.ac autoconf: option to disable -Werror=declaration-after-statement 2016-06-03 11:13:09 +02:00
version.m4 package: update RC version 2016-05-16 11:55:36 +02:00

README.md

OpenSC documentation

Wiki is available online

Please take a look at the documentation before trying to use OpenSC.

Travis CI Build Status AppVeyor CI Build Status Coverity Scan Status