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

tpm2-tools on s390x endianness issue

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • rhel-10.0.beta
    • tpm2-tools
    • None
    • None
    • Important
    • rhel-kernel-security
    • ssg_core_kernel
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • s390x
    • None

      Running tests for tpm2-openssl causes the following failure:

      Starting /root/rpmbuild/BUILD/tpm2-openssl-1.2.0/test/ec_createak_x509_index.sh
      loaded-key:
      name: 000b1953bdce4fed9be4a9addcf7e7a2263e8fd6dc92f4aee59d946795027d6de670
      qualified name: 000b9dffde2a1b2935c388e440d11139887a81075c7308e57e53b7daae7b5535a31e
      WARNING:esys:src/tss2-esys/api/Esys_NV_DefineSpace.c:345:Esys_NV_DefineSpace_Finish() Received TPM Error
      ERROR:esys:src/tss2-esys/api/Esys_NV_DefineSpace.c:121:Esys_NV_DefineSpace() Esys Finish ErrorCode (0x0000014c)
      ERROR: Failed to define NV area at index 0x1000000
      ERROR: Esys_NV_DefineSpace(0x14C) - tpm:error(2.0): NV Index or persistent object already defined
      ERROR: Failed to create NV index 0x1000000.
      ERROR: Unable to run tpm2_nvdefine
      ERROR: object string is empty
      ERROR: Invalid handle or authorization.
      ERROR: Unable to run tpm2_nvwrite
      FAIL test/ec_createak_x509_index.sh (exit status: 1)

      I discussed it with shoracek@redhat.com and he considers it to be a bug in tpm2-tools, presumably an endianness issue

              shoracek@redhat.com Štěpán Horáček
              dbelyavs@redhat.com Dmitry Belyavskiy
              Štěpán Horáček Štěpán Horáček
              Vilem Marsik Vilem Marsik
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: