warn if there is no totp file

This commit is contained in:
Trammell Hudson 2016-08-14 16:00:34 -04:00
parent 0646b0bd41
commit 8a32fb4ac3
Failed to extract signature

View File

@ -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