Simplify the setup of swap partitions and filesystems with software that includes helper tools and device mapper crypt target support. Ideal for encryption and security purposes, this solution streamlines the process for creating and managing these critical components.
To use the encrypting filesystems, you need to provide all information about them in an xml file. Fortunately, the software provides an example of this file with explanations in example/cryptfs.xml or on Debian systems in /usr/share/doc/dmcryptfs/cryptfs.xml.gz.
The example file shows a simple setup with one encrypted filesystem and includes options, storage definitions, and actions such as asking for a key, decrypting the data, fscking, and mounting the filesystem. A complete description of these parts is given in example/cryptfs.xml resp. /usr/share/doc/dmcryptfs/cryptfs.xml.gz.
Once you have created your xml file, it should be saved as /etc/cryptfs.xml. Then, you can activate your encrypted filesystem by calling 'cryptfs boot' (where "boot" is the name of the action in the xml file).
To make things even easier, there is an init script called cryptfs that will call 'cryptfs boot' during boot if there is such an action available. On Debian systems, this script is automatically installed. However, it's important to note that you should avoid naming your actions "boot" unless they should be started at boot time.
In conclusion, the DM CryptFS software is a reliable and efficient tool for encrypting your filesystem, and its xml format makes setting it up easy and straightforward.
Version 0.3.3: N/A