cryptsetup - disk encryption support - startup scripts

Property Value
Distribution Ubuntu 17.10 (Artful Aardvark)
Repository Ubuntu Main amd64
Package name cryptsetup
Package version 1.7.3
Package release 4ubuntu1
Package architecture amd64
Package type deb
Installed size 366 B
Download size 129.88 KB
Official Mirror
Cryptsetup provides an interface for configuring encryption on block
devices (such as /home or swap partitions), using the Linux kernel
device mapper target dm-crypt. It features integrated Linux Unified Key
Setup (LUKS) support.
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.


Package Version Architecture Repository
cryptsetup_1.7.3-4ubuntu1_i386.deb 1.7.3 i386 Ubuntu Main
cryptsetup - - -


Name Value
cryptsetup-bin >= 2:1.6.0
debconf >= 0.5
debconf-2.0 -
dmsetup -
libc6 >= 2.15


Name Value
cryptsetup-luks -


Name Value
cryptsetup-luks -


Name Value
cryptsetup-luks -
hashalot << 0.3-2


Type URL
Binary Package cryptsetup_1.7.3-4ubuntu1_amd64.deb
Source Package cryptsetup

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install cryptsetup deb package:
    # sudo apt-get install cryptsetup




2017-08-10 - Andy Whitcroft <>
cryptsetup (2:1.7.3-4ubuntu1) artful; urgency=low
* New upstream release, merge from Debian unstable. Remaining
Ubuntu changes:
- debian/control:
+ Depend on plymouth.
+ Invert the "busybox | busybox-static" Recommends, as the latter
is the one we ship in main as part of the ubuntu-standard task.
+ Drop explicit libgcrypt20 dependency from libcryptsetup4.
* d/p/fips-fix-luksformat-with-recent-kernels -- fix luksFormat
with recent FIPS enabled kernels.
* Drop _BSD_SOURCE in favor of _DEFAULT_SOURCE
* Drop c99 std, as the default is now higher than that
* Use DEB_VERSION from dpkg/ for pod2man release variable
* Drop upstart system jobs.
* Add maintscript to drop removed upstart system jobs.
2017-05-09 - Jonas Meurer <>
cryptsetup (2:1.7.3-4) unstable; urgency=high
[ Guilhem Moulin ]
* Drop obsolete update-rc.d parameters.  Thanks to Michael Biebl for the
patch. (Closes: #847620)
* debian/copyright: Fix license mismatch (docs/examples/*
lib/crypto_backend/* lib/loopaes/* lib/tcrypt/* lib/verity/* python/* are
LGPL-2.1+ not GPL-2+). (Closes: #861802)
* debian/initramfs/cryptroot-hook: honor RESUME={none,auto} as documented in
initramfs.conf(5) by initramfs-tools >=0.129. (Closes: #861074)
2016-12-09 - Jonas Meurer <>
cryptsetup (2:1.7.3-3) unstable; urgency=medium
[ Jonas Meurer ]
* debian/scripts/decrypt_ssl: fix script to actually output the decrypted
key. Apparently this script has been broken since June 2008. Doesn't seem
like anybody is using it. Thanks to g1 for spotting and reporting the
error. (Closes: #844050)
* debian/initramfs/cryptroot-script:
+ limit the sleep after max passphrase attempts to devices for the rootfs.
This mitigates the negative impact in case of broken keyscripts etc.
+ add $crypttarget to each message to provide more context.
* debian/initramfs/cryptroot-hook: fix sanity check for key files on root
fs in get_device_opts(): detect if processed device is a root (parent)
device even for LVM setups. (closes: #842951)
* debian/README.initramfs: minor fix to the decrypt_derived keyscript
section: now that systemd is standard, 'cryptdisks_start' should be used
instead of '/etc/init.d/cryptdisks start'.
* debian/manpages/crypttab.xml: add a warning to the 'keyscript' option
that systemd doesn't support the option (yet) and mention the possible
workaround to process the devices in question in the initramfs.
[ Guilhem Moulin ]
* add debian/gbp.conf to set the upstream tag to "v%(version%.%_)s".  As
this enables git-buildpackage >= 0.8.7 to automatically generate
orig.tar.gz, step nr. 5 is now removed from debian/README.source.
* debian/compat: bump debhelper compatibility version to 9.
* debian/initramfs/cryptroot-hook:
+ fix tab damage for consistency with the rest of the code
+ better warning for deprecated settings
+ fix sanity check for key files in get_device_opts(): print a warning if
the key file isn't on the root FS, or if the root device is not
encrypted, even for LVM setups.
+ fix sanity check for key files in get_device_opts(): print a warning if
the processed device is a resume device, even for LVM setups.
+ fix runtime error in get_lvm_deps() if the first argument is either
missing or the empty string.
+ reset IFS after processing $rootopts in get_device_opts(); the missing
linefeed in $IFS caused LVM logical volumes spaning over multiple PVs
not to have their parent devices detected correctly.

See Also

Package Description
cu_1.07-23build1_amd64.deb call up another system
culmus_0.131-1_all.deb TrueType and Type1 Hebrew Fonts for X11
cups-browsed_1.17.9-0ubuntu1_amd64.deb OpenPrinting CUPS Filters - cups-browsed
cups-bsd_2.2.4-7ubuntu2_amd64.deb Common UNIX Printing System(tm) - BSD commands
cups-client_2.2.4-7ubuntu2_amd64.deb Common UNIX Printing System(tm) - client programs (SysV)
cups-common_2.2.4-7ubuntu2_all.deb Common UNIX Printing System(tm) - common files
cups-core-drivers_2.2.4-7ubuntu2_amd64.deb Common UNIX Printing System(tm) - driverless printing
cups-daemon_2.2.4-7ubuntu2_amd64.deb Common UNIX Printing System(tm) - daemon
cups-filters-core-drivers_1.17.9-0ubuntu1_amd64.deb OpenPrinting CUPS Filters - Driverless printing
cups-filters_1.17.9-0ubuntu1_amd64.deb OpenPrinting CUPS Filters - Main Package
cups-ipp-utils_2.2.4-7ubuntu2_amd64.deb Common UNIX Printing System(tm) - IPP developer/admin utilities
cups-pk-helper_0.2.6-1ubuntu1_amd64.deb PolicyKit helper to configure cups with fine-grained privileges
cups-ppdc_2.2.4-7ubuntu2_amd64.deb Common UNIX Printing System(tm) - PPD manipulation utilities
cups-server-common_2.2.4-7ubuntu2_all.deb Common UNIX Printing System(tm) - server common files
cups_2.2.4-7ubuntu2_amd64.deb Common UNIX Printing System(tm) - PPD/driver support, web interface