Skip to content

fix(core): fix import swtpm binaries and missing libs#953

Merged
universal-itengineer merged 3 commits into
mainfrom
fix/core/add-missing-libs-for-swtpm
Apr 22, 2025
Merged

fix(core): fix import swtpm binaries and missing libs#953
universal-itengineer merged 3 commits into
mainfrom
fix/core/add-missing-libs-for-swtpm

Conversation

@universal-itengineer
Copy link
Copy Markdown
Member

@universal-itengineer universal-itengineer commented Apr 21, 2025

Description

Fix import swtpm binaries (PR #922 )

Why do we need it, and what problem does it solve?

TPM2 should work normally

What is the expected result?

/usr/bin/swtpm_setup --print-capabilities should give the right result

# Output
{ "type": "swtpm_setup", "features": [ "tpm-1.2", "tpm-2.0", "cmdarg-keyfile-fd", "cmdarg-pwdfile-fd", "tpm12-not-need-root", "cmdarg-write-ek-cert-files", "cmdarg-create-config-files", "cmdarg-reconfigure-pcr-banks", "tpm2-rsa-keysize-2048", "tpm2-rsa-keysize-3072", "cmdarg-profile", "cmdarg-profile-remove-disabled" ], "profiles": [ "default-v1", "null", "custom" ], "version": "0.10.0" }

Checklist

  • The code is covered by unit tests.
  • e2e tests passed.
  • Documentation updated according to the changes.
  • Changes were tested in the Kubernetes cluster manually.

Changelog entries

section: core 
type: fix
summary: fix import swtpm binaries and missing libs for swtpm
impact_level: low

@universal-itengineer universal-itengineer force-pushed the fix/core/add-missing-libs-for-swtpm branch from a972508 to d1cac7d Compare April 21, 2025 09:38
@universal-itengineer universal-itengineer added this to the v0.17.0 milestone Apr 21, 2025
@universal-itengineer universal-itengineer force-pushed the fix/core/add-missing-libs-for-swtpm branch 2 times, most recently from a6f2099 to d80c20d Compare April 21, 2025 16:54
@universal-itengineer universal-itengineer marked this pull request as ready for review April 21, 2025 17:02
@universal-itengineer universal-itengineer force-pushed the fix/core/add-missing-libs-for-swtpm branch from d80c20d to b307af7 Compare April 21, 2025 17:47
Comment thread images/virt-launcher/werf.inc.yaml
Comment thread images/virt-launcher/werf.inc.yaml Outdated
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
@universal-itengineer universal-itengineer force-pushed the fix/core/add-missing-libs-for-swtpm branch from b307af7 to 905dbe7 Compare April 22, 2025 07:28
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
@universal-itengineer universal-itengineer changed the title fix(core): add missing libs for swtpm fix(core): fix import swtpm binaries and missing libs for swtpm Apr 22, 2025
@universal-itengineer universal-itengineer changed the title fix(core): fix import swtpm binaries and missing libs for swtpm fix(core): fix import swtpm binaries and missing libs Apr 22, 2025
@universal-itengineer universal-itengineer merged commit b1d2c1e into main Apr 22, 2025
28 of 29 checks passed
@universal-itengineer universal-itengineer deleted the fix/core/add-missing-libs-for-swtpm branch April 22, 2025 07:55
yachmenevas pushed a commit that referenced this pull request Oct 15, 2025
Fix import swtpm binaries (PR #922 )

/usr/bin/swtpm_setup --print-capabilities should give the right result

# Output
{ "type": "swtpm_setup", "features": [ "tpm-1.2", "tpm-2.0", "cmdarg-keyfile-fd", "cmdarg-pwdfile-fd", "tpm12-not-need-root", "cmdarg-write-ek-cert-files", "cmdarg-create-config-files", "cmdarg-reconfigure-pcr-banks", "tpm2-rsa-keysize-2048", "tpm2-rsa-keysize-3072", "cmdarg-profile", "cmdarg-profile-remove-disabled" ], "profiles": [ "default-v1", "null", "custom" ], "version": "0.10.0" }
---------

Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants