Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1970562

Summary: Increase global reader array size to 48 to address issue with RHCS secure channel creation (pcsc-lite-ccid)
Product: Red Hat Enterprise Linux 8 Reporter: Jack Magne <jmagne>
Component: pcsc-lite-ccidAssignee: Bob Relyea <rrelyea>
Status: CLOSED CURRENTRELEASE QA Contact: PKI QE <bugzilla-pkiqe>
Severity: high Docs Contact:
Priority: high    
Version: 8.5CC: aakkiang, jjelen, mharmsen, rrelyea, sveerank
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: 8.5Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pcsc-lite-ccid-1.4.29-5.1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1972569 1975424 (view as bug list) Environment:
Last Closed: 2021-09-27 16:28:00 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: 1972569, 1975424    

Description Jack Magne 2021-06-10 17:26:55 UTC
We have been chasing down an odd problem with the RHCS Token Management System smart card client. There has been unexplained failures to complete a secure channel with certain scp03 and scp01 tokens. This has been manifested as a failed External Authentication step.

After investigation it turned out that pcsc-lite and pcsc-lite-ccid latest versions on el 8.4 was allowing the problem to happen. When the packages were downgraded to an earlier version, the problem went away.

Further investigation revealed that the only change between the two was making the global reader array structure 32 entries instead of 16. Also it became apparent that any value other than 32 made the problem go away.

Thus we propose to make this array size 48.
This change will be of little consequence to pcsc-lite itself and help up with our RHCS token management issue as well.





Additional info:

We will also have a similar bug for pcsc-lite, since this constant is used in a global array in that component as well.

Comment 1 Jack Magne 2021-06-10 17:28:27 UTC
Related pcsc-lite bug: https://bugzilla.redhat.com/show_bug.cgi?id=1970555

Comment 4 Jakub Jelen 2021-06-18 07:49:53 UTC
Bob, please make sure to clone this also to RHEL9 (or should I do that?) and Fedora. We do not want to spend another months and break another cards in future.