Skip to content

LMDE 7: systemd-cryptenroll missing blocks TPM2+PIN LUKS enrollment #177

@FabioLeitao

Description

@FabioLeitao

Summary

On an installed LMDE 7 system, the systemd-cryptenroll utility is not available (command not found / missing binary). This blocks TPM2-based enrollment for LUKS (including the common TPM2 + PIN pattern), which is important for users who need full-disk encryption with pre-boot authentication (enterprise / high-assurance / “evil maid” threat model).

As a workaround, clevis+tpm2 can provide TPM-only unlock, but it does not cover the same TPM2+PIN UX/security posture out of the box.

Environment

  • Distro: LMDE 7 “Gigi”
  • Goal: LUKS2 full-disk encryption with TPM2-assisted unlock (preferably TPM2 + PIN)
  • Observed: systemd is installed and running, but systemd-cryptenroll is missing from typical paths.

Reproduction (minimal)

On the installed LMDE system:

command -v systemd-cryptenroll || true
ls -la /usr/bin/systemd-cryptenroll /usr/lib/systemd/systemd-cryptenroll 2>/dev/null || true
dpkg -L systemd | grep -i cryptenroll || true
apt-cache search --names-only cryptenroll || true

Expected

  • systemd-cryptenroll is available as part of the LMDE systemd tooling (as it is on Debian-family distributions), enabling e.g.:
systemd-cryptenroll --tpm2-device=auto --tpm2-with-pin=yes ...

Actual

  • systemd-cryptenroll is not found / not shipped, forcing users into alternative tooling.

Why this matters (brief)

  • TPM2+PIN provides a better balance between convenience and protection against offline / “evil maid” style attacks than TPM-only unlock.
  • Lack of the tool nudges users toward weaker operational choices (shorter passphrases, TPM-only, or manual passphrase entry every boot).

Related

  • Manual partitioning does not show /dev/mapper (dm-crypt) (separate issue): https://github.com/linuxmint/live-installer/issues/178

Suggested direction

  • Ship systemd-cryptenroll in LMDE 7 (or document which package provides it in LMDE).
  • If intentionally excluded, document the recommended supported approach for TPM2+PIN with LUKS on LMDE.

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