- # http://loop-aes.sourceforge.net/loop-AES.README
- # Encryption HOWTO
- # Encrypted Root Filesystem HOWTO
- # Cryptoloop HOWTO
- # Setting up the Cryptographic FileSystem (cfs):
- # setting the thing up:
- # install the cfs package:
sudo apt-get install cfs
- # create /etc/exports if it does not yet exist to avoid cfsd's complaints:
sudo touch /etc/exports
- # start the cfs daemon:
sudo /etc/init.d/cfsd restart
- # install the cfs package:
- # using the stuff:
- # prepare the creation of an encrypted directory called "~/encrDir":
cmkdir ~/encrDir
# the cmkdir command prompts for a strong passphrase (of at least 16 characters) - # make this directory available to the user with that password:
cattach ~/encrDir decrypted
# the cattach command prompts for the passphrase that was used to create the directory ~/encrDir # once completed, the directory /crypt/decrypted becomes available wherein one can edit all files in plaintext - # once you finish editing the decrypted data, this directory should be unmounted:
cdetach decrypted
# note that the content of the directory ~encrDir is at all times encrypted. The plaintext is only available to the user who presented the correct passphrase
- # prepare the creation of an encrypted directory called "~/encrDir":
- # setting the thing up: