Bug 14776 - [meta-tpm] tpm2-tss-engine recipe: wrong tpm2tss.so path
Summary: [meta-tpm] tpm2-tss-engine recipe: wrong tpm2tss.so path
Status: RESOLVED INVALID
Alias: None
Product: Other YP Layers
Classification: Build System, Metadata & Runtime
Component: meta-security (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: akuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2022-04-06 10:28 UTC by Mykyta Dorokhin
Modified: 2022-04-06 10:47 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mykyta Dorokhin 2022-04-06 10:28:02 UTC
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't work uness tpm2-tss-engine-dev is installed.
Comment 1 Mykyta Dorokhin 2022-04-06 10:46:12 UTC
Closing. The issue is already fixed.
Comment 2 Mykyta Dorokhin 2022-04-06 10:47:03 UTC
The issue was already fixed