Skip to content

Commit 8a32fb4

Browse files
committed
warn if there is no totp file
1 parent 0646b0b commit 8a32fb4

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

initrd/init

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ if [ -r /secret.totp ]; then
3030
echo -n "Verify TPM PCR: "
3131
unsealtotp /secret.totp
3232
echo
33+
else
34+
echo '!!!!!'
35+
echo '!!!!! TPM TOTP secret not found.'
36+
echo '!!!!! This firmware can not be trusted.'
37+
echo '!!!!!'
3338
fi
3439

3540

0 commit comments

Comments
 (0)