OpenSC fork, with some Italian healthcare smart card utils
Go to file
Doug Engert c7af08c68a PIV - read just length of object to get size
card-piv.c tries to read the first 8 bytes of an object to get object size
so it can allocate a buffer. It then reads the whole object. apdu.c has changed
over the years, and apdu.c will keep reading as long as the card returns
status of 61 XX  thus apdu.c will read the whole object while discarding
the extra data and returning to the caller only the first part of the data.
This in effect causes a double read of objects.

This patch sets SC_APDU_FLAGS_NO_GET_RESP to tell apdu to stop doing the
extra get-response commands thus avoiding most of the extra overhead.

This in not an optimal patch as it only works with T=1 cards/readers
but the patch is confined to just card-piv.c.
A better patch is in the works.

Fixes #462
2015-05-13 09:24:46 +02:00
MacOSX use xcodebuild with `-target OpenSC` 2015-03-31 23:57:19 +02:00
doc pkcs11-tool: option to 'decrypt some data' 2015-04-30 15:57:44 +02:00
etc silence some shell commands in Makefile 2015-04-23 00:12:37 +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 PIV - read just length of object to get size 2015-05-13 09:24:46 +02:00
win32 win32/customactions.cpp: add the MaskTech card minidriver registration data 2015-05-10 15:04:44 +02:00
.gitignore Issue 395. Avoiding a couple of memory leaks. 2015-04-12 11:35:09 +02:00
.travis.yml nobody likes being pedantic 2015-04-01 01:41:04 +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
Makefile.am build: bootstrap script has expected content 2014-05-11 09:15:27 +02:00
Makefile.mak build: 'auto-config' parameters 2012-06-08 20:17:36 +02:00
NEWS release 0.14.0 2014-06-26 19:15:33 +02:00
README Update wiki URL 2013-01-06 20:49:14 +01:00
README.md readme.md: add jenkins build status 2015-02-03 09:45:40 +01:00
bootstrap build: bootstrap script has expected content 2014-05-11 09:15:27 +02:00
bootstrap.ci build: put PACKAGE_VERSION_REVISION into version.m4 2014-05-12 07:27:04 +02:00
configure.ac avoid the failure: "Failed to get file version of custom action dll" 2015-05-10 15:04:44 +02:00
version.m4 build: put PACKAGE_VERSION_REVISION into version.m4 2014-05-12 07:27:04 +02:00

README.md

OpenSC documentation wiki is available online at https://github.com/OpenSC/OpenSC/wiki

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

Coverity Scan: Coverity Scan Build Status

Jenkins CI: Build Status

Travis CI: Build Status