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 1953480 - opensc: Port to OpenSSL3.0
Summary: opensc: Port to OpenSSL3.0
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: opensc
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: beta
: ---
Assignee: Jakub Jelen
QA Contact: Ivan Nikolchev
URL:
Whiteboard:
Depends On:
Blocks: 1958021
TreeView+ depends on / blocked
 
Reported: 2021-04-26 08:36 UTC by Sahana Prasad
Modified: 2021-12-07 22:00 UTC (History)
5 users (show)

Fixed In Version: opensc-0.21.0-6.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:57:54 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CRYPTO-5557 0 None None None 2021-12-02 12:06:32 UTC

Description Sahana Prasad 2021-04-26 08:36:31 UTC
This bug is used to track the readiness of opensc with OpenSSL 3.0

currently the build fails with some porting issues:
https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=218236

Kindly fix them to ensure this package builds with OpenSSL 3.0, as we will introduce OpenSSL 3.0 in RHEL-9 very soon.

OpenSSL 3.0 package to test with:
http://download.eng.bos.redhat.com/rhel-9/nightly/RHEL-9-Beta/RHEL-9.0.0-20210414.0/compose/BaseOS/x86_64/os/Packages/openssl-3.0.0-0.alpha13.1.el9.x86_64.rpm

Note that the next build with alpha15 will be available soon.

OpenSSL compat package:

http://download.eng.bos.redhat.com/rhel-9/nightly/RHEL-9-Beta/RHEL-9.0.0-20210414.0/compose/BaseOS/x86_64/os/Packages/compat-openssl11-1.1.1k-1.el9.x86_64.rpm

If you ave any further queries, kindly mail

rhel-crypto 

Thank you

Comment 3 Jakub Jelen 2021-05-24 09:25:07 UTC
At this moment, I did not manage to migrate all the stuff to 3.0 API so for now, we just disable deprecated warnings (-Wno-deprecated-declarations), that escalate to errors (-Werror is in place) to be able to build opensc with new openssl, fixing the other issues that will arise (const and  other incompatibilities). In longer-term (hopefully before beta), we will make sure we can build opensc with non-deprecated API. Some drafts and WIP PRs are here:

https://github.com/OpenSC/OpenSC/pull/2337

https://github.com/OpenSC/OpenSC/pull/2343


AC: Verify the package builds with new OpenSSL 3.0

Comment 4 Jakub Jelen 2021-05-24 09:38:35 UTC
The CentOS stream MR: https://gitlab.com/redhat/centos-stream/rpms/opensc/-/merge_requests/1

Comment 9 Jakub Jelen 2021-07-15 09:16:16 UTC
FYI, I added one more patch for openssl 3.0 to the package today to unbreak openssl-pkcs11 tests (bug #1959832#c12):

https://gitlab.com/redhat/centos-stream/rpms/opensc/-/merge_requests/3
https://github.com/OpenSC/OpenSC/pull/2367

Now, all the packages build against openssl 3.0 in koji/brew so I do not think we need re-verification.

Comment 10 Petr Pisar 2021-07-27 13:03:14 UTC
A nightly compose RHEL-9.0.0-20210726.1 still does not contain this or a newer build. It is stuck at opensc-0.21.0-5.el9 which links to compat-openssl11.


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