Bug 2209457

Summary: pcsc-lite-ccid 1.5.2-1 rebase for possible high speed connection issue with Alcor Micro Corp. AU9540 Smartcard Reader
Product: Red Hat Enterprise Linux 9 Reporter: Marc Sauton <msauton>
Component: pcsc-lite-ccidAssignee: Jakub Jelen <jjelen>
Status: CLOSED ERRATA QA Contact: Marek Havrila <mhavrila>
Severity: high Docs Contact: Petr Hybl <phybl>
Priority: medium    
Version: 9.3CC: jjelen, mhavrila, mjahoda, ssorce
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: pcsc-lite-ccid-1.5.2-1.el9 Doc Type: Enhancement
Doc Text:
.`pcsc-lite-ccid` rebased to 1.5.2 The `pcsc-lite-ccid` package has been updated to version 1.5.2. This version provides various bug fixes and enhancements, most notably: * Support for new readers * Fix for Alcor Micro AU9560
Story Points: ---
Clone Of:
: 2213827 (view as bug list) Environment:
Last Closed: 2023-11-07 08:55:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2213827    

Description Marc Sauton 2023-05-24 01:29:38 UTC
Description of problem:

there may be a possible high speed connection issue with Alcor Micro Corp. AU9540 Smartcard Reader corresponding to 

https://github.com/LudovicRousseau/CCID/commit/c81c512ba7159ad35a41deaf4d294ee4cc399920
https://ludovicrousseau.blogspot.com/2023/01/new-version-of-libccid-152.html

I have not reproduced this myself, but have seen a RHEL-9.1 report where pcscd must be restarted to re-gain smart card communications.

should 1.5.2 be considered on RHEL-9 to update from pcsc-lite-ccid-1.4.36-1.el9 from 2021-08 ?
I see Fedora-38 has 1.5.2-1


Version-Release number of selected component (if applicable):

HP ZBook Fury 15.6 inch G8 Mobile Workstation PC, with integrated card reader  "Alcor Micro Corp. AU9540 Smartcard Reader"

RHEL-9.1
redhat-release-9.1-1.9.el9.x86_64
pcsc-lite-1.9.4-1.el9.x86_64
pcsc-lite-ccid-1.4.36-1.el9.x86_64
pcsc-lite-libs-1.9.4-1.el9.x86_64
opensc-0.22.0-2.el9.x86_64
sssd-2.7.3-4.el9_1.3.x86_64

May 16 15:43:20 1234 kernel: usb 3-6: Product: EMV Smartcard Reader
May 16 15:43:20 1234 kernel: usb 3-6: Manufacturer: Generic


How reproducible:
by customer, repeatedly

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Jakub Jelen 2023-05-24 06:33:06 UTC
I think it is reasonable request for RHEL 9.3. We have plan to rebase the ccid database from time to time to keep up with new readers anyway.

For RHEL 9.1 z-stream, I think we would need significant business requirement go this way, but in any case, the first step would be verifying that the latest upstream version solves the problem.

I just rebuilt the latest fedora package for epel9 in my copr so fee free to share and test:

https://copr.fedorainfracloud.org/coprs/jjelen/pcsc-lite-future/build/5950774/

Comment 4 Jakub Jelen 2023-05-29 11:28:49 UTC
Short review of changes between 1.4.36 9now in RHEL9) and 1.5.2 (target rebase version):
 * Support for new readers
 * This fix for Alcor Micro AU9560
 * Minor improvements

I do not see anything risky why we should not just rebase and only cherry-pick this particular change.

So I will wait for the customer to verify the fix and then I will proceed with the update in rhel 9.3.

Comment 6 Jakub Jelen 2023-06-08 15:50:46 UTC
The diff with this rebase is is visible in github:

https://github.com/LudovicRousseau/CCID/compare/1.4.36...1.5.2

Important changes:
 * support for new readers and update to existing (most of the no-code changes)
 * code workaround for ALCOR MICRO AU9540
 * code workaround for SAFENET ETOKEN 5100
 * minor code refactoring, cleanup and fixes

Comment 20 errata-xmlrpc 2023-11-07 08:55:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (pcsc-lite-ccid bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:6660