I have a LUKS filesystem on a USB hard drive and I'd like to have the system generate a GUI prompt whenever the device is connected to the computer to provide the decryption password, then mount the enclosed filesystem according to instructions in /etc/fstab. Is there a way to do this? Does there exist a program which will, upon detecting the LUKS filesystem's UUID, prompt for a password, decrypt, then mount the volume in a special place, or do I have to rely on typing out cryptsetup luksOpen /dev/sdXY && mount -a every time I insert my device?
Automatically prompt to decrypt external LUKS filesystem in GNOME session?
gnome;luks