From 8a32fb4ac3210f04f5b4bfea79b9d0921f29a466 Mon Sep 17 00:00:00 2001 From: Trammell Hudson Date: Sun, 14 Aug 2016 16:00:34 -0400 Subject: [PATCH] warn if there is no totp file --- initrd/init | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/initrd/init b/initrd/init index 24ba5d3c..d7ad9199 100755 --- a/initrd/init +++ b/initrd/init @@ -30,6 +30,11 @@ if [ -r /secret.totp ]; then echo -n "Verify TPM PCR: " unsealtotp /secret.totp echo +else + echo '!!!!!' + echo '!!!!! TPM TOTP secret not found.' + echo '!!!!! This firmware can not be trusted.' + echo '!!!!!' fi