Key Rotation Guide
-
Replace the ESP with the signed upstream files:
Terminal window curl -fsSLO https://code.astros-linux.org/AstrOS/AstrOS-definitions/raw/branch/main/astros-esp-update.sh# Recommended: Take a close look at the script. Blindly running scripts is dangerous.less astros-esp-update.shsudo bash astros-esp-update.sh -
Update to the latest version containing the new keys and reboot the system:
Terminal window updatectl update && reboot -
Set Secure Boot to Setup Mode.
-
Enroll the new keys to firmware.
-
Re-enroll to the tpm2 chip.