<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>14776</bug_id>
          
          <creation_ts>2022-04-06 10:28:02 +0000</creation_ts>
          <short_desc>[meta-tpm] tpm2-tss-engine recipe: wrong tpm2tss.so path</short_desc>
          <delta_ts>2022-04-06 10:47:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>Other YP Layers</product>
          <component>meta-security</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mykyta Dorokhin">kit-d</reporter>
          <assigned_to name="akuster">akuster808</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>92930</commentid>
    <comment_count>0</comment_count>
    <who name="Mykyta Dorokhin">kit-d</who>
    <bug_when>2022-04-06 10:28:02 +0000</bug_when>
    <thetext>According to https://lists.yoctoproject.org/g/yocto/message/47921:
OpenSSL has changed its naming convention for engines, the library must be named tpm2tss.so for OpenSSL 1.1

The change itself, on the other hand, adds tpm2tss.so to tpm2-tss-engine-dev package only. So on the target system tpm2tss.so will not be installed unless I install *-dev package. I believe this is wrong, dev packages are for development, not for production. Moreover, installing tpm2-tss-engine-dev on the target also pulls in lots of other dev packages (libc6-dev, kernel-headers, etc.) and this adds about +30MB to the target image.

The openssl engine -t -c tpm2tss command also doesn&apos;t work uness tpm2-tss-engine-dev is installed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92931</commentid>
    <comment_count>1</comment_count>
    <who name="Mykyta Dorokhin">kit-d</who>
    <bug_when>2022-04-06 10:46:12 +0000</bug_when>
    <thetext>Closing. The issue is already fixed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>92932</commentid>
    <comment_count>2</comment_count>
    <who name="Mykyta Dorokhin">kit-d</who>
    <bug_when>2022-04-06 10:47:03 +0000</bug_when>
    <thetext>The issue was already fixed</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>