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
if! whiptail_warning --title 'UNSIGNED ISO WARNING' --yesno \
33
+
"WARNING: UNSIGNED ISO DETECTED\n\nThe selected ISO file:\n$MOUNTED_ISO_PATH\n\nDoes not have a detached signature (.sig or .asc file).\n\n\nThis means the integrity and authenticity of the ISO cannot be verified.\nBooting unsigned ISOs is potentially unsafe.\n\nDo you want to proceed with booting this unsigned ISO?" \
34
+
0 80;then
35
+
die "Unsigned ISO boot cancelled by user"
36
+
fi
37
+
else
38
+
echo"WARNING: The selected ISO file does not have a detached signature"
39
+
echo"This means the integrity and authenticity cannot be verified"
40
+
echo"Booting unsigned ISOs is potentially unsafe"
41
+
read -n1 -p "Do you want to proceed anyway? (y/N): " response
42
+
echo
43
+
if [ "$response"!="y" ] && [ "$response"!="Y" ];then
44
+
die "Unsigned ISO boot cancelled by user"
45
+
fi
46
+
fi
47
+
echo'+++ Proceeding with unsigned ISO boot'
48
+
fi
24
49
25
50
echo'+++ Mounting ISO and booting'
26
51
mount -t iso9660 -o loop $MOUNTED_ISO_PATH /boot \
0 commit comments