Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Open volume in a file manager #323

Open
kulitnov852 opened this issue Nov 15, 2024 · 4 comments
Open

[Feature Request] Open volume in a file manager #323

kulitnov852 opened this issue Nov 15, 2024 · 4 comments
Labels
enhancement New feature or request

Comments

@kulitnov852
Copy link

As the DroidFS app doesn't have all the features of a file manager, I myself mostly use Material Files with the expose volume feature, and I think it would be great to be able to mount encrypted volumes from there.

I'm not a developer, but I think there should be a way to do this via (a file with) a custom file extension that points to the volume's gocryptfs.conf file, which each time it's called or opened asks for the password corresponding to the volume.

For this to work properly, I noticed 3 or 4 unsafe features must be enabled.

This might be better than adding a ton of features typical of a file manager.

@hardcore-sushi
Copy link
Owner

Allowing a volume to be opened from another app would require this app to develop a DroidFS-specific integration. It cannot be achieved by DroidFS alone.

But keep in mind that the current Android APIs limit the efficiency of encrypted file sharing between apps. It should always be faster to access files from the DroidFS built-in explorer.

@kulitnov852
Copy link
Author

I know very little about code, but what I mean is that you've misunderstood a little. I'll try to be a little more precise in my own way (I dare):

The average user can open an encrypted volume from his file manager thanks to an unencrypted .drdfs file located in the volume in question (a unique .drdfs file). This is not due to integration, but simply because the user tells the file manager to always open .drdfs files with the DroidFs app. Each time a .drdfs file is requested to be opened, a DroidFs pop-up asks the user to enter the corresponding password, and if this is correct the volume is opened discreetly in the background (if certain Unsafe features are enabled).

  1. As the .drdfs file is a text file, it must contain the path of the encrypted volume. (And perhaps with the contents of the x.config file)
  2. Parameters such as read-only and timer are also displayed next to the password prompt.
  3. The Exposed open volume will be available in the same way as SAF Android, only the user doesn't go directly to the DroidFs app to open his volumes, he does it from his file manager. (Of course, after setting Unsafe Features).

@hardcore-sushi
Copy link
Owner

Oh OK, yes I misunderstood. Indeed this could be doable, but on my side I need to manually re-add the exposed volume to Material Files every times it is closed, otherwise it is just displayed as an empty directory. I guess the Android system revokes permissions. If you're also in this case, implementing this feature won't allow to avoid that.

@kulitnov852
Copy link
Author

What you said about Material Files is correct and I know it. In my opinion, it would allow users to manipulate their files (including those encrypted by DroidFS) from their file manager, and not have to open the DroidFS app to open volumes.

@hardcore-sushi hardcore-sushi added the enhancement New feature or request label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants