Skip to content

Commit

Permalink
chore: enable random trust CPU
Browse files Browse the repository at this point in the history
Enable `CONFIG_RANDOM_TRUST_CPU`

Even though Talos sets this via kernel cmdline, enabling also in Kernel
config

```bash
❯ talosctl read /proc/cmdline
BOOT_IMAGE=/B/vmlinuz talos.platform=metal talos.config=none console=tty0 console=ttyS0,115200 init_on_alloc=1 slab_nomerge pti=on consoleblank=0 nvme_core.io_timeout=4294967295 random.trust_cpu=on printk.devkmsg=on ima_template=ima-ng ima_appraise=fix ima_hash=sha512 talos.board=jetson_nano sysctl.kernel.kexec_load_disabled=1
```

Ref: https://systemd.io/RANDOM_SEEDS/

Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
frezbo committed Mar 28, 2022
1 parent df31920 commit 3baf4e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion kernel/build/config-amd64
Original file line number Diff line number Diff line change
Expand Up @@ -3079,7 +3079,7 @@ CONFIG_TCG_CRB=y
# CONFIG_TELCLOCK is not set
# CONFIG_XILLYBUS is not set
# CONFIG_XILLYUSB is not set
# CONFIG_RANDOM_TRUST_CPU is not set
CONFIG_RANDOM_TRUST_CPU=y
# CONFIG_RANDOM_TRUST_BOOTLOADER is not set
# end of Character devices

Expand Down
2 changes: 1 addition & 1 deletion kernel/build/config-arm64
Original file line number Diff line number Diff line change
Expand Up @@ -3583,7 +3583,7 @@ CONFIG_TCG_CRB=y
# CONFIG_TCG_TIS_ST33ZP24_SPI is not set
# CONFIG_XILLYBUS is not set
# CONFIG_XILLYUSB is not set
# CONFIG_RANDOM_TRUST_CPU is not set
CONFIG_RANDOM_TRUST_CPU=y
# CONFIG_RANDOM_TRUST_BOOTLOADER is not set
# end of Character devices

Expand Down

0 comments on commit 3baf4e4

Please sign in to comment.