The cryptsetup code repository.

Clone this repo:
  1. 1def60c Do not allow conversion to LUKS1 if hash algorithms differs (digest,AF). by Milan Broz · 8 hours ago master
  2. cdb4816 Allow setting of hash function in LUKS2 PBKDF2 digest. by Milan Broz · 9 hours ago
  3. be46588 Allow LUKS2 keyslots area to increase if data offset allows it. by Milan Broz · 12 hours ago
  4. 6dc2f72 Fix a possible NULL pointer in opt_type. by Milan Broz · 32 hours ago
  5. 3165b77 Remove undeeded check for DM_SECURE_SUPPORTED. by Milan Broz · 32 hours ago

LUKS logo

What the ...?

Cryptsetup is utility used to conveniently setup disk encryption based on DMCrypt kernel module.

These include plain dm-crypt volumes, LUKS volumes, loop-AES and TrueCrypt (including VeraCrypt extension) format.

Project also includes veritysetup utility used to conveniently setup DMVerity block integrity checking kernel module and, since version 2.0, integritysetup to setup DMIntegrity block integrity kernel module.

LUKS Design

LUKS is the standard for Linux hard disk encryption. By providing a standard on-disk-format, it does not
only facilitate compatibility among distributions, but also provides secure management of multiple user passwords.
LUKS stores all necessary setup information in the partition header, enabling to transport or migrate data seamlessly.

Last version of the LUKS format specification is available here.


  • compatibility via standardization,
  • secure against low entropy attacks,
  • support for multiple keys,
  • effective passphrase revocation,
  • free.

Project home page.

Frequently asked questions (FAQ)


All release tarballs and release notes are hosted on

The latest cryptsetup version is 2.0.6

Previous versions

Source and API docs

For development version code, please refer to source page, mirror on or GitHub.

For libcryptsetup documentation see libcryptsetup API page.

The libcryptsetup API/ABI changes are tracked in compatibility report.

NLS PO files are maintained by TranslationProject.


Please always read FAQ first. For cryptsetup and LUKS related questions, please use the dm-crypt mailing list,

If you want to subscribe just send an empty mail to

You can also browse list archive or read it through web interface.