OpenSC fork, with some Italian healthcare smart card utils
111246f1d2
Add MD_FUNC_CALLED(pCardData, level) and MD_FUNC_RETURN(pCardData, level, ...) macros. Handles are type __int3264 in VS2015 are casted as size_t when printing so all bytes are printed. size_t on Windows are also treated as 32 or 64 bits. SC_FORMAT_LEN_SIZE is used in the format. (Works with VS2105 needs to be tested on other platforms.) On branch minidriver-4 Changes to be committed: modified: minidriver.c Minidriver.c and reader-pcsc.c - reuse OpenSC reader structure Windows CNG is managing the insertion and removal of the reader and the card and will call CardAcquireContext and CardDeleteContext as needed if the card or reader change. But different processes or threads may establish different PCSC connects to the same reader and card but with different handles. Reuse the OpenSC reader when windows uses the same reader but with different handles. Tests show the certutil -v -scinfo works the same. Associate_card is only need when called from CardAcquireContext and disassociate_card is only need when called from CardDeleteContext. No need to call reinit_card_for(pCardData, name) just because the handles changed. This may be the fix for #1763 because calls like CardCreateContainerEx remain in card state rather then being lost when the handles changed. Changes to be committed: modified: src/libopensc/reader-pcsc.c modified: src/minidriver/minidriver.c |
||
---|---|---|
.github | ||
doc | ||
etc | ||
m4 | ||
MacOSX | ||
packaging/debian.templates | ||
src | ||
tests | ||
win32 | ||
.gitignore | ||
.gitlab-ci.yml | ||
.travis.yml | ||
appveyor.yml | ||
bootstrap | ||
bootstrap.ci | ||
configure.ac | ||
COPYING | ||
Makefile.am | ||
Makefile.mak | ||
NEWS | ||
README | ||
README.md | ||
version.m4 |
OpenSC documentation
Wiki is available online
Please take a look at the documentation before trying to use OpenSC.
Build and test status of specific cards:
Cards | Status |
---|---|
CAC | |
virt_CACard | |
Coolkey | |
PivApplet | |
OpenPGP Applet | |
GidsApplet | |
IsoApplet | |
OsEID (MyEID) |