Bug 2209457 - pcsc-lite-ccid 1.5.2-1 rebase for possible high speed connection issue with Alcor Micro Corp. AU9540 Smartcard Reader
Summary: pcsc-lite-ccid 1.5.2-1 rebase for possible high speed connection issue with A...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: pcsc-lite-ccid
Version: 9.3
Hardware: All
OS: Linux
medium
high
Target Milestone: rc
: ---
Assignee: Jakub Jelen
QA Contact: Marek Havrila
URL:
Whiteboard:
Depends On:
Blocks: 2213827
TreeView+ depends on / blocked
 
Reported: 2023-05-24 01:29 UTC by Marc Sauton
Modified: 2023-07-28 11:12 UTC (History)
3 users (show)

Fixed In Version: pcsc-lite-ccid-1.5.2-1.el9
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
Rebase package(s) to version: 1.5.2 Highlights, important fixes, or notable enhancements: * Support for new readers * This fix for Alcor Micro AU9560 * Minor bugfixes and improvements
Clone Of:
: 2213827 (view as bug list)
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CRYPTO-10725 0 None None None 2023-05-24 15:52:09 UTC
Red Hat Issue Tracker RHELPLAN-157980 0 None None None 2023-05-24 01:30:47 UTC

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


Note You need to log in before you can comment on or make changes to this bug.