cryptsetup – disk encryption

cryptsetup is a utility used to conveniently set up disk encryption based on the DMCrypt kernel module.

cryptsetup offers a command-line interface to set up cryptographic volumes. This is achieved using the Linux kernel device mapper target dm-crypt. It has integrated support for LUKS.

cryptsetup is backwards compatible with the on-disk format of cryptoloop, but also supports more secure formats. This package includes support for automatically configuring encrypted devices at boot time via the config file /etc/crypttab.

Additional features are cryptoroot support through initramfs-tools and several supported ways to read a passphrase or key.

Features include:

  • Provides commands to deal with the Linux Unified Key Setup (LUKS) on-disk format.
  • Key management.
  • Key stretching.
  • Remembers encrypted volume configuration across reboots.

Support: FAQ
Developer: Christophe Saout, Clemens Fruhwirth, Milan Broz
License: GNU GPL v2

cryptsetup is written in C. Learn C with our recommended free books and free tutorials.

Return to Disk Encryption Home Page

Want to find more awesome open source software? Check out our award winning open source software directory featuring more than 20,000 open source apps.
Share this article

Share your Thoughts

This site uses Akismet to reduce spam. Learn how your comment data is processed.