How can I decrypt a LUKS-encrypted ext4 drive by Windows based software?

I encrypt my HDD in Ubuntu.
Now I want to access my HDD in Windows too.
Is there any way in Windows to decrypt an ext4 LUKS-encrypted drive?


Solution 1:

If you are using LUKS, it can be accessed using LibreCrypt (a sequel to FreeOTFE). This will unlock the LUKS volume, but to make Windows understand ext4 you will still need an ext4 driver such as ext4fsd.

However, this combination used to work in Windows XP, but both tools are somewhat unmaintained and may not work on recent Windows versions today. For a shared disk you should instead switch to NTFS or exFAT filesystem, with either VeraCrypt or BitLocker for disk encryption.

(Ubuntu supports NTFS via the ntfs-3g driver. You can unlock VeraCrypt on Linux either via cryptsetup as a "tcrypt" disk or by installing the VeraCrypt software itself, and BitLocker disks can be opened via dislocker.)