Automatic LUKS unlocking

Thomas Gläßle edited this page Jun 1, 2017 · 1 revision

Starting with udisks version 2.6.4, it is possible to automatically unlock LUKS devices using configured keyfiles.

The keyfile can be configured in the config file, which is usually located in ~/.config/udiskie/config.yml:

device_config:
- id_uuid: ...
  keyfile: /path/to/your/keyfile

You can get the UUID of your device from e.g.:

  • udiskie-info -o '{id_uuid}' /dev/sda1
  • ls -la /dev/disk/by-uuid/,
  • sudo lsblk -f
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.