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 1958033 - swtpm: Port to OpenSSL 3.0
Summary: swtpm: Port to OpenSSL 3.0
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: swtpm
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: beta
: ---
Assignee: Marc-Andre Lureau
QA Contact: Yanqiu Zhang
URL:
Whiteboard:
Depends On:
Blocks: 1958021
TreeView+ depends on / blocked
 
Reported: 2021-05-07 04:57 UTC by Sahana Prasad
Modified: 2022-01-07 13:36 UTC (History)
9 users (show)

Fixed In Version: swtpm-0.5.2-7.20201226gite59c0c1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-07 13:36:39 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)

Comment 5 Marc-Andre Lureau 2021-05-18 15:12:34 UTC
RPM build change to ignore deprecation warnings:
https://gitlab.com/redhat/centos-stream/rpms/swtpm/-/merge_requests/2

(Upstream is working on fixing the deprecation warnings)

Comment 7 Marc-Andre Lureau 2021-05-25 20:43:12 UTC
please qa ack, thanks

Comment 17 Marc-Andre Lureau 2021-06-04 11:27:33 UTC
build done:
https://kojihub.stream.rdu2.redhat.com/koji/taskinfo?taskID=288582

moving to QA

Comment 19 Yanqiu Zhang 2021-06-07 07:08:27 UTC
The kojihub.stream server is offline. Moving ITM to 15.
And hoping put pkgs also on brew if possible.
Thanks.

Comment 20 Yanqiu Zhang 2021-06-07 13:34:52 UTC
Verify on rhel9 with:
swtpm-0.5.2-5.20201226gite59c0c1.ssl3.x86_64
openssl-3.0.0-0.alpha16.3.ssl3.x86_64
libtpms-0.8.2-0.20210301git729fc6a4ca.el9.3.x86_64
libvirt-7.3.0-1.el9.x86_64
qemu-kvm-6.0.0-3.el9.x86_64

Steps: Guest vtpm basic testing
# virsh dumpxml avocado-vt-vm1 |grep /tpm -B2
    <tpm model='tpm-crb'>
      <backend type='emulator' version='2.0'/>
    </tpm>
# virsh start avocado-vt-vm1 
Domain 'avocado-vt-vm1' started

# ps aux|grep swtpm
tss         1807  0.1  0.0  11664  4060 ?        Ss   09:06   0:00 /usr/bin/swtpm socket --daemon --ctrl type=unixio,path=/run/libvirt/qemu/swtpm/1-avocado-vt-vm1-swtpm.sock,mode=0600 --tpmstate dir=/var/lib/libvirt/swtpm/2e730b90-eb59-44bd-a728-c4c18bd97e45/tpm2,mode=0600 --log file=/var/log/swtpm/libvirt/qemu/avocado-vt-vm1-swtpm.log --tpm2 --pid file=/run/libvirt/qemu/swtpm/1-avocado-vt-vm1-swtpm.pid
qemu        1814 46.1  0.7 3338096 123136 ?      Sl   09:06   0:03 /usr/libexec/qemu-kvm -name guest=avocado-vt-vm1,
...-tpmdev emulator,id=tpm-tpm0,chardev=chrtpm -chardev socket,id=chrtpm,path=/run/libvirt/qemu/swtpm/1-avocado-vt-vm1-swtpm.sock -device tpm-crb,tpmdev=tpm-tpm0,id=tpm0 
# virsh console avocado-vt-vm1 
Connected to domain 'avocado-vt-vm1'
Escape character is ^] (Ctrl + ])

Red Hat Enterprise Linux 8.4 (Ootpa)
Kernel 4.18.0-305.el8.x86_64 on an x86_64

localhost login: root
Password: 
Last login: Mon Jun  7 20:59:03 on ttyS0
[root@localhost ~]# ls /dev/|grep tpm
tpm0
tpmrm0
[root@localhost ~]# tpm2_getrandom --hex 16
646f3e0cf75f59c20f3231f7371ac27c[root@localhost ~]#

Comment 21 John Ferlan 2022-01-07 13:36:39 UTC
Bulk update - closing 9-Alpha and 9-Beta bugs that were in VERIFIED


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