
cryptsetup
cryptsetup is the open-source utility and library for setting up Linux disk encryption with dm-crypt and LUKS. Its default licence is the GPL version 2 or later, with some parts under the LGPL 2.1 or later and other licences.
Licensing at a Glance
- Open source
cryptsetup is an open-source utility for setting up disk encryption based on the dm-crypt kernel module, supporting plain, LUKS, loop-AES, TrueCrypt/VeraCrypt, BitLocker and FileVault2 volumes.[1]
The project does not use one licence for all code: parts are under GPL-2.0-or-later, LGPL-2.1-or-later (with the cryptsetup OpenSSL exception where applicable), Apache-2.0, CC-BY-SA-4.0 or public domain.[2]
GPL-2.0-or-later in the COPYING file is the default licence for code with no explicitly defined licence.[3]
The COPYING file adds a special exception that allows linking portions of the program with the OpenSSL library.[4]
Products
- cryptsetupData Security Software
- libcryptsetup
References
- cryptsetup README · gitlab.com · retrieved 2026-09-27
- cryptsetup README.licensing · gitlab.com · retrieved 2026-09-27
- cryptsetup README.licensing · gitlab.com · retrieved 2026-09-27
- cryptsetup COPYING · gitlab.com · retrieved 2026-09-27