Encryption

Using systemd-cryptenroll

To read keyslots of an existing LUKS device:

systemd-cryptenroll [device]

To enroll a password and recovery key:

systemd-cryptenroll --password [device]
systemd-cryptenroll --recovery-key [device]

To enroll a TPM device with PIN:

systemd-cryptenroll --tpm2-device=auto --tpm2-with-pin=yes [device]

To remove a key:

systemd-cryptenroll --wipe-slot=[slot index] [device]

built by panulat v1.3 - Tue, 24 Sep 2024 21:41:13 GMT