I have some ecryptfs encrypted directories that I want to mount on Clear Linux. ‘modprobe ecryptfs’ states that the module is not available. How can it be added? Thank you.
I have some ecryptfs encrypted directories that I want to mount on Clear Linux. ‘modprobe ecryptfs’ states that the module is not available. How can it be added? Thank you.
It is built-in, so you can use cryptsetup directly.
Also you can use /etc/crypttab to decrypt at boot.
Thank you @miguelinux,
I tried
$ sudo mount -t ecryptfs /home/clrlinux/dir.ecrypt /home/clrlinux/dir
mount: /home/clrlinux/dir: unknown filesystem type ‘ecryptfs’.
cryptsetup is used with device mapper (dm-crypt) and LUKS. ecryptfs is a stacked filesystem encryption. I don’t want to encrypt the entire home directory. I only encrypt a certain directory that is synced with a cloud service across all of my systems.
Well, in /lib/kernel/config-5.0.15-754.native:
# CONFIG_ECRYPT_FS is not set
That explains it.
Oops. It’ll be enabled in 5.0.17-762.
Thanks @btwarden,
You will find this enabled in the next public release (probably Monday)
@miguelinux,
That’s great, thank you. Saves me compling and maintaining my own kernel. Much appreciated.
:rjs