1

If a user connects an usb-disk Nautilus shows this disk and allows the user to mount the disk by just clicking on it.

I am looking to achieve the same behavior with encrypted disks. Each disk is encrypted with the same key and the keyfile is distributed to all computers.

I have written an udev rule which does the cryptsetup luksOpen for the disk. This works fine.

But unfortunately Nautilus still detects the encrypted disk and asks the user for a password. And it does not detect the mapped and decrypted device.

How can I inform Nautilus about the device after my udev-rule opened the disk? How can I suppress the password dialog for the encrypted disk?

valpo
  • 71
  • 3

0 Answers0