The cryptsetup code repository.

Clone this repo:
  1. 5b68dec Adjust IV size in cipher benchmark. by Milan Broz · 7 days ago master
  2. 9d13da0 Set devel version. by Milan Broz · 7 days ago
  3. 1e94425 Remove unused parameter from crypto_backend_init. by Ondrej Kozina · 10 days ago wip-luks2
  4. fc48f9b Workaround for verity FEC test. by Milan Broz · 11 days ago
  5. 2eb2591 Fix Veracrypt compatible support for longer passphrases. by Milan Broz · 14 days ago

LUKS logo

What the ...?

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

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

The project also includes a 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 LUKS2 format specification is available here.

Last version of the LUKS1 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 stable cryptsetup version is 2.3.1

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.