Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-45736

swtpm: Windows reports TPM error due to missing SHA1 on RHEL 9 hosts

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • rhel-9.5
    • rhel-9.2.0.z
    • swtpm
    • None
    • None
    • None
    • ZStream
    • Customer Escalated
    • rhel-sst-virtualization
    • ssg_virtualization
    • 8
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Approved Blocker
    • All
    • None

      What were you trying to do that didn't work?

      Start Windows 11 with no TPM error

      How reproducible:

      Always with swtpm 0.8.0, never with swtpm 0.7.3

      See below. Happens with RHEL9.5 (and centos 9 stream), not with RHEL 8.6

      Steps to reproduce

      1. Create a Windows 11 VM with TPM (tpm-tis or tpm-crb, doesn't matter)
      2. Open `tpm.msc` or any TPM tool (like tpmtool), everything should look fine
      3. Open Event Viewer, go to Windows then System

      Expected results

      No errors

      Actual results

      TPM error 27: initialization failed, TPM might be in failure mode

              rhn-engineering-berrange Daniel Berrangé
              jelejosne Jed Lejosne
              virt-maint virt-maint
              Qinghua Cheng Qinghua Cheng
              Votes:
              0 Vote for this issue
              Watchers:
              28 Start watching this issue

                Created:
                Updated:
                Resolved: