]> git.itanic.dy.fi Git - linux-stable/commit
Revert "tpm: selftest: cleanup after unseal with wrong auth/policy test"
authorJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Mon, 22 Jun 2020 21:20:20 +0000 (00:20 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jul 2020 07:39:31 +0000 (09:39 +0200)
commitf0773c3f2e96bb7a49e020009857c900f1580757
tree262d4be327792174a5682f716ca031f872bcbb74
parent364537ca00165a84f450a2fc8dc9abd4f8ee05b9
Revert "tpm: selftest: cleanup after unseal with wrong auth/policy test"

commit 5be206eaac9a68992fc3b06fb5dd5634e323de86 upstream.

The reverted commit illegitly uses tpm2-tools. External dependencies are
absolutely forbidden from these tests. There is also the problem that
clearing is not necessarily wanted behavior if the test/target computer is
not used only solely for testing.

Fixes: a9920d3bad40 ("tpm: selftest: cleanup after unseal with wrong auth/policy test")
Cc: Tadeusz Struk <tadeusz.struk@intel.com>
Cc: stable@vger.kernel.org
Cc: linux-integrity@vger.kernel.org
Cc: linux-kselftest@vger.kernel.org
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/tpm2/test_smoke.sh