Skip to content

Commit

Permalink
feat: add warning about faulTPM
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyalOughtness authored Aug 10, 2024
1 parent bfd1b68 commit d48f882
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build/ublue-os-luks/luks-enable-tpm2-autounlock
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ set -eou pipefail

[ "$UID" -eq 0 ] || { echo "This script must be run as root."; exit 1;}

echo "WARNING: Do NOT use this if your CPU is vulnerable to faulTPM!"
echo "All AMD Zen2 and Zen3 Processors are known to be affected!"
echo "All AMD Zen1 processors are also likely affected, with Zen4 unknown!"
echo "If you have an AMD CPU, you likely shouldn't use this!"
echo "----------------------------------------------------------------------------"
echo "This script uses systemd-cryptenroll to enable TPM2 auto-unlock."
echo "You can review systemd-cryptenroll's manpage for more information."
echo "This script will modify your system."
Expand Down

0 comments on commit d48f882

Please sign in to comment.