What is cryptsetup?
cryptsetup is made by cryptsetup project. Command-line utility for configuring and managing encrypted storage devices and file-backed containers via the Linux device-mapper (dm-crypt), supporting plain and LUKS formats with key management and in-place re-encryption workflows.
What cryptsetup does
Command-line utility for configuring and managing encrypted storage devices and file-backed containers via the Linux device-mapper (dm-crypt), supporting plain and LUKS formats with key management and in-place re-encryption workflows.
- Creates and manages dm-crypt device-mapper mappings for encrypted block devices and file containers
- Supports both plain dm-crypt volumes and LUKS volumes
- Supports LUKS1 and LUKS2 on-disk formats (LUKS2 is the default format)
- LUKS keyslot-based key management (multiple passphrases/keys, revocation/change via keyslots)
- In-place re-encryption operations (encrypt/decrypt/reencrypt modes; can change volume key and encryption parameters)
- Operational lifecycle commands such as open/close/status/resize/refresh for encrypted mappings
- Compatibility support for additional volume types including TrueCrypt/VeraCrypt, BitLocker, and FileVault2 (limited support as documented)
- Can be integrated for boot-time activation via crypttab (systemd or init scripts)
Category: Data Security Posture Management (DSPM). cryptsetup is open source and free to use.
What teams use it for
- Full-disk or partition encryption management on Linux systems using LUKS
- Managing and rotating access credentials (adding/removing/changing passphrases or keyfiles via LUKS keyslots)
- In-place re-encryption to change encryption parameters or regenerate the volume key without rewriting from scratch
- Unlocking and accessing encrypted containers (disk image files) using dm-crypt mappings
- Interoperability access for certain non-LUKS encrypted volumes (e.g., BitLocker, VeraCrypt/TrueCrypt, FileVault2) where supported
What it overlaps with
These tools do similar work and turn up in the same large estates. Owning more than one is common, and it is often where the savings are.
Questions buyers ask
What does cryptsetup do?
Command-line utility for configuring and managing encrypted storage devices and file-backed containers via the Linux device-mapper (dm-crypt), supporting plain and LUKS formats with key management and in-place re-encryption workflows.
How common is cryptsetup in large enterprises?
Samplify finds cryptsetup in about 3 in 10 of the large enterprise software estates it has analysed.
Is cryptsetup free?
cryptsetup is open source and free to use.
Do we already own something that does what cryptsetup does?
Often, yes. Large estates commonly hold several tools that overlap. Samplify compares every tool you own at feature level, across every category, and decides which one stays.
Paying twice for the same job?
Most large estates own several tools that do the same thing, often without anyone knowing. Samplify compares every tool you own at feature level and decides which one stays, with the evidence attached.
Where this comes from
Samplify's software catalogue and the large enterprise estates it has analysed, as at 2 Dec 2026. Features and use cases are Samplify's own reading of the product. Check anything important with cryptsetup project.