Received: by 2002:ab2:2994:0:b0:1ef:ca3e:3cd5 with SMTP id n20csp338515lqb; Thu, 14 Mar 2024 12:40:43 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW6MCLK9qc0y0LTS4emhrzHWBrCVuf0zwEasG+0pTqgYd8AXYn/Q5PJlz6s9UsojYLkZoPw8Y9NSZUV+WR7QroBAo0MKpg/YB0Smw1oEQ== X-Google-Smtp-Source: AGHT+IGR9KkEfFKyVV3P2NVsbdvbwCcW/711LaLOp+6l5jL0ZmKAWIFLVG31IyIH1BkkRcuj2ndh X-Received: by 2002:a05:620a:14b6:b0:788:2f3e:703b with SMTP id x22-20020a05620a14b600b007882f3e703bmr2907685qkj.68.1710445243428; Thu, 14 Mar 2024 12:40:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710445243; cv=pass; d=google.com; s=arc-20160816; b=Ey/qKUwYvr7YAW31k2OAGYv63k5Zfhdx0+hFOOKieDZ6fvdMxRiWH8E6scTbkaNBz1 1TY6PDDfj2fdfua3y6uM/htVpRNyurJZo6xPB++hvz/LncCMgiIquvcN+Ha4Di0IwGe3 u0eGtnDc7QJrDQ0EtrKhnPHC6x1o9s9sfCj8v8FSsUJ9EdmEEZ8zwhOrRfbUT1ttCa3K KIN+flsVwdP0cqiShhUapMyo5Id9hY8YuJqR9zfTw3OlIN1kkE0tOU3uuZb5qFhdigcG Ze4c/E5dzjUFzQOtRNe8Z6TAOf45dhttEXkEyvSIPS6UM9TgO/sAApyEH0/t8pe9pL4r uDug== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wwY19FUB8V1goShY6AiR5NdMVOnDGmFHhaQAjFn+d8M=; fh=zvroPKUCVDLFKC5yC+9oaNYDKf+kasBpwrB17seOPvM=; b=wWjsm9J8PcuSAgaVtukO3P6Gh4oCw0Mwxblrld7GGvMNRAjoYZ72zrdy8VSoSHUhRz EuBAAu3tU1/OKye/cYbN85GxWM6qeqzZwaSnEe++TyWvVtptMPO6S109X3NJEg3v5bgB tGkD+l+UPm6m8KeK6yqBe6yX8pw3wHaWYL8SfGMTZbEfRofpn1fc+Mt9Kbfiu/NAvgsa aTH6yCNYFe1FBmrwvv93OzjQ7Uoc8FoWcHMJumSL3yRvDjrLvMWu+4alokDuEv4Wuenq f6MLAMNJBn1FNGHI27hbZja89s9/SJSWe/o2xG1l2ZjA8ia29ZF7niJi4o7rHrukCBya HqFg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="be/06FhS"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-2683-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2683-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id oq27-20020a05620a611b00b007885be79107si2115647qkn.390.2024.03.14.12.40.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Mar 2024 12:40:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-2683-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="be/06FhS"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-crypto+bounces-2683-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-2683-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0E8FE1C21A12 for ; Thu, 14 Mar 2024 19:40:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4FBBF7580B; Thu, 14 Mar 2024 19:40:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="be/06FhS" X-Original-To: linux-crypto@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F2CA12BB13; Thu, 14 Mar 2024 19:40:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710445239; cv=none; b=IKgNshX0y1op76MmLl+cO1SQkZUL52VpSRwmdfdWCD0jtznaontPHw7h8O5ojST6A+vNdl7jb/37YlH5NlB/4bgn624LmcEPkVa3uDPY/y3eGoWX2yvLpv1BZJS5tzqF8EGQhun4mI2T0TQLW+fYo8Jsuby3BseD8Q02zpGEIwQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710445239; c=relaxed/simple; bh=yqTlmnf69fHubQexPXqqONf3QGnNyWhVSFVyqG6LZvA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=gMgFqNxI8s8yFzpVwRiSoE71LNGnEBoKm6nG1TIOEvFTAzTKhRZLE3pJQuq66WwZBwPQKb538ShsMeuiqGrpuAAB/omt9Of4wl1pvWB+wBOUgQ7YlIXnkAtFYEJNncknNhB1JukcAjCZ90CgfW5mJmzED4r0G0uZh0LvqXt1+AU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=be/06FhS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D208C433F1; Thu, 14 Mar 2024 19:40:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1710445238; bh=yqTlmnf69fHubQexPXqqONf3QGnNyWhVSFVyqG6LZvA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=be/06FhS2UKbtX0uABfVqBHqnFX6+r7rWE5qLEQhao/dMX4kN9yTKhIRMCpmwc8WH Fe+IVeoJ2MsRn2NdOu1upW2ZCGErZg8uInYgQUhYaxcK8jP33raF9YDs2qZsPM2Sgh hfbT5JUx+H5467wDkkGSNsbRBDVuKx6TUY9X550rKws4tgVPAGQy37dGEQxb4W1E0m Toi0+c2IZTwEcYcX/acDV3fym+ZXa6CP4U4q/ABQqUE6RZ1FO5U3Lv4tN5a01WnU6+ 4XqRuCdqjBtL84s3dNO6uIPvnhLPQxmzW9jv8NW16Vm+8InjVmA2NDFkGQX+7v3FdY TwBnHNnmsHN/w== Date: Thu, 14 Mar 2024 12:40:37 -0700 From: Eric Biggers To: Karel Balej , Herbert Xu Cc: keyrings@vger.kernel.org, linux-wireless@vger.kernel.org, iwd@lists.linux.dev, James Prestwood , Dimitri John Ledkov , linux-crypto@vger.kernel.org Subject: Re: [PATCH] Revert "crypto: pkcs7 - remove sha1 support" Message-ID: <20240314194037.GA1132@sol.localdomain> References: <20240313233227.56391-1-ebiggers@kernel.org> Precedence: bulk X-Mailing-List: linux-crypto@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Thu, Mar 14, 2024 at 09:11:08AM +0100, Karel Balej wrote: > Eric, > > Eric Biggers, 2024-03-13T16:32:27-07:00: > > From: Eric Biggers > > > > This reverts commit 16ab7cb5825fc3425c16ad2c6e53d827f382d7c6 because it > > broke iwd. iwd uses the KEYCTL_PKEY_* UAPIs via its dependency libell, > > and apparently it is relying on SHA-1 signature support. These UAPIs > > are fairly obscure, and their documentation does not mention which > > algorithms they support. iwd really should be using a properly > > supported userspace crypto library instead. Regardless, since something > > broke we have to revert the change. > > > > It may be possible that some parts of this commit can be reinstated > > without breaking iwd (e.g. probably the removal of MODULE_SIG_SHA1), but > > for now this just does a full revert to get things working again. > > > > Reported-by: Karel Balej > > Closes: https://lore.kernel.org/r/CZSHRUIJ4RKL.34T4EASV5DNJM@matfyz.cz > > Cc: Dimitri John Ledkov > > Signed-off-by: Eric Biggers > > thank you very much for the revert. I have compiled 6.8 with this patch > and attest that it solves my eduroam connection issue. > > Tested-by: Karel Balej > > May I please ask, though, why you did not Cc stable (and add a Fixes > trailer for that matter)? It seems like something that would be nice to > see fixed in 6.7.y and 6.8.y too as soon as possible. I just forgot. Reverts usually get backported without asking anyway, but the following should be added to make it explicit: Fixes: 16ab7cb5825f ("crypto: pkcs7 - remove sha1 support") Cc: stable@vger.kernel.org That should just be added when the patch is applied, unless I happen to need to send out a new version anyway. We need to decide who is actually going to apply this revert. Probably Herbert, since he took the commit that's being reverted? - Eric