ext4 filesystem encryption — is it suitable for ~ ?
Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
ext4 filesystem encryption — is it suitable for ~ ?
Hi LQ.org! Linux v4.1 has new feature — filesystem level encryption. Is it suitable for encrypting home dir in a way where when loading Arch Linux it will prompt for passphrase to get access to ~ and if passphrase cannot be entered you don't get access to ~ files?
FWIW: I have done some test trials involving one form (LUKS) of encryption and different file systems. It is interesting how they interact.
My results would indicate that, yes, it is suitable for home folder encryption. Or entire file system encryption.
There are, however, I/O penalties that are more than what I have seen described elsewhere. Advantage goes to a box with FAR more ram than you expect to need, that made more difference than minor CPU variations. Advantage to ext4 over xfs, or most other journalled formats.
The company owns the test results, so I cannot share them here. If I get time to do somewhat similar tests on my home systems I will be glad to post the results.
Some distros now enable home folder encryption by default. I prefer to run without it and keep any HIPAA data in another and more secured location.
The ext4 encryption is supposed to alleviate the memory footprint issue, but I haven't tested for it.
I note that the 4.1 Fedora kernel doesn't have all the options set. And no new e2fsprogs.
I'll check Arch later - but it looks like not all the necessary parts are there yet. And no note from Ted on the ext4 wiki either. Hmmmm.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.