Skip to content

com.limdm.diskencryption

Console: Disk encryption recovery.

{"escrow": true, "rotate_after_view": true, "require_all": true, "exclude": ["/boot"],
 "tpm2": {"pcrs": [7], "pin": false, "require": true}}
Field Type Rules
escrow true or false every LUKS volume needs a recovery key stored on the server (check disk.recovery)
rotate_after_view true or false replace a key once someone viewed it in the console
require_all true or false every local volume must be on LUKS, not only /
exclude list of text absolute mount points other than / exempt from require_all
tpm2.pcrs list of number PCRs 0 to 23, each once; default 7
tpm2.pin true or false the TPM also needs a PIN at boot
tpm2.require true or false the check disk.tpm fails while a volume is not bound

LUKS recovery key escrow, rotation, four eyes approval for key views and TPM 2.0 binding: Disk encryption recovery keys. The tpm2 entry binds every LUKS volume to the TPM with systemd-cryptenroll when its recovery key is escrowed; the recovery key stays valid (TPM unlock).

Without require_all the check disk.encryption only looks at /. With it, every local volume must be on LUKS except the mount points in exclude; an entry covers everything below it (/boot also covers /boot/efi). The device page marks excluded volumes. The default library item "Disk encryption on all volumes, /boot excluded" is a ready made start.

Field reference

Generated from the payload schema of the server (GET /api/v1/schemas/{type}), the same reference the console editor shows. Unknown fields are rejected.

com.limdm.diskencryption

Console: Disk encryption recovery. Escrow of LUKS recovery keys with the server.

Field Type Meaning Limits
escrow boolean Escrow recovery keys Every LUKS volume needs a recovery key stored on the server.
rotate_after_view boolean Rotate after view Replace a key once someone viewed it in the console.
require_all boolean Every volume Every local volume must be on LUKS, not only the root file system.
exclude list of string Exempt mount points For example /boot.
tpm2 object TPM Also unlock the volumes with the TPM.
tpm2.pcrs list of integer PCRs PCR indexes the key is sealed to; 7 (Secure Boot state) when empty.
tpm2.pin boolean PIN at boot The user sets it with limdm-agent recovery-key.
tpm2.require boolean Require TPM binding The compliance check fails while a volume is not bound.
Example payload
{
  "escrow": true,
  "rotate_after_view": true,
  "require_all": true,
  "exclude": [
    "/boot"
  ]
}