ECryptfs
Kernel Configuration
First of all we need configure our Kernel for eCryptfs. We need crypto API support with at least one symmetric key cipher, key retention support and eCryptfs layer support.
| Linux Kernel Configuration: eCryptfs |
Code maturity level options ---> [*] Prompt for development and/or incomplete code/drivers Security options ---> <M> Enable access key retention support Cryptographic options ---> <M> MD5 digest algorithm <M> AES cipher algorithms File systems ---> Miscellaneous filesystems ---> <M> eCrypt filesystem layer support (EXPERIMENTAL) |
Build an reboot with your new Kernel.
Install userspace tools
We need to unmask some packages:
# echo "sys-fs/ecryptfs-utils ~x86" >> /etc/portage/package.keywords # echo "sys-apps/keyutils ~x86" >> /etc/portage/package.keywords
Than we can emerge the userspace tools:
# emerge ecryptfs-utils
Encrypt a directory
# mkdir /secret # mount -t ecryptfs /secret /secret
Last modified: Wed, 03 Sep 2008 09:39:00 +1000 Hits: 6,277
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should list their apartments, townhouses and units in Australia.
