Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pcsc-ccid for openSUSE:Factory checked in at 2026-10-07 19:35:44 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pcsc-ccid (Old) and /work/SRC/openSUSE:Factory/.pcsc-ccid.new.3698736 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pcsc-ccid" Wed Oct 7 19:35:44 2026 rev:73 rq:1383064 version:1.8.4 Changes: -------- --- /work/SRC/openSUSE:Factory/pcsc-ccid/pcsc-ccid.changes 2026-08-30 19:08:35.317820138 +0200 +++ /work/SRC/openSUSE:Factory/.pcsc-ccid.new.3698736/pcsc-ccid.changes 2026-10-07 19:36:47.722177771 +0200 @@ -1,0 +2,9 @@ +Wed Oct 7 13:25:46 UTC 2026 - Axel Braun <[email protected]> + +- version 1.8.4 + * Add support of + THALES PKI Transaction Pad + * fix some minor issues found by an AI tool + * Some other minor improvements + +------------------------------------------------------------------- Old: ---- ccid-1.8.3.tar.xz ccid-1.8.3.tar.xz.asc New: ---- ccid-1.8.4.tar.xz ccid-1.8.4.tar.xz.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pcsc-ccid.spec ++++++ --- /var/tmp/diff_new_pack.qZVQ77/_old 2026-10-07 19:36:49.356246452 +0200 +++ /var/tmp/diff_new_pack.qZVQ77/_new 2026-10-07 19:36:49.363246746 +0200 @@ -18,7 +18,7 @@ Name: pcsc-ccid %define _name ccid -Version: 1.8.3 +Version: 1.8.4 Release: 0 Summary: PCSC Driver for CCID Based Smart Card Readers and GemPC Twin Serial Reader License: LGPL-2.1-or-later ++++++ ccid-1.8.3.tar.xz -> ccid-1.8.4.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ccid-1.8.3/README.md new/ccid-1.8.4/README.md --- old/ccid-1.8.3/README.md 2026-08-29 14:37:47.000000000 +0200 +++ new/ccid-1.8.4/README.md 2026-09-20 15:05:37.000000000 +0200 @@ -122,6 +122,12 @@ History: ======== +1.8.4 - 20 September 2026, Ludovic Rousseau + - Add support of + - THALES PKI Transaction Pad + - fix some minor issues found by an AI tool + - Some other minor improvements + 1.8.3 - 29 August 2026, Ludovic Rousseau - Add support of - Broadcom Corp 58200 0x5884 @@ -135,8 +141,8 @@ - HID Global OMNIKEY SE Plug - Neowave LinkeoC-PRO - Swissbit iShield Key 2 Pro - - macOS: provide a sample script to build the driver with meson - - fix some minor issues found by an AI tool + - macOS: provide a sample script to build the driver with meson + - fix some minor issues found by an AI tool - Some other minor improvements 1.8.2 - 13 June 2026, Ludovic Rousseau diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ccid-1.8.3/meson.build new/ccid-1.8.4/meson.build --- old/ccid-1.8.3/meson.build 2026-08-29 14:37:47.000000000 +0200 +++ new/ccid-1.8.4/meson.build 2026-09-20 15:05:37.000000000 +0200 @@ -7,7 +7,7 @@ project('ccid', 'c', meson_version : '>=0.58.0', - version : '1.8.3') + version : '1.8.4') # for config.h conf_data = configuration_data({ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ccid-1.8.3/src/commands.c new/ccid-1.8.4/src/commands.c --- old/ccid-1.8.3/src/commands.c 2026-08-29 14:37:47.000000000 +0200 +++ new/ccid-1.8.4/src/commands.c 2026-09-20 15:05:37.000000000 +0200 @@ -1521,6 +1521,13 @@ return IFD_COMMUNICATION_ERROR; } + /* Need at least 1 byte (bResponseType) before switch and r-1 copy */ + if (r < 1) + { + DEBUG_INFO1("ICC Data Block too short"); + return IFD_COMMUNICATION_ERROR; + } + /* copy from the 4 bytes buffer if used */ if (old_rx_buffer) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ccid-1.8.3/src/ifdhandler.c new/ccid-1.8.4/src/ifdhandler.c --- old/ccid-1.8.3/src/ifdhandler.c 2026-08-29 14:37:47.000000000 +0200 +++ new/ccid-1.8.4/src/ifdhandler.c 2026-09-20 15:05:37.000000000 +0200 @@ -1583,6 +1583,14 @@ DEBUG_INFO4("ControlCode: 0x" DWORD_X ", " LOG_STRING " (lun: " DWORD_X ")", dwControlCode, ccid_reader->readerName, Lun); + + /* size should be less than 128 kB */ + if (TxLength > (1 << 17)) + { + DEBUG_CRITICAL2("TxLength too big: " DWORD_D, TxLength); + return IFD_COMMUNICATION_ERROR; + } + DEBUG_INFO_XXD("Control TxBuffer: ", TxBuffer, TxLength); /* Set the return length to 0 to avoid problems */ @@ -2109,6 +2117,9 @@ CcidDesc * ccid_reader; _ccid_descriptor *ccid_descriptor; unsigned int oldReadTimeout; +#ifndef NO_LOG + const char *text; +#endif (void)pthread_mutex_lock(&ifdh_context_mutex); ccid_reader = LunToCcidDesc(Lun); @@ -2164,13 +2175,10 @@ LogLevel = oldLogLevel; if (IFD_NO_SUCH_DEVICE == return_value) - { return_value = IFD_ICC_NOT_PRESENT; - goto end; - } if (return_value != IFD_SUCCESS) - return return_value; + goto end; return_value = IFD_COMMUNICATION_ERROR; switch (pcbuffer[7] & CCID_ICC_STATUS_MASK) /* bStatus */ @@ -2273,8 +2281,16 @@ #endif end: - DEBUG_PERIODIC2("Card " LOG_STRING, - IFD_ICC_PRESENT == return_value ? "present" : "absent"); + +#ifndef NO_LOG + text= "absent"; + if (IFD_ICC_PRESENT == return_value) + text = "present"; + else + if (IFD_ICC_NOT_PRESENT != return_value) + text = "ERROR"; + DEBUG_PERIODIC2("Card " LOG_STRING, text); +#endif return return_value; } /* IFDHICCPresence */ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/ccid-1.8.3/src/supported_readers.txt new/ccid-1.8.4/src/supported_readers.txt --- old/ccid-1.8.3/src/supported_readers.txt 2026-08-29 14:37:47.000000000 +0200 +++ new/ccid-1.8.4/src/supported_readers.txt 2026-09-20 15:05:37.000000000 +0200 @@ -962,6 +962,9 @@ # Teridian Semiconductors 0x1862:0x0000:Teridian Semiconductors TSC12xxFV.09 +# THALES +0x08E6:0x34C8:THALES PKI Transaction Pad + # Thales 0x08E6:0x34C7:Thales Shield M4 Reader 0x17B9:0x400B:Thales RF Reader
