Return-Path: Received: from mail-wr0-x235.google.com (mail-wr0-x235.google.com [IPv6:2a00:1450:400c:c0c::235]) (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 ; Thu, 3 May 2018 22:51:59 +0200 (CEST) Received: by mail-wr0-x235.google.com with SMTP id v5-v6so18961993wrf.9 for ; Thu, 03 May 2018 13:51:58 -0700 (PDT) Received: from [192.168.2.27] (218.83.broadband9.iol.cz. [90.176.83.218]) by smtp.gmail.com with ESMTPSA id h133sm374568wmf.47.2018.05.03.13.51.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 May 2018 13:51:56 -0700 (PDT) From: Milan Broz Message-ID: <56ff45f7-021b-4e0d-1c6a-0163beb1faa8@gmail.com> Date: Thu, 3 May 2018 22:51:48 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="c4KyNbGa7HQbj9ZXngtxqcbm036tFQ5rz" Subject: [dm-crypt] [ANNOUNCE] cryptsetup 2.0.3 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) --c4KyNbGa7HQbj9ZXngtxqcbm036tFQ5rz Content-Type: multipart/mixed; boundary="YZlHsH6p3znFHunnAhd9lcm6Wux6ux0jf"; protected-headers="v1" From: Milan Broz To: dm-crypt Message-ID: <56ff45f7-021b-4e0d-1c6a-0163beb1faa8@gmail.com> Subject: [ANNOUNCE] cryptsetup 2.0.3 --YZlHsH6p3znFHunnAhd9lcm6Wux6ux0jf Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Cryptsetup 2.0.3 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.2 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Expose interface to unbound LUKS2 keyslots. Unbound LUKS2 keyslot allows storing a key material that is independent= of master volume key (it is not bound to encrypted data segment). * New API extensions for unbound keyslots (LUKS2 only) crypt_keyslot_get_key_size() and crypt_volume_key_get() These functions allow to get key and key size for unbound keyslots. * New enum value CRYPT_SLOT_UNBOUND for keyslot status (LUKS2 only). * Add --unbound keyslot option to the cryptsetup luksAddKey command. * Add crypt_get_active_integrity_failures() call to get integrity failure count for dm-integrity devices. * Add crypt_get_pbkdf_default() function to get per-type PBKDF default setting. * Add new flag to crypt_keyslot_add_by_key() to force update device volume key. This call is mainly intended for a wrapped key change. * Allow volume key store in a file with cryptsetup. The --dump-master-key together with --master-key-file allows cryptsetup= to store the binary volume key to a file instead of standard output. * Add support detached header for cryptsetup-reencrypt command. * Fix VeraCrypt PIM handling - use proper iterations count formula for PBKDF2-SHA512 and PBKDF2-Whirlpool used in system volumes. * Fix cryptsetup tcryptDump for VeraCrypt PIM (support --veracrypt-pim). * Add --with-default-luks-format configure time option. (Option to override default LUKS format version.) * Fix LUKS version conversion for detached (and trimmed) LUKS headers. * Add luksConvertKey cryptsetup command that converts specific keyslot from one PBKDF to another. * Do not allow conversion to LUKS2 if LUKSMETA (external tool metadata) header is detected. * More cleanup and hardening of LUKS2 keyslot specific validation options= =2E Add more checks for cipher validity before writing metadata on-disk. * Do not allow LUKS1 version downconversion if the header contains tokens= =2E * Add "paes" family ciphers (AES wrapped key scheme for mainframes) to allowed ciphers. Specific wrapped ley configuration logic must be done by 3rd party tool= , LUKS2 stores only keyslot material and allow activation of the device. * Add support for --check-at-most-once option (kernel 4.17) to veritysetu= p. This flag can be dangerous; if you can control underlying device (you can change its content after it was verified) it will no longer prevent reading tampered data and also it does not prevent silent data corruptions that appear after the block was once read. * Fix return code (EPERM instead of EINVAL) and retry count for bad passphrase on non-tty input. * Enable support for FEC decoding in veritysetup to check dm-verity devic= es with additional Reed-Solomon code in userspace (verify command). Unfinished things & TODO for next releases ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * There will be better documentation and examples (planned for 2.0.4). * There will be some more formal definition of the threat model for integ= rity protection. (And a link to some papers discussing integrity protection,= once it is, hopefully, accepted and published.) * 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, 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). * 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/tag/2.17-1= that already supports LUKS2 and VeraCrypt devices handling through libcrypts= etup. --YZlHsH6p3znFHunnAhd9lcm6Wux6ux0jf-- --c4KyNbGa7HQbj9ZXngtxqcbm036tFQ5rz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKikYJD/eRmSNBob52bBXe9k+mPwFAlrrdmsACgkQ2bBXe9k+ mPzTWhAAgZscVYTqt5OX7z8Thdnu5kSRmuAtsZaBvsE+Gpx37XIT+2gwNTglyLEH zkr5ymav5+ypNhIYWYB0DaDzu6B+dU42XpZz40Uq15PRLNkaB0BQej7LWaIst7W/ VcCp81fL2AABhP3AsIEM5MmDG0JQ+50feYlA3tiU4KmzxUe5pZI0/C1Rdiuuni6P Sh/gT/Jlru0SKnNSHPJ7LrIYbhqEnUMeVzJURY/RwAwyMLc+5eA9ODllWgF07Ux2 dHSHfwn+vRneHYkLT0bZtenbL80UfadKfDUbBxoZByyUHqZWSR/z10PHVVHCRXjN 5MI2SdIHLXqxAopR8z6/j93rce78d+X95RI/V/fMNJ5nWZbq2t4m7bn2JmHJRyxv WtAzbm48VXiTynUybxl7wVTmHWfp6iWMZkUEvpdTatJviR+Qr7G/p5vxEifiKj8D HeeME6UNnBIAmpJ7VX8i78LvwgjfysXJuBa7K+JMB0eMzaTzVwPY9sa6yr0JO7j1 x+3YGnUEimGDjd/mc+sxrvOP+9t6RhNgm2CxBwAN6hy+tHwYRomPfl5DbzqyvxIa B65Txwi7gp5k3ksE9XHIr41XJcG/MAZlfN2Af+5pUpAUtwO3WhQJLbTQZ7DkFSQE QKMd/nEdxNgf9zYYFn3tLbaTWefiWnI4p2bcBvGLGDFzwN5EJwo= =ZPWg -----END PGP SIGNATURE----- --c4KyNbGa7HQbj9ZXngtxqcbm036tFQ5rz--