Bug 1958054

Summary: libtpms: Port to OpenSSL 3.0
Product: Red Hat Enterprise Linux 9 Reporter: Sahana Prasad <sahana>
Component: libtpmsAssignee: Marc-Andre Lureau <marcandre.lureau>
Status: CLOSED CURRENTRELEASE QA Contact: Qinghua Cheng <qcheng>
Severity: unspecified Docs Contact:
Priority: high    
Version: CentOS StreamCC: bstinson, coli, fweimer, jwboyer, knoel, marcandre.lureau, pm-rhel, qcheng, yanqzhan, yfu
Target Milestone: betaKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libtpms-0.8.2-0.20210301git729fc6a4ca.el9.3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-12-07 21:35:16 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: 1958021    

Comment 4 Marc-Andre Lureau 2021-05-18 09:13:20 UTC
Adding -Wno-error=deprecations:
https://gitlab.com/redhat/centos-stream/rpms/libtpms/-/merge_requests/1

To replace deprecated functions upstream, I opened:
https://github.com/stefanberger/libtpms/issues/215

Comment 6 Marc-Andre Lureau 2021-05-25 20:42:55 UTC
please qa ack, thanks

Comment 7 Yanqiu Zhang 2021-05-26 01:39:04 UTC
qcheng@(regular qa_contact of libtpms) please have a look. Thanks.

Comment 14 Marc-Andre Lureau 2021-05-31 06:57:12 UTC
Build done: https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=281938

Moving to on_qa?

Comment 15 Qinghua Cheng 2021-05-31 07:34:19 UTC
Hi Marc-Andre,

QE should verify this bz with rhel 9 build or a CentOS build ?

Thanks,
Qinghua

Comment 16 Marc-Andre Lureau 2021-05-31 07:38:06 UTC
(In reply to Qinghua Cheng from comment #15)
> Hi Marc-Andre,
> 
> QE should verify this bz with rhel 9 build or a CentOS build ?

What's the difference? both?

fwiw, I also built it in the c9s-build-ssl3 target: libtpms-0.8.2-0.20210301git729fc6a4ca.ssl3.3

Comment 17 Qinghua Cheng 2021-05-31 08:02:37 UTC
Ok, QE will use rhel 9 build to verify this bz. Will update bug status when test is done.

Comment 18 Yanan Fu 2021-06-02 03:28:34 UTC
Set Verified:Tested,SanityOnly as gating/tier1 test pass.

Comment 19 Qinghua Cheng 2021-06-07 01:42:51 UTC
Verified rhel 9

kernel: 5.13.0-0.rc3.25.el9.x86_64
qemu-kvm: qemu-kvm-6.0.0-3.el9.x86_64
libtpms: libtpms-0.8.2-0.20210301git729fc6a4ca.el9.3.x86_64
swtpm: swtpm-0.5.2-4.20201226gite59c0c1.el9.x86_64
edk2: edk2-ovmf-20200602gitca407c7246bf-2.el9.noarch

Guest: Win10 (21H1) and Win2019

No new bug found, test PASS.