Return-Path: Received: from mail-wr1-x42b.google.com (mail-wr1-x42b.google.com [IPv6:2a00:1450:4864:20::42b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Fri, 3 Aug 2018 12:59:15 +0200 (CEST) Received: by mail-wr1-x42b.google.com with SMTP id c13-v6so5038380wrt.1 for ; Fri, 03 Aug 2018 03:59:15 -0700 (PDT) Received: from [172.22.36.62] (redhat-nat.vtp.fi.muni.cz. [78.128.215.6]) by smtp.gmail.com with ESMTPSA id y203-v6sm5911829wmd.1.2018.08.03.03.59.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Aug 2018 03:59:13 -0700 (PDT) From: Milan Broz Message-ID: <8cc41ecf-6a13-8dc5-2618-97300c46397b@gmail.com> Date: Fri, 3 Aug 2018 12:59:07 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="I6r4qgGE3mBFUe27EnrdLxDve84xXdj7V" Subject: [dm-crypt] [ANNOUNCE] cryptsetup 2.0.4 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --I6r4qgGE3mBFUe27EnrdLxDve84xXdj7V Content-Type: multipart/mixed; boundary="DWjmHgI6MBFukL5ehMMBy5CLHiKbmqQrb"; protected-headers="v1" From: Milan Broz To: dm-crypt Message-ID: <8cc41ecf-6a13-8dc5-2618-97300c46397b@gmail.com> Subject: [ANNOUNCE] cryptsetup 2.0.4 --DWjmHgI6MBFukL5ehMMBy5CLHiKbmqQrb Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Cryptsetup 2.0.4 Release Notes =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D Stable bug-fix release with new features. Cryptsetup 2.x version introduces a new on-disk LUKS2 format. The legacy LUKS (referenced as LUKS1) will be fully supported forever as well as a traditional and fully backward compatible format. Please note that authenticated disk encryption, non-cryptographic data integrity protection (dm-integrity), use of Argon2 Password-Based Key Derivation Function and the LUKS2 on-disk format itself are new features and can contain some bugs. To provide all security features of authenticated encryption, we need a better nonce-reuse resistant algorithm in the kernel (see note below). For now, please use authenticated encryption as an experimental feature. Please do not use LUKS2 without properly configured backup or in production systems that need to be compatible with older systems. Changes since version 2.0.3 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Use the libblkid (blockid) library to detect foreign signatures on a device before LUKS format and LUKS2 auto-recovery. This change fixes an unexpected recovery using the secondary LUKS2 header after a device was already overwritten with another format (filesystem or LVM physical volume). LUKS2 will not recreate a primary header if it detects a valid foreign signature. In this situation, a user must always use cryptsetup repair command for the recovery. Note that libcryptsetup and utilities are now linked to libblkid as a new dependence. To compile code without blockid support (strongly discouraged), use --disable-blkid configure switch. * Add prompt for format and repair actions in cryptsetup and integritysetup if foreign signatures are detected on the device through the blockid library. After the confirmation, all known signatures are then wiped as part of the format or repair procedure. * Print consistent verbose message about keyslot and token numbers. For keyslot actions: Key slot unlocked/created/removed. For token actions: Token created/removed. * Print error, if a non-existent token is tried to be removed. * Add support for LUKS2 token definition export and import. The token command now can export/import customized token JSON file directly from command line. See the man page for more details. * Add support for new dm-integrity superblock version 2. * Add an error message when nothing was read from a key file. * Update cryptsetup man pages, including --type option usage. * Add a snapshot of LUKS2 format specification to documentation and accordingly fix supported secondary header offsets. * Add bundled optimized Argon2 SSE (X86_64 platform) code. If the bundled Argon2 code is used and the new configure switch --enable-internal-sse-argon2 option is present, and compiler flags support required optimization, the code will try to use optimized and faster variant. Always use the shared library (--enable-libargon2) if possible. This option was added because an enterprise distribution rejected to support the shared Argon2 library and native support in generic cryptographic libraries is not ready yet. * Fix compilation with crypto backend for LibreSSL >=3D 2.7.0. LibreSSL introduced OpenSSL 1.1.x API functions, so compatibility wrapper must be commented out. * Fix on-disk header size calculation for LUKS2 format if a specific data alignment is requested. Until now, the code used default size that could be wrong for converted devices. Unfinished things & TODO for next releases ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Authenticated encryption will use new algorithms from CAESAR competitio= n https://competitions.cr.yp.to/caesar-submissions.html. We plan to use AEGIS and MORUS (in kernel 4.18), as CAESAR finalists. NOTE: Currently available authenticated modes (GCM, Chacha20-poly1305) in the kernel have too small 96-bit nonces that are problematic with randomly generated IVs (the collision probability is not negligible). For more info about LUKS2 authenticated encryption, please see our pape= r https://arxiv.org/abs/1807.00309 * Authenticated encryption do not set encryption for a dm-integrity journ= al. While it does not influence data confidentiality or integrity protectio= n, an attacker can get some more information from data journal or cause th= at system will corrupt sectors after journal replay. (That corruption will= be detected though.) * There are examples of user-defined tokens inside misc/luks2_keyslot_exa= mple directory (like a simple external program that uses libssh to unlock LU= KS2 using remote keyfile). * The python binding (pycryptsetup) contains only basic functionality for= LUKS1 (it is not updated for new features) and will be REMOVED in version 2.1= in favor of python bindings to the libblockdev library. See https://github.com/storaged-project/libblockdev/releases that already supports LUKS2 and VeraCrypt devices handling through libcrypts= etup. --DWjmHgI6MBFukL5ehMMBy5CLHiKbmqQrb-- --I6r4qgGE3mBFUe27EnrdLxDve84xXdj7V Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKikYJD/eRmSNBob52bBXe9k+mPwFAltkNYAACgkQ2bBXe9k+ mPzL0A//f2XuGymrbmcVu69gzQbjU6EdVmBbblbgDAalZKr7BRbCA58ok53jfxhg wWRhEjZC49vpLvf0pVf/rCK0YuKhxQ1NfO8abLEhFpfKbMBhEY8gDvSyn5ClfFV0 NftwdOHKUg8MUgOj0ZQoXRLKmsKmyH1YvE/5BcW2ESk8yx8ahSWcHyUwA552R0V5 75FRXmHWmi6nvq0lOmaJgE2SjU6j/S4HdzDugjlf16+ts51aTD9zEMgx//xvDQma 4Mt3CFoJAziKUeGx6wmreES8GDY2yPKBDe9tdh0jZ3TW2v9PWh7oK9ZxMl2BeYaq TEHQLZi6WK6U9D1bigcN3I9VQ4sb5q26yl5AZjDUJ+SXsaZskDznPeP4dyymL8T7 boGcsO9eHtoNyKG11fIaYupbeopq6XIjEhkS2FyXGgudYPlQxdxgjQbiFTrv8NUr far8IojUQMT0ebB0GPhldr1uWY4rEXluU0poi0XHTjHMj8zStfkvBF4js3Yzl60q jZGMi+GuIx2tRuXuPP8k80YdYb1u98IfBhl1H+T+tRyH1sq9coE828kvRlQ2L/Nc L24FRn1DPIjeWyNQVUYAyGaMAzhqHPKQXcP/HIb71Vvd2sQLZClCE+Z95YO4jkjT ESHtg6rtvfkDGcV5smPuhN+FFDIOSwsB86qTipbObBL5zObMyFA= =s71w -----END PGP SIGNATURE----- --I6r4qgGE3mBFUe27EnrdLxDve84xXdj7V--