You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
--menu "ERROR: $CONFIG_BRAND_NAME couldn't validate the HOTP code.\n\nIf you just reflashed your BIOS, you should generate a new TOTP/HOTP secret.\n\nIf you have not just reflashed your BIOS, THIS COULD INDICATE TAMPERING!\n\nHow would you like to proceed?" 0 80 4 \
286
278
'g'' Generate new TOTP/HOTP secret' \
@@ -553,21 +545,30 @@ reset_tpm() {
553
545
mount -o rw,remount /boot
554
546
#TODO: this is really problematic, we should really remove the primary handle hash
555
547
556
-
INFO "Removing rollback and primary handle hash under /boot"
548
+
INFO "Removing rollback and primary handle hashes under /boot"
549
+
550
+
DEBUG "Removing /boot/kexec_rollback.txt and /boot/kexec_primhdl_hash.txt"
# As a countermeasure for existing primary handle hash, we will now force sign /boot without it
572
573
if (whiptail --title 'TPM Reset Successfully' \
573
574
--yesno "Would you like to update the checksums and sign all of the files in /boot?\n\nYou will need your GPG key to continue and this will modify your disk.\n\nOtherwise the system will reboot immediately." 0 80);then
--yesno "There is no default boot option configured yet.\nWould you like to load a menu of boot options?\nOtherwise you will return to the main menu." 0 80);then
--yesno "There is no default boot option configured yet.\nWould you like to load a menu of boot options?\nOtherwise you will return to the main menu." 0 80) then
0 commit comments