Return-Path: Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.server123.net (Postfix) with ESMTPS for ; Sat, 29 Jun 2019 19:03:36 +0200 (CEST) Received: by mail-wr1-x42d.google.com with SMTP id c2so9371466wrm.8 for ; Sat, 29 Jun 2019 10:03:35 -0700 (PDT) Received: from [192.168.8.100] (89-24-34-195.nat.epc.tmcz.cz. [89.24.34.195]) by smtp.gmail.com with ESMTPSA id n125sm7486405wmf.6.2019.06.29.10.03.34 for (version=TLS1_3 cipher=AEAD-AES128-GCM-SHA256 bits=128/128); Sat, 29 Jun 2019 10:03:34 -0700 (PDT) From: Milan Broz Message-ID: <6cfcaab8-70c4-5f78-2483-ca53ce89ef8f@gmail.com> Date: Sat, 29 Jun 2019 19:03:33 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: [dm-crypt] LUKS2 auth.encryption - do not use MORUS cipher List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: dm-crypt Hi, TL;DR Please *do* *not* use any MORUS cipher and stick with only AEGIS128 (aegis128-random in cryptsetup options; do not use aegis128l and aegis256). One of the reasons to have LUKS2 authenticated encryption marked as the experimental feature was lack of properly analyzed AEAD ciphers. As part of the research, we implemented some CAESAR [1] crypto competition candidates in kernel (before the final portfolio was announced). From the implemented variants, only AEGIS128 was selected as a CAESAR winner. There are ongoing patches [2] that remove all ciphers that are not in the final portfolio from the kernel (and I fully support this decision [3]). - the MORUS cipher (all variants) have serious problems [4], it is de-facto no longer secure - other AEGIS variants (AEGIS256, AEGIS128L) are ok, but the consensus seems to be to support only one finalist variant (AEGIS128) - the only supported (and accelerated) variant is AEGIS128 It means that all LUKS2 devices using these ciphers will be no longer supported once these patches reach upstream kernel. Unfortunately, we cannot use the new reencryption feature to switch authenticated encryption ciphers yet (this will be partially possible in the future, though). Thanks, Milan [1] https://competitions.cr.yp.to/caesar.html [2] https://lore.kernel.org/linux-crypto/20190628170746.28768-1-ard.biesheuvel@linaro.org/ [3] https://lore.kernel.org/linux-crypto/ca908099-3305-9764-dbf2-adc7a256ad59@gmail.com/ [4] https://eprint.iacr.org/2019/172.pdf