OpenSC fork, with some Italian healthcare smart card utils
Go to file
Doug Engert 764c61446e pkcs15-crypt - Handle keys with user_consent - Fixes #1292
This fixes problem as stated in:
https://github.com/OpenSC/OpenSC/issues/1292#issuecomment-431879472

pkcs15-crypt.c will treat keys with user_consent like PKCS#11 would.
SC_AC_CONTEXT_SPECIFIC is set when doing a verify so a card driver can
take action if needed.

card-piv.c is currently the only driver doing so.
It uses this to hold the card lock so both the VERIFY and following crypto
operations are in the same transaction. The card enforces this restriction.
Without this additional APDUs may be sent before every transaction to test
that the expected applet is selected.

Unlike the circumvention of using ignore_user_consent=true and pin caching
this modification allows a pin pad reader to be used for keys requiring user_consent.

 On branch pkcs15-context-specific
 Changes to be committed:
	modified:   pkcs15-crypt.c
2018-11-20 11:53:57 +01:00
.github upload CI build artifacts to OpenSC/Nightly 2018-08-24 09:23:58 +02:00
MacOSX allow specifying the size of OpenSSL secure memory 2018-11-13 15:50:17 +01:00
doc openpgp-tool: use key type to indicate key to generate 2018-11-06 12:41:19 +01:00
etc pkcs11: CKF_WRITE_PROTECTED based on card's read_only flag 2018-09-14 08:23:08 +02:00
m4 opensc-notify: notify for card events 2017-08-02 19:04:09 +02:00
packaging/debian.templates fix LGPL version 2013-09-29 20:55:41 +02:00
src pkcs15-crypt - Handle keys with user_consent - Fixes #1292 2018-11-20 11:53:57 +01:00
win32 pgp: detect gnuk with newer fw 2018-09-13 13:46:27 +02:00
.gitignore Distribute a minimal opensc.conf 2018-07-17 14:49:27 +02:00
.travis.yml travis: fixed installation of completion templates 2018-11-14 12:57:22 +01:00
COPYING - changed license to LGPL 2001-11-06 18:34:19 +00:00
Makefile.am fixed low privilege `make distcheck` 2018-08-20 12:03:44 +02:00
Makefile.mak fixed and cleaned up nmake Makefiles 2016-06-23 07:35:53 +02:00
NEWS updated NEWS 2018-09-13 13:47:21 +02:00
README link README to README.md 2015-11-02 23:54:36 +01:00
README.md Add a badge about card status 2018-06-21 12:48:57 +02:00
appveyor.yml allow specifying the size of OpenSSL secure memory 2018-11-13 15:50:17 +01: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 allow specifying the size of OpenSSL secure memory 2018-11-13 15:50:17 +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

Build and test status of specific cards:

Cards Status
CAC CAC
Coolkey Coolkey