HOWTO use the cryptographic file system (cfs)how it worksA virtual file system is mounted at /crypt, which contains aliases for encrypted directories. An alias for an encrypted directory is chosen by the user each time they mount it. The files and directories in a /crypt alias directory appear as plain text to any program that reads and writes them but they are encrypted before they are stored in the encrypted directory. to install cfsAs root: $ sudo apt-get install cfs to create a new encrypted directory$ cmkdir my-crypt-dir to mount an encrypted directory$ cattach my-crypt-dir my-crypt-dir-alias to unmount an encrypted directorycdetach my-crypt-dir-alias watch me use it$ ls -a /crypt . .. $ cd $ cmkdir cry $ cattach cry filez $ ls -a /crypt . .. filez $ echo wart > /crypt/filez/cryp-file $ cat /crypt/filez/cryp-file wart $ cdetach filez $ ls -a /crypt . .. $ ls -a cry . ... ..k .pvect_2bddab137033b7ed3f82353174ea2cba .. ..c ..s 2bddab137033b7ed3f82353174ea2cba $ cat cry/2bddab137033b7ed3f82353174ea2cba [output was total junk that i couldn't even paste] $Revision: 1.1 $, $Date: 2006/04/11 04:39:58 $ |