ELSEIF
Your brief EB
204 stories from 108 feeds 356 clusters Refreshed 12 minutes ago next pull 12:06

DEV TOOLS Signal 409

NixOS servers achieve passphrase-less encrypted reboots via kexec with one-time LUKS keyslots

A NixOS solution uses kexec with temporary LUKS keyslots and custom initramdisk images to enable fully automated reboots of encrypted servers without persisting passphrases on disk.

WHY IT MATTERS

Servers with full-disk encryption typically require manual passphrase entry on every reboot, creating operational risk if the boot process stalls. This approach eliminates that dependency while maintaining encryption security, reducing reboot time to roughly two minutes with no human intervention.

Written by elseif from the cluster below · every claim links back to a source

The three things worth knowing

01

kexec allows the running kernel to replace itself without a hardware restart, passing decryption data through volatile RAM rather than persistent storage.

02

Temporary LUKS keyslots with one-time passphrases are created before reboot and deleted immediately after the root filesystem mounts.

03

The one-time passphrase is embedded in a custom initramdisk image rather than passed on the kernel command line to prevent exposure.

THE CLUSTER

Same story, 1 feed.

ORDERED BY FIRST SEEN
bevuta.com via Lobsters Passphrase-less reboots using kexec under NixOS Open ↗