Skip to content

Key Rotation Guide

  1. 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.sh
    sudo bash astros-esp-update.sh
  2. Update to the latest version containing the new keys and reboot the system:

    Terminal window
    updatectl update && reboot
  3. Set Secure Boot to Setup Mode.

  4. Enroll the new keys to firmware.

  5. Re-enroll to the tpm2 chip.