opensc/src/libopensc
martin 03be594243 core: Fix PIN caching for PIN codes protecting user consent keys, broken in r4048
Such PIN codes were erroneously cached in memory, even though not used with revalidation..
User consent relates to private keys, not PIN codes.

git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@5124 c6295689-39f2-0310-b995-f0e70906c6a9
2011-01-27 14:25:35 +00:00
..
Makefile.am libopensc: parse content of the EF(ATR) file 2011-01-07 15:49:10 +00:00
Makefile.mak libopensc: parse content of the EF(ATR) file 2011-01-07 15:49:10 +00:00
apdu.c Fix 253 third fix for same problem. The first fix 2010-10-14 14:59:51 +00:00
asn1.c asn1: spelling of the debug messages 2011-01-13 15:06:12 +00:00
asn1.h asn1: accept long tag ... 2011-01-13 13:59:22 +00:00
authentic.h libopensc: introduce TLV and LV data type, use it to store DDO data 2011-01-06 16:16:24 +00:00
base64.c Header file cleanup. 2010-03-04 08:14:36 +00:00
card-acos5.c libopensc: avoid the using of not completely initialized 'sc_path' variables 2011-01-17 19:00:52 +00:00
card-akis.c Revert r4668. Change the way limitations on max send and receive sizes are set. 2010-09-09 18:58:44 +00:00
card-asepcos.c libopensc: avoid the using of not completely initialized 'sc_path' variables 2011-01-17 19:00:52 +00:00
card-atrust-acos.c libopensc: avoid the using of not completely initialized 'sc_path' variables 2011-01-17 19:00:52 +00:00
card-authentic.c libopensc: avoid using of the not completely initialized 'sc_path' variables 2011-01-18 09:48:26 +00:00
card-belpic.c Belpic: remove BELPIC_SET_LANG and related code, as it is not used in OpenSC 2010-09-11 13:00:29 +00:00
card-cardos.c libioensc: use 'struct sc_atr' instead of 'u8 *atr, size_t atr_len' 2011-01-07 17:18:58 +00:00
card-default.c cleanup of the debug code: 2010-03-15 12:17:13 +00:00
card-entersafe.c libopensc: avoid the using of not completely initialized 'sc_path' variables 2011-01-17 19:00:52 +00:00
card-flex.c libopensc: Now 'cache-valid' flag is a member of 'sc_card_cache' ... 2010-12-30 13:04:55 +00:00
card-gemsafeV1.c Add new ATR for the Portuguese eID card. 2010-10-05 16:10:35 +00:00
card-gpk.c Revert r4668. Change the way limitations on max send and receive sizes are set. 2010-09-09 18:58:44 +00:00
card-ias.c libopensc: avoid the using of not completely initialized 'sc_path' variables 2011-01-17 19:00:52 +00:00
card-incrypto34.c Rename of SC_NO_ERROR to SC_SUCCESS. 2010-12-16 05:04:37 +00:00
card-itacns.c libioensc: use 'struct sc_atr' instead of 'u8 *atr, size_t atr_len' 2011-01-07 17:18:58 +00:00
card-javacard.c Add a catch-all for (possibly) blank JavaCards. This way known blank JavaCards without a supported applet get recognized by opensc-tool -n. 2010-02-06 10:56:29 +00:00
card-jcop.c card-jcop: remove dummy stubs. 2010-09-05 19:55:00 +00:00
card-mcrd.c EstonianEid: add new 2011 card ATR (18.01.2011+) 2011-01-19 08:37:07 +00:00
card-miocos.c Revert r4668. Change the way limitations on max send and receive sizes are set. 2010-09-09 18:58:44 +00:00
card-muscle.c Revert r4668. Change the way limitations on max send and receive sizes are set. 2010-09-09 18:58:44 +00:00
card-myeid.c libioensc: use 'struct sc_atr' instead of 'u8 *atr, size_t atr_len' 2011-01-07 17:18:58 +00:00
card-oberthur.c libopensc: avoid using of the not completely initialized 'sc_path' variables 2011-01-18 09:48:26 +00:00
card-openpgp.c libopensc: avoid the using of not completely initialized 'sc_path' variables 2011-01-17 19:00:52 +00:00
card-piv.c libopensc: correctly use HAVE_MALLOC_H to include malloc.h 2010-12-29 10:45:08 +00:00
card-rtecp.c AktivRutokenECP: make opensc-tool -n show the actual token name, based on ATR 2011-01-02 12:54:44 +00:00
card-rutoken.c Rename of SC_NO_ERROR to SC_SUCCESS. 2010-12-16 05:04:37 +00:00
card-setcos.c cleanup of the debug code: 2010-03-15 12:17:13 +00:00
card-starcos.c libopensc: avoid the using of not completely initialized 'sc_path' variables 2011-01-17 19:00:52 +00:00
card-tcos.c Do not cast the return value of malloc(3) and calloc(3) 2010-08-18 15:08:51 +00:00
card-westcos.c libioensc: use 'struct sc_atr' instead of 'u8 *atr, size_t atr_len' 2011-01-07 17:18:58 +00:00
card.c libopensc: procedure to log the card's cache 2011-01-09 09:32:34 +00:00
cardctl.h pkcd15init: get PIN reference from SE number when verifying 'SE' secret type ... 2011-01-11 16:40:49 +00:00
cards.h Initial modifications to support OpenPGP v2.0 (CryptoStick) 2011-01-09 10:17:16 +00:00
compression.c Header file cleanup. 2010-03-04 08:14:36 +00:00
compression.h Header file cleanup. 2010-03-04 08:14:36 +00:00
ctbcs.c Fix #223: implement ctbcs_build_modify_verification_apdu. 2010-06-01 12:28:30 +00:00
ctbcs.h libopensc: 2010-01-24 15:25:08 +00:00
ctx.c libopensc: calling sc_context_create without parameters is not allowed 2011-01-22 12:53:09 +00:00
dir.c libopensc: parse EF.DIR: no need to check the presence of mandatory AID after success of ASN1 decoding 2011-01-11 10:08:05 +00:00
ef-atr.c libopensc: initialize 'sc_ef_atr' type variable 2011-01-19 14:22:57 +00:00
errors.c Textual output of SC_ERROR_* return codes in debug messages. 2010-12-14 03:08:17 +00:00
errors.h Rename of SC_NO_ERROR to SC_SUCCESS. 2010-12-16 05:04:37 +00:00
esteid.h EstEID: add support for v 3.0 cards with 2048b keys 2010-11-29 14:22:01 +00:00
internal-winscard.h WindowsInstaller: Fix Mingw32 Windows build 2010-10-06 07:10:44 +00:00
internal.h libioensc: use 'struct sc_atr' instead of 'u8 *atr, size_t atr_len' 2011-01-07 17:18:58 +00:00
iso7816.c iso7816: use already defined local variable 'ctx' instead of 'card->ctx' 2011-01-09 10:42:40 +00:00
iso7816.h libopensc: parse EF.ATR: redefine 'STATUS' macros ... 2011-01-11 10:29:23 +00:00
itacns.h New card driver: Italian CNS/CIE (eID) 2010-08-16 00:56:27 +00:00
libopensc.exports pkcs15init: function to finalize profile when binding to the application of the multi-application PKCS#15 card. 2011-01-17 16:28:44 +00:00
libopensc.pc.in build fixes by Vile Skytt�. 2004-11-04 19:14:58 +00:00
log.c liopensc: log: use 'normal' as default debug level ... 2011-01-04 11:33:03 +00:00
log.h liopensc: log: use 'normal' as default debug level ... 2011-01-04 11:33:03 +00:00
muscle-filesystem.c Do not cast the return value of malloc(3) and calloc(3) 2010-08-18 15:08:51 +00:00
muscle-filesystem.h Header file cleanup. 2010-03-04 08:14:36 +00:00
muscle.c libopensc: move MIN/MAX macros from muscle.c to internal.h 2010-12-06 12:52:07 +00:00
muscle.h libopensc: check for unset max_recv/send_size in all places. 2010-09-15 11:09:28 +00:00
opensc.h libopensc: export sc_find_app(), remove debug message, ... 2011-01-12 17:41:10 +00:00
p15card-helper.c cleanup of the debug code: 2010-03-15 12:17:13 +00:00
p15card-helper.h Header file cleanup. 2010-03-04 08:14:36 +00:00
padding.c Modifications to support EC and ECDSA for 2010-12-01 20:08:42 +00:00
pkcs15-actalis.c Fix r4977: C89 style to support MS Visual Studio 2010-12-20 08:57:07 +00:00
pkcs15-algo.c pkcs15-algo.c: Just making the compiler happy. 2010-12-14 03:11:31 +00:00
pkcs15-atrust-acos.c pkcs15: don't play with TokenInfo.version. 0 means PKCS#15 v1.1. The flag is not used by OpenSC. 2010-10-05 16:02:57 +00:00
pkcs15-cache.c libopensc: move TokenInfo fields from sc_pkcs15_card_t to a separate structure. 2010-10-05 15:44:58 +00:00
pkcs15-cert.c pkcs15: when setting object data's path, use, if available, the AID from 'DiscretionaryDataObject' 2011-01-18 16:31:41 +00:00
pkcs15-data.c pkcs15: when setting object data's path, use, if available, the AID from 'DiscretionaryDataObject' 2011-01-18 16:31:41 +00:00
pkcs15-esinit.c libopensc: move TokenInfo fields from sc_pkcs15_card_t to a separate structure. 2010-10-05 15:44:58 +00:00
pkcs15-esteid.c Fix [4911] 2010-12-08 08:56:12 +00:00
pkcs15-gemsafeGPK.c sc_pkcs15_pubkey_from_cert now uses parse_x509_cert without OpenSSL. 2010-10-12 15:26:45 +00:00
pkcs15-gemsafeV1.c pkcs15: don't play with TokenInfo.version. 0 means PKCS#15 v1.1. The flag is not used by OpenSC. 2010-10-05 16:02:57 +00:00
pkcs15-infocamere.c libioensc: use 'struct sc_atr' instead of 'u8 *atr, size_t atr_len' 2011-01-07 17:18:58 +00:00
pkcs15-itacns.c Amend and update register of IC manufacturers for itacns 2011-01-27 08:43:32 +00:00
pkcs15-oberthur.c oberthur: from the common part remove the Oberthur specific tokenInfo flags 2010-10-07 15:12:12 +00:00
pkcs15-openpgp.c Initial modifications to support OpenPGP v2.0 (CryptoStick) 2011-01-09 10:17:16 +00:00
pkcs15-pin.c core: Fix PIN caching for PIN codes protecting user consent keys, broken in r4048 2011-01-27 14:25:35 +00:00
pkcs15-piv.c Modifications to support EC and ECDSA for 2010-12-01 20:08:42 +00:00
pkcs15-postecert.c libopensc: move TokenInfo fields from sc_pkcs15_card_t to a separate structure. 2010-10-05 15:44:58 +00:00
pkcs15-prkey.c pkcs15: when setting object data's path, use, if available, the AID from 'DiscretionaryDataObject' 2011-01-18 16:31:41 +00:00
pkcs15-pteid.c pkcs15-pteid.c: In function ‘sc_pkcs15emu_pteid_init’: 2010-11-06 16:58:33 +00:00
pkcs15-pubkey.c pkcs15: when setting object data's path, use, if available, the AID from 'DiscretionaryDataObject' 2011-01-18 16:31:41 +00:00
pkcs15-sec.c libopensc: avoid using of the not completely initialized 'sc_path' variables 2011-01-18 09:48:26 +00:00
pkcs15-starcert.c pkcs15: don't play with TokenInfo.version. 0 means PKCS#15 v1.1. The flag is not used by OpenSC. 2010-10-05 16:02:57 +00:00
pkcs15-syn.c Initial modifications to support OpenPGP v2.0 (CryptoStick) 2011-01-09 10:17:16 +00:00
pkcs15-tccardos.c pkcs15: don't play with TokenInfo.version. 0 means PKCS#15 v1.1. The flag is not used by OpenSC. 2010-10-05 16:02:57 +00:00
pkcs15-tcos.c libopensc: avoid using of the not completely initialized 'sc_path' variables 2011-01-18 09:48:26 +00:00
pkcs15-westcos.c Additianl changes to r4805 which made cert->pubkey a pointer to sc_pkcs15_pubkey_t 2010-10-25 20:58:02 +00:00
pkcs15-wrap.c Do not cast the return value of malloc(3) and calloc(3) 2010-08-18 15:08:51 +00:00
pkcs15.c pkcs15: redesign sc_pkcs15_make_absolute_path() ... 2011-01-18 16:02:09 +00:00
pkcs15.h pkcs15: add array with supported algos references to the key info data type ... 2011-01-13 14:05:19 +00:00
reader-ctapi.c Fix #216: initial go with multiple reader subsystem removal. 2010-09-11 13:00:47 +00:00
reader-openct.c Rename of SC_NO_ERROR to SC_SUCCESS. 2010-12-16 05:04:37 +00:00
reader-pcsc.c libioensc: use 'struct sc_atr' instead of 'u8 *atr, size_t atr_len' 2011-01-07 17:18:58 +00:00
sc.c libopensc: export sc_find_app(), remove debug message, ... 2011-01-12 17:41:10 +00:00
sec.c cleanup of the debug code: 2010-03-15 12:17:13 +00:00
types.h tools: reserve more place for the print path and AID buffer ... 2011-01-11 10:46:09 +00:00