A TPM2.0 testing tool build upon TPM2.0-TSS
Go to file
Anderson Toshiyuki Sasaki f1630a9c53 Avoid LTO + FORTIFY_SOURCE=3 issue
When compiled with LTO and FORTIFY_SOURCE=3 enabled together,
tpm2_makecredential outputs corrupted data which cannot be used with
tpm2_activatecredential.

This can be avoided by disabling compiler optimization for part of the
code using pragma.

This patch was obtained upstream from:
https://github.com/tpm2-software/tpm2-tools/pull/3219

This fixes the upstream issue:
https://github.com/tpm2-software/tpm2-tools/issues/3210

Resolves: rhbz#2171376

Signed-off-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
2023-04-19 18:39:09 +02:00
.fmf Run selected keylime e2e tests in Fedora CI 2023-01-10 11:02:22 +01:00
.gitignore update .gitignore 2019-03-16 17:04:34 +00:00
ci.fmf ci tests: do not change the tpm hash alg to sha256 2023-02-28 20:55:05 +01:00
sources 5.5 2023-02-16 08:34:41 +00:00
tpm2-tools-fix-fortify.patch Avoid LTO + FORTIFY_SOURCE=3 issue 2023-04-19 18:39:09 +02:00
tpm2-tools.spec Avoid LTO + FORTIFY_SOURCE=3 issue 2023-04-19 18:39:09 +02:00