9.13. Configuring automated unlocking of a LUKS-encrypted removable storage device
You can set up an automated unlocking process of a LUKS-encrypted USB storage device.
You can use an analogous procedure when using a TPM 2.0 policy instead of a Tang server.
Procedure
Install the
clevis-udisks2package:# dnf install clevis-udisks2Restart the system, and then perform the binding step using the
clevis luks bindcommand as described in Configuring NBDE clients for automated unlocking of LUKS-encrypted volumes, for example:# clevis luks bind -d /dev/sdb1 tang '{"url":"http://tang.srv"}'
Verification
- The LUKS-encrypted removable device can be now unlocked automatically in your GNOME desktop session.
The device bound to a Clevis policy can be also unlocked by the
clevis luks unlockcommand, for example:# clevis luks unlock -d /dev/sdb1