From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 01696C433F5 for ; Tue, 8 Mar 2022 18:51:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349288AbiCHSwQ (ORCPT ); Tue, 8 Mar 2022 13:52:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349794AbiCHSwO (ORCPT ); Tue, 8 Mar 2022 13:52:14 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D3FD5468B; Tue, 8 Mar 2022 10:51:12 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A6CD361616; Tue, 8 Mar 2022 18:51:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C1D0CC340EF; Tue, 8 Mar 2022 18:51:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1646765471; bh=RHG0KltsQ/iNz7I3cyFsYH9JfTC3E50D/WQVf4Xzs7M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jQiyN1VOJHW0v8HEfFNclw2S3i3D3T2hBDvEYao3oNf43Ga18/BQiE3y8/HKGQRYf wzCF3+XyThN3IJDsnBpUPjq3CUnEYAXgfzLYv1d/3SfnRvpBreJYdw8JwQ5efCz+DC NSE7Pn0YzMoI2XcPeckPp/CXQqj/8KILvtLQqU72w85t9LWmEy8jDuupKWIy+brJnz cUNJ8SuDqHaZ6sM4YNH6ZISkCIt8vB+IL8iJByj607kjNDcxfMO3g/Cn62MSbXr+qO nqeQwaia22xtVpSjU/A7Aoy3PUoO0KZozf2YSKx13k+dwsI7caYChioEW/tHd6Dr/a x5dfFsMFlitgQ== Date: Tue, 8 Mar 2022 20:50:30 +0200 From: Jarkko Sakkinen To: Eric Biggers Cc: Linus Torvalds , linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, James Morris , David Howells , Peter Huewe , Jason Gunthorpe Subject: Re: [GIT PULL] TPM DEVICE DRIVER updates for v5.18 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-integrity@vger.kernel.org On Tue, Mar 08, 2022 at 10:10:31AM -0800, Eric Biggers wrote: > On Tue, Mar 08, 2022 at 02:58:49PM +0200, Jarkko Sakkinen wrote: > > KEYS: asymmetric: enforce that sig algo matches key algo > > It looks like you applied v1 of this patch > (https://lore.kernel.org/r/20220201003414.55380-2-ebiggers@kernel.org) rather > than v2 (https://lore.kernel.org/r/20220208052448.409152-2-ebiggers@kernel.org). > I think that v2 is necessary because some callers of > public_key_verify_signature() leave pkey_algo as NULL. > > Sorry for not spotting that you applied v1 earlier. > > - Eric I can do another pull request. Linus, please ignore this first one. BR, Jarkko