DroidFS icon indicating copy to clipboard operation
DroidFS copied to clipboard

support LUKS 2 / veracrypt

Open calculatorcrazy opened this issue 9 months ago • 1 comments

support for LUKS encryption would be very useful since there is currently no application that supports it and the droid fs is awesome do you have plans for this in the future

calculatorcrazy avatar Jun 21 '25 17:06 calculatorcrazy

Currently, DroidFS only supports encryption software that operates at the file system level. LUKS, on the other hand, operates at the block device level, which means that a separate file system implementation is required to be able to store files inside a LUKS container. Usually, this file system implementation is provided by the kernel, and therefore requires root privileges. On many desktop Linux distributions, there is udisks which exposes a restricted access to unprivileged users, but no such mechanism exists on Android. The only workaround I can see for DroidFS to be able to read LUKS container files would be to embed custom userspace filesystem implementations (one for each filesystem we want to support), along with the LUKS implementation, which would be a tremendous amount of work. So it will probably never happen.

Also please see #1 and #294.

hardcore-sushi avatar Jun 22 '25 17:06 hardcore-sushi