mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
warn if there is no totp file
This commit is contained in:
parent
0646b0bd41
commit
8a32fb4ac3
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user