From: Petr Vorel <pvorel@suse.cz> To: ltp@lists.linux.it Cc: Petr Vorel <pvorel@suse.cz>, Lakshmi Ramasubramanian <nramas@linux.microsoft.com>, Mimi Zohar <zohar@linux.vnet.ibm.com>, Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>, linux-integrity@vger.kernel.org Subject: [PATCH 0/4] TPM 2.0 fixes in IMA tests Date: Fri, 25 Sep 2020 19:44:35 +0200 [thread overview] Message-ID: <20200925174439.9534-1-pvorel@suse.cz> (raw) Hi, finally managed to fix most of the problems with TPM 2.0 and non-sha1 algorithms supported by 6f1a1d103b48 ima: ("Switch to ima_hash_algo for boot aggregate") from v5.8-rc1. I still have problem with boot aggregate (test1) which fails with TPM 2.0 on kernel < v5.8-rc1. Any idea what's wrong? Otherwise I'm quite confident with changes, I'd prefer to get it merge to this release. But that'd require to be reviewed and tested ASAP (ideally during Monday). Kind regards, Petr Petr Vorel (4): IMA: Move get_algorithm_digest(), set_digest_index() to ima_setup.sh IMA: Rewrite ima_boot_aggregate.c to new API ima_tpm.sh: Fix calculating boot aggregate ima_tpm.sh: Fix calculating PCR aggregate .../integrity/ima/src/ima_boot_aggregate.c | 110 ++++---- .../integrity/ima/tests/ima_measurements.sh | 62 +---- .../security/integrity/ima/tests/ima_setup.sh | 70 ++++++ .../security/integrity/ima/tests/ima_tpm.sh | 238 +++++++++++++----- 4 files changed, 311 insertions(+), 169 deletions(-) -- 2.28.0
WARNING: multiple messages have this Message-ID (diff)
From: Petr Vorel <pvorel@suse.cz> To: ltp@lists.linux.it Subject: [LTP] [PATCH 0/4] TPM 2.0 fixes in IMA tests Date: Fri, 25 Sep 2020 19:44:35 +0200 [thread overview] Message-ID: <20200925174439.9534-1-pvorel@suse.cz> (raw) Hi, finally managed to fix most of the problems with TPM 2.0 and non-sha1 algorithms supported by 6f1a1d103b48 ima: ("Switch to ima_hash_algo for boot aggregate") from v5.8-rc1. I still have problem with boot aggregate (test1) which fails with TPM 2.0 on kernel < v5.8-rc1. Any idea what's wrong? Otherwise I'm quite confident with changes, I'd prefer to get it merge to this release. But that'd require to be reviewed and tested ASAP (ideally during Monday). Kind regards, Petr Petr Vorel (4): IMA: Move get_algorithm_digest(), set_digest_index() to ima_setup.sh IMA: Rewrite ima_boot_aggregate.c to new API ima_tpm.sh: Fix calculating boot aggregate ima_tpm.sh: Fix calculating PCR aggregate .../integrity/ima/src/ima_boot_aggregate.c | 110 ++++---- .../integrity/ima/tests/ima_measurements.sh | 62 +---- .../security/integrity/ima/tests/ima_setup.sh | 70 ++++++ .../security/integrity/ima/tests/ima_tpm.sh | 238 +++++++++++++----- 4 files changed, 311 insertions(+), 169 deletions(-) -- 2.28.0
next reply other threads:[~2020-09-25 17:44 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-09-25 17:44 Petr Vorel [this message] 2020-09-25 17:44 ` [LTP] [PATCH 0/4] TPM 2.0 fixes in IMA tests Petr Vorel 2020-09-25 17:44 ` [PATCH 1/4] IMA: Move get_algorithm_digest(), set_digest_index() to ima_setup.sh Petr Vorel 2020-09-25 17:44 ` [LTP] " Petr Vorel 2020-09-25 17:44 ` [PATCH 2/4] IMA: Rewrite ima_boot_aggregate.c to new API Petr Vorel 2020-09-25 17:44 ` [LTP] " Petr Vorel 2020-09-25 17:44 ` [PATCH 3/4] ima_tpm.sh: Fix calculating boot aggregate Petr Vorel 2020-09-25 17:44 ` [LTP] " Petr Vorel 2020-09-25 18:30 ` Petr Vorel 2020-09-25 18:30 ` [LTP] " Petr Vorel 2020-09-25 17:44 ` [PATCH 4/4] ima_tpm.sh: Fix calculating PCR aggregate Petr Vorel 2020-09-25 17:44 ` [LTP] " Petr Vorel
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20200925174439.9534-1-pvorel@suse.cz \ --to=pvorel@suse.cz \ --cc=jarkko.sakkinen@linux.intel.com \ --cc=linux-integrity@vger.kernel.org \ --cc=ltp@lists.linux.it \ --cc=nramas@linux.microsoft.com \ --cc=zohar@linux.vnet.ibm.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.