Return-Path: Received: from mail-ed1-x52d.google.com (mail-ed1-x52d.google.com [IPv6:2a00:1450:4864:20::52d]) (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 ; Sun, 28 Oct 2018 16:11:19 +0100 (CET) Received: by mail-ed1-x52d.google.com with SMTP id y20-v6so5138368eds.10 for ; Sun, 28 Oct 2018 08:11:19 -0700 (PDT) Received: from [192.168.2.27] (218.83.broadband9.iol.cz. [90.176.83.218]) by smtp.gmail.com with ESMTPSA id k20-v6sm3188566ejb.47.2018.10.28.08.11.16 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 28 Oct 2018 08:11:16 -0700 (PDT) From: Milan Broz Message-ID: <35b0ce39-383a-0dc8-fd5c-6b5364404e97@gmail.com> Date: Sun, 28 Oct 2018 16:11:09 +0100 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="mpVr9i8oruR9kGZcRdgT79HKl61TGQMBb" Subject: [dm-crypt] [ANNOUNCE] cryptsetup 2.0.5 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) --mpVr9i8oruR9kGZcRdgT79HKl61TGQMBb Content-Type: multipart/mixed; boundary="791W61v0dRNrXDLuBWeTlT4BiiOMzJZbG"; protected-headers="v1" From: Milan Broz To: dm-crypt Message-ID: <35b0ce39-383a-0dc8-fd5c-6b5364404e97@gmail.com> Subject: [ANNOUNCE] cryptsetup 2.0.5 --791W61v0dRNrXDLuBWeTlT4BiiOMzJZbG Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable Cryptsetup 2.0.5 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. 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.4 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ * Wipe full header areas (including unused) during LUKS format. Since this version, the whole area up to the data offset is zeroed, and subsequently, all keyslots areas are wiped with random data. This ensures that no remaining old data remains in the LUKS header areas, but it could slow down format operation on some devices. Previously only first 4k (or 32k for LUKS2) and the used keyslot was overwritten in the format operation. * Several fixes to error messages that were unintentionally replaced in previous versions with a silent exit code. More descriptive error messages were added, including error messages if - a device is unusable (not a block device, no access, etc.), - a LUKS device is not detected, - LUKS header load code detects unsupported version, - a keyslot decryption fails (also happens in the cipher check), - converting an inactive keyslot. * Device activation fails if data area overlaps with LUKS header. * Code now uses explicit_bzero to wipe memory if available (instead of own implementation). * Additional VeraCrypt modes are now supported, including Camellia and Kuznyechik symmetric ciphers (and cipher chains) and Streebog hash function. These were introduced in a recent VeraCrypt upstream. Note that Kuznyechik requires out-of-tree kernel module and Streebog hash function is available only with the gcrypt cryptographic backend for now. * Fixes static build for integritysetup if the pwquality library is used.= * Allows passphrase change for unbound keyslots. * Fixes removed keyslot number in verbose message for luksKillSlot, luksRemoveKey and erase command. * Adds blkid scan when attempting to open a plain device and warn the use= r about existing device signatures in a ciphertext device. * Remove LUKS header signature if luksFormat fails to add the first keysl= ot. * Remove O_SYNC from device open and use fsync() to speed up wipe operation considerably. * Create --master-key-file in luksDump and fail if the file already exist= s. * Fixes a bug when LUKS2 authenticated encryption with a detached header wiped the header device instead of dm-integrity data device area (causi= ng unnecessary LUKS2 header auto recovery). 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 hish-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. --791W61v0dRNrXDLuBWeTlT4BiiOMzJZbG-- --mpVr9i8oruR9kGZcRdgT79HKl61TGQMBb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEKikYJD/eRmSNBob52bBXe9k+mPwFAlvV0Y0ACgkQ2bBXe9k+ mPyfcQ//SgC7GZkK/1LM3eEOcMYK5HoV+rABpASd3Rwi0/U7KMHkr1QqmlTO5Azi 35Ihgi1oCV4DnBoE3jj7U7pfeHZ5ocWLAFO8lhWlp77K0sVa4qir5g5dvvhumZIm MqVsHc6sE2QouonDf6gZ8ek2MH4c7dRCoiDm81EOppSxXTQC8ZDugdiFtKCUTDXK kEDo75XVRnnq/xoi3yfaROVUFOtbDL/MYWR+bwbTgDlaBZJZgG5I7lWxTdWMp1D8 XCcU73jw4aJYyN74mekUQ9EA9degRrjXnQIshDsK1a3V7zRoQ1/HblTjB2mgMv/a tOVsc0Q38xYjvKhqs2NHr98aI8vijym/ISvZ7T7bTJZTLnLZKRsNT3ZnHChuNkwM Ofpf+058bZY621nwXsJgfKNmRtavBd69/wcGeRO9XCkfxMsvTyIMWwQTzs5b32B9 gFu3NeuNXKkIKUAUPKkPl4rzKGB4sk30jsR/zfRTj54QWHe7kY4U1x3PS3bbhkHf HRaBUEK017ktzTz6lY7s2U+juqNXFT5Ehaa6ZWDFCf3C4PkN85nMl33gqBayIIUD GhZZw7WSo1HogcKJWf0TfKOBKav9wPR9RPF0kmYXNGtUbFx/NbIxrV3zDSQ1nRmd BjRib0NJS2iIdn8SID7X00kVcGJxNKSeeBEBoSLpl+TdXzLI/Lg= =pCk/ -----END PGP SIGNATURE----- --mpVr9i8oruR9kGZcRdgT79HKl61TGQMBb--