Iteration 2: Associate .hc/.tc extension with VeraCrypt
Files with the extension .hc/.tc should be associated with an application that can unlock VeraCrypt file containers. Fortunately, there is already the gnome-disk-image-mounter application as part of gnome-disk-utility, which simply associates a loop device with the specified file. This triggers the GVfs volume monitor to automatically prompt the user to unlock the volume (once we finished #15044 (closed)). So all we should have to do is associate the .hc/.tc extension with gnome-disk-image-mounter.
Update: “we should change the association to VeraCrypt Mounter instead of gnome-disk-image-mounter (and extend VeraCrypt Mounter to handle being called with file paths as argument), because without auto-mounting it only attaches the file to a loop device, but doesn’t open an unlock dialog.” (#14481 (comment 40543))
Feature Branch: segfault:feature/14481-TCRYPT-support-beta
Parent Task: #15224 (closed)
- Related to #15734 (closed)