OpenSC fork, with some Italian healthcare smart card utils
Go to file
Peter Popovec ce7fa42958 Use fresh data from FCI instead of FCP for sc_pkcs15init_authenticate()
Function sc_pkcs15init_update_file(): we will try to select the file, if
file can not be selected, the file is created, and select operation is
repeated. In both cases, the "selected_file" variable contains the current
FCI of the selected file.

Then the sc_pkcs15init_authenticate () function is called, but not with
"selected_file" variable, but "file" variable where the FCP data is present
(from the file creation operation).

Difference between FCP and FCI  (pkcs15-init -C  / MyEID card).
62 17 80 02 00 FF 82 01 01 83 02 50 31 86 03 01 3F FF 85 02 00 00 8A 01 00
6F 17 80 02 00 FF 82 01 01 83 02 50 31 86 03 01 3F FF 85 02 00 00 8A 01 01

Here it is clear that the data from FCP are outdated.  The card changed the
TAG 0x8a from 0 to 1 ("no information given", "creation state".) We need to
respect the authority of the card, FCI is to be used in next code, not FCP.

	modified:   src/pkcs15init/pkcs15-lib.c
2021-01-22 18:59:22 +01:00
.github Enable CIFuzz to run fuzzers even before merging changes 2020-11-25 08:54:54 +01:00
MacOSX opensctoken: avoid component spec when it's not built 2020-12-01 15:54:27 +01:00
doc pkcs11-tool: Add option to list PKCS #11 3.0 interfaces 2021-01-11 14:49:22 +01:00
etc spelling fixes 2020-08-30 10:35:14 +02:00
m4 configure: Add option to generate code coverage (for unit tests) 2020-01-07 17:07:48 +01:00
packaging/debian.templates fix LGPL version 2013-09-29 20:55:41 +02:00
src Use fresh data from FCI instead of FCP for sc_pkcs15init_authenticate() 2021-01-22 18:59:22 +01:00
tests tests: Verify there are no duplicate symbols exported 2021-01-06 14:15:06 +01:00
win32 fixed atrmask for gnuk 2020-11-25 09:28:00 +01:00
.gitignore Ignore build artifacts 2021-01-11 14:49:22 +01:00
.gitlab-ci.yml Integrated virt_CACard in CI jobs (#1757) 2019-08-20 15:17:14 +02:00
.travis.yml Print testsuite logs on error 2021-01-06 14:15:06 +01:00
COPYING Import new license file with correct address 2020-01-09 15:35:11 +01:00
Makefile.am configure: Add option to generate code coverage (for unit tests) 2020-01-07 17:07:48 +01:00
Makefile.mak autostart is a subfeature of OpenSC tools 2019-04-08 11:16:13 +02:00
NEWS update date in NEWS 2020-11-24 10:12:21 +01:00
README link README to README.md 2015-11-02 23:54:36 +01:00
README.md Fix link to virt_cacard project 2020-08-05 09:11:35 +02:00
SECURITY.md SECURITY.md: Introduce security reporting process 2020-07-03 17:32:50 +02:00
appveyor.yml Prepare RC1 of 0.21.0 (#2117) 2020-10-03 01:11:33 +02:00
bootstrap build: bootstrap script has expected content 2014-05-11 09:15:27 +02:00
bootstrap.ci bootstrap.ci: stop echoing executed commands 2018-05-21 20:45:04 +02:00
configure.ac Ignore non-useful check in clang-tidy as we have ton of memset/memcpy 2021-01-06 14:15:06 +01:00
version.m4 version.m4: remove unused macro PACKAGE_VERSION_REVISION 2018-05-21 20:45:04 +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 Language grade: C/C++ Fuzzing Status CII Best Practices

Build and test status of specific cards:

Cards Status
CAC CAC
virt_CACard virt_CACard
Coolkey Coolkey
PivApplet PIV
OpenPGP Applet OpenPGP
GidsApplet GIDS
IsoApplet IsoApplet
OsEID (MyEID) OsEID (MyEID)