opensc/src/libopensc
Yaroslav Isakov 23dc52c903 Fixed OpenPGP logic for comparing OIDs
It's better to leave oid comparison as it was before, and drop trailing
zero byte after it, when reading from token.
2021-05-20 11:11:05 +02:00
..
Makefile.am Add correct prefix on the clang-tidy commandline 2021-05-05 14:22:58 +02:00
Makefile.mak Initial support for Polish eID card (e-dowód, eDO) (#2023) 2020-05-19 14:05:13 +02:00
apdu.c apdu: Do not insert delay while fuzzing 2021-02-25 09:08:52 +01:00
asn1.c Merge pull request #1960 from Jakuje/eddsa 2021-03-22 15:36:59 +01:00
asn1.h ASN1 lax bit string decoding 2021-03-17 10:58:20 +01:00
authentic.h libopensc: authentIC: use macros; use common CPLC data type 2011-05-13 12:57:18 +00:00
aux-data.c CI: integrate clang-tidy (disabled) 2019-05-21 19:34:46 +02:00
aux-data.h fix typos 2018-04-15 09:34:45 +02:00
base64.c make casting explicit 2015-11-01 13:18:39 +01:00
card-akis.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
card-asepcos.c card-asepcos: Fix heap-buffer overflow 2020-09-15 12:41:37 +02:00
card-atrust-acos.c Check if card name is null in acos atrust driver 2020-01-31 16:15:23 +01:00
card-authentic.c authentic: Initialize structure to avoid comparison against garbage 2021-01-06 14:15:06 +01:00
card-belpic.c belpic: Remove unused variable 2021-01-06 14:15:06 +01:00
card-cac-common.c Restore minimal CAC1 driver for legacy cards (#1502) 2018-10-30 17:27:28 +01:00
card-cac-common.h Restore minimal CAC1 driver for legacy cards (#1502) 2018-10-30 17:27:28 +01:00
card-cac.c cac: Avoid assigning local variable to function arguments 2020-11-25 09:26:42 +01:00
card-cac1.c Merge pull request #1772 from Jakuje/idprime 2020-01-31 15:49:29 +01:00
card-cardos.c cardos: Add ATR for CardOS 5.4 2021-04-15 17:59:31 +02:00
card-coolkey.c coolkey: Remove dead code 2020-09-24 08:59:47 +02:00
card-default.c honour HAVE_CONFIG_H 2015-04-22 23:55:33 +02:00
card-dnie.c dnie: Remove unused assignment leaking local variable through parameters 2020-11-25 09:26:42 +01:00
card-edo.c Initial support for Polish eID card (e-dowód, eDO) (#2023) 2020-05-19 14:05:13 +02:00
card-entersafe.c spelling fixes 2020-08-30 10:35:14 +02:00
card-epass2003.c Update card-epass2003.c 2021-02-11 12:32:19 +01:00
card-esteid2018.c ignore for 339158 Dereference before null check 2019-11-05 21:49:30 +01:00
card-flex.c opensc-explorer, command "info" - added information about LCS 2021-01-22 19:04:22 +01:00
card-gemsafeV1.c Fixing invalid signature with 3072 RSA bits in GemsafeV1 2019-12-05 10:46:21 +01:00
card-gids.c Remove unused stored_length field. 2020-08-19 10:01:58 +02:00
card-gids.h First support for GIDS card 2016-02-19 00:12:16 +01:00
card-gpk.c gpk: Replace assert with error 2020-12-09 15:50:54 +01:00
card-iasecc.c IASECC/Gemalto: add support 2021-04-26 21:37:39 +02:00
card-idprime.c Code style changes 2021-05-11 11:44:39 +02:00
card-incrypto34.c spelling fixes 2020-08-30 10:35:14 +02:00
card-isoApplet.c spelling fixes 2020-08-30 10:35:14 +02:00
card-itacns.c itacns: Correctly free allocated memory 2021-01-06 14:15:06 +01:00
card-jcop.c card-jcop: Avoid left-shift of negative values 2019-08-28 11:01:50 +02:00
card-jpki.c sc_*_binary: interpret SC_SUCCESS as EOF 2020-01-31 14:47:45 +01:00
card-masktech.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
card-mcrd.c mcrd: Do not leak memory 2020-12-09 15:50:54 +01:00
card-miocos.c opensc-explorer, command "info" - added information about LCS 2021-01-22 19:04:22 +01:00
card-muscle.c muscle: Avoid access uninitialized memory 2019-11-14 19:36:01 +01:00
card-myeid.c Skip authentication if card access control mechanism is not active. 2021-03-16 10:57:05 +01:00
card-npa.c npa: Free allocated apps in match function 2020-09-15 12:41:37 +02:00
card-npa.h allow compilation with --disable-shared 2018-11-01 00:17:22 +01:00
card-oberthur.c Update card-oberthur.c 2021-02-11 12:32:19 +01:00
card-openpgp.c Fixed OpenPGP logic for comparing OIDs 2021-05-20 11:11:05 +02:00
card-openpgp.h openpgp: Initial support for (X)EdDSA keys 2021-03-01 15:42:29 +01:00
card-piv.c PIV whitespace cleanup and addtion of // clang-format off|on 2020-12-15 11:14:15 +01:00
card-rtecp.c Remove the SC_SEC_ENV_FILE_REF_PRESENT flag for Rutoken ECP cards 2021-04-29 23:03:32 +02:00
card-rutoken.c card-rtecp,card-rutoken: Set specific card types 2019-07-02 12:13:57 +02:00
card-sc-hsm.c sc-hsm: Avoid assigning local variable to function arguments 2020-11-25 09:26:42 +01:00
card-sc-hsm.h sc-hsm: require T=1 connection 2019-03-05 13:47:45 +01:00
card-setcos.c fixed Out-of-bounds access 2020-02-04 13:56:53 +01:00
card-starcos.c Enabled extended APDU support for StarCOS 3x cards 2019-12-05 16:48:11 +01:00
card-tcos.c tcos: fixed memcpy with 0 or less bytes 2021-02-25 23:34:57 +01:00
card-westcos.c westcos: Avoid assigning local variable to function arguments 2020-11-25 09:26:42 +01:00
card.c openpgp: Correctly handle curve25519 keys 2021-03-01 15:43:28 +01:00
cardctl.h Add internal support for (X)EdDSA keys 2021-03-01 15:42:26 +01:00
cards.h Adds Gemalto IDPrime v4 2021-05-11 11:44:39 +02:00
ccid-types.h Added support for PIN commands via escape commands 2017-03-20 21:28:48 +01:00
compression.c compression: Validate inputs to decompression functions 2020-03-04 21:27:56 +01:00
compression.h First support for GIDS card 2016-02-19 00:12:16 +01:00
ctbcs.c replaced SC_TEST_RET with LOG_TEST_RET 2018-12-06 09:26:42 +01:00
ctbcs.h fix typos 2018-04-15 09:34:45 +02:00
ctx.c use macos' ${Caches} by default 2021-03-01 11:49:14 +01:00
cwa-dnie.c Issue 2153: organizationIdentifier is not translated by openssl 1.1.0/1.0.x 2020-11-25 09:33:20 +01:00
cwa-dnie.h Issue 2105: Add new DNIe CA structure for the secure channel 2020-09-26 01:36:55 +02:00
cwa14890.c spelling fixes 2020-08-30 10:35:14 +02:00
cwa14890.h fix typos 2018-04-15 09:34:45 +02:00
dir.c IASECC/Gemalto: register application 2021-04-26 21:37:39 +02:00
ef-atr.c IASECC/CPX: parse EF.ATR from ASN1 2F01 object 2021-03-17 10:58:20 +01:00
ef-gdo.c fixed out of bounds reads 2018-08-14 15:50:13 +02:00
errors.c opensc-notify: handle reader insertion/removal events 2020-04-06 18:08:34 +02:00
errors.h Added bounds checking to sc_simpletlv_read_tag() 2018-08-14 15:50:13 +02:00
gp.c gp: Correctly check for the CPLC data length 2019-11-29 22:47:26 +01:00
gp.h gp: Define the structure packed, as it is used directly to read data inside 2020-01-07 17:18:05 +01:00
iasecc-sdo.c iasecc-sdo: Avoid potential memory leak 2019-08-28 11:01:50 +02:00
iasecc-sdo.h fix typos 2018-04-15 09:34:45 +02:00
iasecc-sm.c refactored sc_get_challenge 2018-05-23 14:20:28 +02:00
iasecc.h IASECC/CPX: export pkcs15init for missing features 2021-04-26 15:52:09 +02:00
internal-winscard.h winscard: Add missing constant define 2021-03-01 14:35:51 +01:00
internal.h Add internal support for (X)EdDSA keys 2021-03-01 15:42:26 +01:00
iso7816.c opensc-explorer, command "info" - added information about LCS 2021-01-22 19:04:22 +01:00
iso7816.h parse Extended Length Information in EF.ATR/INFO 2016-07-19 14:30:38 +02:00
itacns.h
jpki.h login state preservation for JPKI card 2017-02-06 14:22:14 +01:00
libopensc.exports Add internal support for (X)EdDSA keys 2021-03-01 15:42:26 +01:00
log.c tools: fixed colors if -v is specified 2019-01-15 07:30:46 +01:00
log.h avoid debugging PIN commands 2020-03-05 22:17:09 +01:00
muscle-filesystem.c muscle: Check length first before calling memcmp() 2019-11-14 19:36:01 +01:00
muscle-filesystem.h
muscle.c spelling fixes 2020-08-30 10:35:14 +02:00
muscle.h use size_t for a length instead of int 2015-10-14 22:56:53 +02:00
opensc.dll.manifest Windows: Added support for notifications 2017-08-02 19:03:16 +02:00
opensc.h Add internal support for (X)EdDSA keys 2021-03-01 15:42:26 +01:00
p15card-helper.c replaced SC_FUNC_RETURN with LOG_FUNC_RETURN 2018-12-06 09:26:42 +01:00
p15card-helper.h
pace.h Added (external) card driver for German ID card 2017-03-20 21:28:48 +01:00
padding.c padding: Pass the MGF1 information to the card driver for RSA-PSS mechanism 2021-01-26 10:53:30 +01:00
pkcs15-actalis.c Avoid memory leaks when initializing tokeninfo in various drivers 2020-06-09 13:02:27 +02:00
pkcs15-algo.c Add internal support for (X)EdDSA keys 2021-03-01 15:42:26 +01:00
pkcs15-atrust-acos.c Remove more needless checks for NULL before free 2020-07-07 16:21:21 +02:00
pkcs15-cac.c cac: Use the specific pin change operation only on HID cards 2020-10-24 21:01:18 +02:00
pkcs15-cache.c fixed more clang-tidy warnings 2019-06-05 13:48:51 +02:00
pkcs15-cardos.c spelling fixes 2020-08-30 10:35:14 +02:00
pkcs15-cert.c pkcs15-cert: Free memory on error 2020-11-18 23:02:34 +01:00
pkcs15-coolkey.c coolkey: Initialize potentially uninitialized memory 2021-03-24 16:25:08 +01:00
pkcs15-data.c pkcs15-data: Do not fail on zero-lenght data blocks 2020-09-15 12:41:37 +02:00
pkcs15-din-66291.c fixed 348981 Resource leak 2019-11-05 21:49:30 +01:00
pkcs15-dnie.c fixed memory leak 2020-02-10 10:17:16 +01:00
pkcs15-esinit.c Remove more needless checks for NULL before free 2020-07-07 16:21:21 +02:00
pkcs15-esteid.c Avoid memory leaks when initializing tokeninfo in various drivers 2020-06-09 13:02:27 +02:00
pkcs15-esteid2018.c Avoid memory leaks when initializing tokeninfo in various drivers 2020-06-09 13:02:27 +02:00
pkcs15-gemsafeGPK.c Avoid memory leaks when initializing tokeninfo in various drivers 2020-06-09 13:02:27 +02:00
pkcs15-gemsafeV1.c Remove more needless checks for NULL before free 2020-07-07 16:21:21 +02:00
pkcs15-gids.c Avoid memory leaks when initializing tokeninfo in various drivers 2020-06-09 13:02:27 +02:00
pkcs15-iasecc.c IASECC/CPX: Fix up prkeyinfo/algo_ref 2021-04-26 15:52:09 +02:00
pkcs15-idprime.c Code style changes 2021-05-11 11:44:39 +02:00
pkcs15-itacns.c itacns: fixed length checking 2020-09-29 08:53:16 +02:00
pkcs15-jpki.c Avoid memory leaks when initializing tokeninfo in various drivers 2020-06-09 13:02:27 +02:00
pkcs15-oberthur.c oberthur: Handle 1B OIDs 2021-04-13 21:58:47 +02:00
pkcs15-openpgp.c Fixed OpenPGP logic for comparing OIDs 2021-05-20 11:11:05 +02:00
pkcs15-pin.c Reject the case that the PIN and PUK padding flags are different, since this 2020-07-22 22:58:57 +02:00
pkcs15-piv.c PIV whitespace cleanup and addtion of // clang-format off|on 2020-12-15 11:14:15 +01:00
pkcs15-prkey.c Add internal support for (X)EdDSA keys 2021-03-01 15:42:26 +01:00
pkcs15-pteid.c pteid: Do not overwrite already set information in tokeninfo 2020-06-09 13:02:27 +02:00
pkcs15-pubkey.c Add internal support for (X)EdDSA keys 2021-03-01 15:42:26 +01:00
pkcs15-sc-hsm.c Add criteria to check if card capability SC_CARD_CAP_PROTECTED_AUTHENTICATION_PATH is available 2021-04-01 10:29:33 +02:00
pkcs15-sec.c Fix 2340 pkcs15-sec.c wrong test 2021-05-17 15:00:26 +02:00
pkcs15-skey.c Increase SC_MAX_SUPPORTED_ALGORITHMS from 8 to 16 2020-05-09 23:59:51 +02:00
pkcs15-starcert.c Remove more needless checks for NULL before free 2020-07-07 16:21:21 +02:00
pkcs15-syn.c IASECC/CPX: enable calls thru pkcs15-iasecc.c 2021-04-26 15:52:09 +02:00
pkcs15-syn.h Various CardOS V5_* improvements 2020-05-09 23:59:51 +02:00
pkcs15-tccardos.c Avoid memory leaks when initializing tokeninfo in various drivers 2020-06-09 13:02:27 +02:00
pkcs15-tcos.c tcos: Check bounds in insert_pin() 2020-12-09 15:50:54 +01:00
pkcs15-westcos.c westcos: Avoid strict aliasing violations 2021-03-09 23:59:58 +01:00
pkcs15.c avoid memory leak when creating pkcs#15 files 2021-02-25 23:34:57 +01:00
pkcs15.h Add internal support for (X)EdDSA keys 2021-03-01 15:42:26 +01:00
reader-cryptotokenkit.m Corrected highly misleading, confusing and ambiguous use of PIN length_offset 2020-09-04 12:28:24 +02:00
reader-ctapi.c always log APDUs with SC_LOG_DEBUG_NORMAL 2018-12-06 09:26:42 +01:00
reader-openct.c always log APDUs with SC_LOG_DEBUG_NORMAL 2018-12-06 09:26:42 +01:00
reader-pcsc.c reader-pcsc: Avoid strict aliasing issues 2021-03-09 23:59:58 +01:00
reader-tr03119.c Check if we HAVE_ENDIAN_H 2020-04-03 09:52:08 +02:00
reader-tr03119.h EAC: Clearify naming of functions and data 2018-02-20 22:16:51 +01:00
sc-ossl-compat.h spelling fixes 2020-08-30 10:35:14 +02:00
sc.c Fixed OpenPGP logic for comparing OIDs 2021-05-20 11:11:05 +02:00
sec.c Improve logging mostly in opengpg 2021-03-01 14:35:50 +01:00
simpletlv.c simpletlv: Avoid writing before all sanity checks in sc_simpletlv_put_tag() 2020-01-07 17:07:48 +01:00
simpletlv.h Drop the pkcs15.h from simpletlv.h 2020-01-07 13:29:53 +01:00
sm.c Add ECC support and solve wrong Length status codes with SM card 2017-10-16 14:57:52 +02:00
sm.h fixed compilation without OpenSSL 2018-11-13 15:50:17 +01:00
types.h Skip authentication if card access control mechanism is not active. 2021-03-16 10:57:05 +01:00