Re: ecryptfs is unmaintained and untested

From: Theodore Ts'o

Date: Tue Oct 14 2025 - 13:52:38 EST


On Tue, Oct 14, 2025 at 09:38:52AM -0700, John Stultz wrote:
> Yeah, though to my understanding fscrypt complicates backing up the
> data in its encrypted form.

Unfortunately, yes, that's correct. Michael and I did throw around a
rough design for doing encrypted backups and saving the encrypted
per-file encryption key. Actually doing the _backup_ wasn't that
difficult; but doing the *restore* was very tricky/painful.
Ultimately, we never implemented it because it wasn't necessarily for
the Android/ChromeOS use case, and because we weren't getting a lot of
interest for the desktop, without which having a better
general-purpose backup is lower priority.

> I've wondered if maybe something as simple as fuse mounting a password
> protected zip file would do, but I'm guessing something a little more
> modern like a fuse + age approach would be better. Unfortunately I'm
> not finding anything so far.

Darrick is doing a lot of work to significantly improve the
performance of fuse2fs. So perhaps fuse mounting a dm-crypt device
backed by a loop device might be a possibility?

- Ted