UsbLock is a service that automatically mounts encrypted storage devices securely and conveniently.
usblock [DEVICE] [DEVICE ID]usblock /dev/sdb /dev/disk/by-id/usb-SanDisk_Cruzer_Blade_4C531001411123119193-0:0- 💡 Always unmount the dm-crypt mount point before removing the USB physically.
⚠️ Only one device can be configured at a time.
To build UsbLock before install cryptsetup and simply run:
make