Hot answers tagged


While eCryptFS is actively maintained by Canonical/Ubuntu engineers and the design is cryptographically sound, eCryptFS has never been formally evaluated for FIPS 140-2 certification or compliance, and it's unlikely that it ever will be. Full disclosure: I am one of the authors and maintainers of eCryptFS.


Since you're talking about Ubuntu, I'm going to assume you use that. To fix, do the following: first, ensure you're working on the installed system, not the live system. A live image usually has its own root filesystem that makes reinstalling grub harder than it could be. Assuming you mount your installed root filesystem on /mnt, you can do this by ...


As @Lucas mentioned, LUKS would be preferable to eCryptfs for this, but yes, you can rather easily resize an ext4 image file. You can use truncate -s xxx file to change the size of the file, then losetup -c /dev/loopX to refresh the loop driver's idea of its size ( or unmount and remount it ), then resize2fs to grow it. To shrink, it must be unmounted and ...


It is possible to generate an fstab entry as described here: Using the mount command one can get the correct mount options and add this to the fstab file /path/to/encrypted/dir /path/to/decrypted/dir ecryptfs ...

Only top voted, non community-wiki answers of a minimum length are eligible