]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/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)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 29 Jun 2020 20:18:15 +0000 (14:18 -0600)
commit5be206eaac9a68992fc3b06fb5dd5634e323de86
treeb2835186e9649378ce9fb7bfdfa3b2e642ce28fc
parent9ebcfadb0610322ac537dd7aa5d9cbc2b2894c68
Revert "tpm: selftest: cleanup after unseal with wrong auth/policy test"

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>
tools/testing/selftests/tpm2/test_smoke.sh