I’m looking for a veracrypt/truecrypt equivalent but at the folder-level and dynamic sizing
Something like a tool which could encrypt folders in real-time and then be able to lock it up. Truecrypt expects me to provide a size for it, I’d like something more dynamically sizeable based on the files I store in it.
Even just a tool that encrypts files written into it and converts them to other files works with me
CryFS does what you want, it’s the default used by the KDE Vaults feature.
there’s also a comparison page on the site, comparing it to other solutions.
Here’s a table with multiple solutions and comparisons: https://www.cryfs.org/comparison
Just be aware that some solutions like gocryptfs are provided on a user-space filesystem (Fuse). This has a very low performance and most importantly if you require inotify on the decrypted data for some application then it won’t be available. In short inotify is what allows apps to watch a filesystem for changes and act accordingly in real time.
Tables like this suck. They are made by one of the projects in the comparison and they include no data.
Better than nothing. :)
Sounds like you’re looking for EncFS.
It’ll leak the size and structure of whatever you have there. Filenames and content are encrypted.
Tomb might fit your needs
Thanks I will look into it. But tomb also seems to not have dynamic sizing
You can increase the size of a tomb, but IIRC it’s an offline process.
Yeah, I think as of now I will go for it
I have used gocryptfs (https://github.com/rfjakob/gocryptfs) in the past, it creates an overlay mount that encrypts each dir and file separately, so no need to precreate a container. There are some security downsides to this approach though so be aware of that. https://nuetzlich.net/gocryptfs/threat_model/
EncFS, CryptoFS, eCryptFS…
Ext4 encryption