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

[Features Request] Preserve file timestamps when encrypting/decrypting #286

Open
H-Sorkatti opened this issue May 11, 2024 · 2 comments
Open
Labels
enhancement New feature or request

Comments

@H-Sorkatti
Copy link

H-Sorkatti commented May 11, 2024

Hello there.

Thank you for the nice app.
I'd like to suggest 2 important modifications:

1- Maintain the original modification date of the files before they are encrypted in the specified container.
Currently once you add (encrypt) the file into the container folder, its metadata is overwritten by the new creation date.

2- Execute long running operations like mounting/encryption/decryption as foreground services.
Some android phones manufacturers have very aggressive battery optimization techniques running in the background. In my samsung phone, I cannot for example, leave DroidFS in the background while encrypting or decrypting a moderately large number of files, as it will most certainly be stopped. Setting the app battery usage as unrestricted did not help. Same can be said for mounting containers. If I send the app to the background, it would most certainly be dismounted after a while.

Thanks.

@H-Sorkatti H-Sorkatti changed the title [Feature Requests] Main file modification date & run encryption/decryption as a background service [Feature Requests] Maintain file modification date & run mounting/encryption/decryption as a background service May 11, 2024
@H-Sorkatti H-Sorkatti changed the title [Feature Requests] Maintain file modification date & run mounting/encryption/decryption as a background service [Features Requests] Maintain file modification date & run mounting/encryption/decryption as a background service May 11, 2024
@hardcore-sushi
Copy link
Owner

Maintain the original modification date of the files before they are encrypted in the specified container.

Yes, this would be nice to have. I think it would still be better to let the user decide with a switch in the settings.

Execute long running operations like mounting/encryption/decryption as background services.

DroidFS already runs file encryption and decryption tasks in the background as a foreground service. I don't understand what you ask here.

Holding volumes open in a foreground service has already been proposed here: #250. It would also help implementing #73.

@H-Sorkatti
Copy link
Author

Yes. #250 is exactly what I suffer from.

I also see that my wording was inaccurate, indeed I meant keeping a container open as a 'foreground' service with a persistent notification. Not a background service.

@hardcore-sushi hardcore-sushi changed the title [Features Requests] Maintain file modification date & run mounting/encryption/decryption as a background service [Features Request] Preserve file timestamps when encrypting/decrypting May 11, 2024
@hardcore-sushi hardcore-sushi added the enhancement New feature or request label May 11, 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