[Skiboot] [PATCH 8/8] libstb: Set TPM platform auth to random password

Mauro S. M. Rodrigues maurosr at linux.vnet.ibm.com
Tue Jun 2 06:34:39 AEST 2020


From: Ryan Grimm <grimm at linux.ibm.com>

Set in core/init.c before trustedboot_exit_boot_services.

Signed-off-by: Ryan Grimm <grimm at linux.ibm.com>
Signed-off-by: Mauro S. M. Rodrigues <maurosr at linux.vnet.ibm.com>
---
 libstb/trustedboot.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libstb/trustedboot.c b/libstb/trustedboot.c
index 9dda18d3a4..1938c16069 100644
--- a/libstb/trustedboot.c
+++ b/libstb/trustedboot.c
@@ -150,6 +150,7 @@ int trustedboot_exit_boot_services(void)
 			failed = true;
 	}
 	tpm_add_status_property();
+	tss_set_platform_auth();
 
 out_free:
 	tpm_cleanup();
-- 
2.26.2



More information about the Skiboot mailing list