Message-ID: <5fa04cf3-c7b7-7e26-db95-ee734b0001ea@...68...> Date: Sun, 7 Nov 2021 12:57:31 +0100 MIME-Version: 1.0 Content-Language: en-US References: <20211107090138.3150187-1-arne@...1227...> From: Matthias Andree In-Reply-To: <20211107090138.3150187-1-arne@...1227...> Subject: Re: [Openvpn-devel] [PATCH] Completely remove DES checks List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: quoted-printable To: Arne Schwabe , openvpn-devel@lists.sourceforge.net Am 07.11.21 um 10:01 schrieb Arne Schwabe: > We already removed the check in d67658fee for OpenSSL 3.0. This removes t= he > checks entirely for all crypto libraries. > > Signed-off-by: Arne Schwabe > --- > src/openvpn/crypto.c | 15 -------- > src/openvpn/crypto_backend.h | 28 --------------- > src/openvpn/crypto_mbedtls.c | 56 ------------------------------ > src/openvpn/crypto_openssl.c | 66 ------------------------------------ > 4 files changed, 165 deletions(-) > - /* DES is deprecated and the method to even check the keys is deprec= ated > - * in OpenSSL 3.0. Instead of checking for the 16 weak/semi-weak keys > - * we just accept them in OpenSSL 3.0 since the risk of randomly get= ting > - * these is pretty low (and "all DES keys are weak" anyway) */ > - return true; Should not we nuke DES altogether in that case? Or am I misunderstanding the patch?