Return-Path: Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) (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 ; Mon, 3 Dec 2018 10:40:27 +0100 (CET) Received: by mail-wr1-x444.google.com with SMTP id l9so11351323wrt.13 for ; Mon, 03 Dec 2018 01:40:26 -0800 (PST) Received: from [172.22.36.60] (redhat-nat.vtp.fi.muni.cz. [78.128.215.6]) by smtp.gmail.com with ESMTPSA id r3sm10676360wrs.78.2018.12.03.01.40.24 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 01:40:25 -0800 (PST) From: Milan Broz Message-ID: <0129febb-6894-11d0-278c-a2d80144a532@gmail.com> Date: Mon, 3 Dec 2018 10:40:17 +0100 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="eUFr6K8CByYg3JHw66zKwKjhYiBK0GrmC" Subject: [dm-crypt] [ANNOUNCE] cryptsetup 2.0.6 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) --eUFr6K8CByYg3JHw66zKwKjhYiBK0GrmC Content-Type: multipart/mixed; boundary="UuFJAjjbvHmrboMxujNbbpQEp74iLo0sk"; protected-headers="v1" From: Milan Broz To: dm-crypt Message-ID: <0129febb-6894-11d0-278c-a2d80144a532@gmail.com> Subject: [ANNOUNCE] cryptsetup 2.0.6 --UuFJAjjbvHmrboMxujNbbpQEp74iLo0sk Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Cryptsetup 2.0.6 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. All users of cryptsetup 2.0.x should upgrade to this version. 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. 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.5 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Fix support of larger metadata areas in LUKS2 header. This release properly supports all specified metadata areas, as documen= ted in LUKS2 format description (see docs/on-disk-format-luks2.pdf in archi= ve). Currently, only default metadata area size is used (in format or conver= t). Later cryptsetup versions will allow increasing this metadata area size= =2E * If AEAD (authenticated encryption) is used, cryptsetup now tries to che= ck if the requested AEAD algorithm with specified key size is available in kernel crypto API. This change avoids formatting a device that cannot be later activated. For this function, the kernel must be compiled with the CONFIG_CRYPTO_USER_API_AEAD option enabled. Note that kernel user crypto API options (CONFIG_CRYPTO_USER_API and CONFIG_CRYPTO_USER_API_SKCIPHER) are already mandatory for LUKS2. * Fix setting of integrity no-journal flag. Now you can store this flag to metadata using --persistent option. * Fix cryptsetup-reencrypt to not keep temporary reencryption headers if interrupted during initial password prompt. * Adds early check to plain and LUKS2 formats to disallow device format if device size is not aligned to requested sector size. Previously it was possible, and the device was rejected to activate by kernel later. * Fix checking of hash algorithms availability for PBKDF early. Previously LUKS2 format allowed non-existent hash algorithm with invalid keyslot preventing the device from activation. * Allow Adiantum cipher construction (a non-authenticated length-preservi= ng fast encryption scheme), so it can be used both for data encryption and= keyslot encryption in LUKS1/2 devices. For benchmark, use: # cryptsetup benchmark -c xchacha12,aes-adiantum # cryptsetup benchmark -c xchacha20,aes-adiantum For LUKS format: # cryptsetup luksFormat -c xchacha20,aes-adiantum-plain64 -s 256 The support for Adiantum will be merged in Linux kernel 4.21. For more info see the paper https://eprint.iacr.org/2018/720. Unfinished things & TODO for next releases ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Authenticated encryption should use new algorithms from CAESAR competit= ion https://competitions.cr.yp.to/caesar-submissions.html. AEGIS and MORUS are already available in kernel 4.18. For more info about LUKS2 authenticated encryption, please see our pape= r https://arxiv.org/abs/1807.00309 Please note that authenticated encryption is still an experimental feat= ure and can have performance problems for high-speed devices and device with larger IO blocks (like RAID). * 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. --UuFJAjjbvHmrboMxujNbbpQEp74iLo0sk-- --eUFr6K8CByYg3JHw66zKwKjhYiBK0GrmC Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKikYJD/eRmSNBob52bBXe9k+mPwFAlwE+gcACgkQ2bBXe9k+ mPzE4g/+Ir9/tduFtbFZH/Ii0ahhBpJCEoYCZb7Pdtudi2GoW1BgfbyTkkSFuc9t oQKd891VEhuIikCbtgwtiCzoUgy4oWQEg9YiFt9me+3esk9Bj/kGPgMvWTBHffl9 8DIvQBvdiCqWpWb3f/uY8t2InhBfVI6ZfmFFpBRAQLJU5rQFuoD1/KNO8zimKUAr BgeABIHG7v1i0qO3nrpEZnPYK13H9XVD+tAzMdu+p/nIlu3lVHwNdJDI9tTaBSlE pu4s/XCBA0bFNhhGp42O7HomLgzTmIQr0iR119kBWb/RYwq4/hRmYswvDC07Q+bs rARke9HZV1xs0UPdBsZvsaxWEJ58T1s1ONLC+8YUg1At/AvKF93DKJWc0l/xP0Pp zOU2zVg0NYESIHMYl6Hf5DvNRD+w6riNfE8mzyJz5zDGel02j+mcYvjguu521OpY kE+Y8VBlU1TuaAj0yqFhFVRNYhnpHANboikXbZNnv6uhcbOyb14nBP+fy6CV4zHW WLXerW3hYciQQP4O2GUe0tJ1gn3/HhQabd74cDMOwzJAjXEEBK3vR9N2uT+XJk64 4btrTN9zsB2x8PGTtE13n1Q7km8Afnp6Eetn+S70kWrZk8yut4G/I9BWLqNG3Ju0 G9aJsNplWpppasDIxqMEMzIu77m+CHEuGB1PuL7upTu6wQzPp1M= =7/in -----END PGP SIGNATURE----- --eUFr6K8CByYg3JHw66zKwKjhYiBK0GrmC--