Skip to content

Feature: support encrypted (LUKS) root partitions in OS templates #6

Open

Description

@mgbilby

Summary

Disk encryption is the most commonly requested missing capability for
the installer: the CLI has no way to express an encrypted (LUKS) root,
and users who want at-rest encryption currently have only post-install
migration as an option.

Details

Constraints that shape the design:

  • The installer runs on macOS, so it cannot run cryptsetup at install
    time; the workable split is a build-side encrypted root image plus
    installer-side support for LUKS-typed partitions.
  • The Apple Silicon boot chain keeps the APFS stub, ESP, and /boot
    unencrypted regardless (same layout Fedora 44 ships on ordinary
    hardware).

Prototype implementation and the full rationale are in PR #5, which
adds "type": "luks" support to OS templates (translated to the Linux
LUKS type GUID, with fail-closed partition selection) plus a reference
runbook for post-install encryption on existing systems. Happy to
adjust the approach based on maintainer feedback.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions