From patchwork Sun May 21 12:45:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adolf Belka X-Patchwork-Id: 6897 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4QPL0k2Q39z3wlf for ; Sun, 21 May 2023 12:45:58 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "R3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4QPL0h4zsXzbW; Sun, 21 May 2023 12:45:56 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4QPL0h3VKpz2yhw; Sun, 21 May 2023 12:45:56 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "R3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4QPL0g1h01z2xbN for ; Sun, 21 May 2023 12:45:55 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by mail01.ipfire.org (Postfix) with ESMTPSA id 4QPL0Z2q6gzbN; Sun, 21 May 2023 12:45:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1684673152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=UZzuY2mVhaImvtWwor76GBLxyBsG9EuNPDMmyuI4arI=; b=nfP7KFNVsgcI1XgIjxUY1oFAG3gCK0eze+09efp0bOzANeGKQrLfY3qCVAjLi9zehxS4vk DHOlRfx/ZY8WZ7mSBQ/b2yKySPTNZSRFHCHOCKxGD+LDcDe1BI4xQlZKEbYFSOjL2Xd4w7 Slevo4hLQPyKoOT/mJpbDI32NLokxubcUJ/sW7qHVlxo3sAJtDjmGpqoQT6J+6JWescK4J hwKa0anQTa2yxsnrgdFWpLcVi2vs3OSWUMRBgYXQkJR3H/BbwEXedOleF4TVwYsQ22oKhj 3I7l8W8kwnc8xF0uXScZdnjFoJojUfW9MX5dAMKewxMufp54N8bF84n8WoUYqw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1684673152; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=UZzuY2mVhaImvtWwor76GBLxyBsG9EuNPDMmyuI4arI=; b=tt3FCMBfaNPUaX1xoW8Nky2n8zpFbfwDlUSlSoLbFL+Gu4pssWXDWWiAXAaA4TjYQXRNkj 2zsWQxJS/rgVhADQ== From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH 1/2] openssl: Fix for Bug#13117 - adds legacy option in for openssl extraction of cert & key Date: Sun, 21 May 2023 14:45:43 +0200 Message-Id: <20230521124544.3457345-1-adolf.belka@ipfire.org> MIME-Version: 1.0 X-BeenThere: development@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: IPFire development talk List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: development-bounces@lists.ipfire.org Sender: "Development" - OpenSSL-3.x gives an error when trying to open insecure .p12 files to extract the cert and key for the insecure package download option. - To make this work the -legacy option is needed in the openssl command, which requires the legacy.so library to be available. - Successfully tested on a vm system. - Patch set built on Master (CU175 Testing) Tested-by: Adolf Belka Signed-off-by: Adolf Belka --- config/rootfiles/common/openssl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/rootfiles/common/openssl b/config/rootfiles/common/openssl index e29bc6dc1..44ae2cda9 100644 --- a/config/rootfiles/common/openssl +++ b/config/rootfiles/common/openssl @@ -160,7 +160,7 @@ usr/lib/libcrypto.so.3 usr/lib/libssl.so usr/lib/libssl.so.3 #usr/lib/ossl-modules -#usr/lib/ossl-modules/legacy.so +usr/lib/ossl-modules/legacy.so #usr/lib/pkgconfig/libcrypto.pc #usr/lib/pkgconfig/libssl.pc #usr/lib/pkgconfig/openssl.pc