Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2494319pxb; Thu, 11 Feb 2021 13:59:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJwexd7RbpvSVhWD5AUKuHPeWRa1b71u7jNqlPmoyRgvgaqLF74eu/bR1KclJMAjv+JhZhYP X-Received: by 2002:a17:906:6bc5:: with SMTP id t5mr10326550ejs.253.1613080779069; Thu, 11 Feb 2021 13:59:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613080779; cv=none; d=google.com; s=arc-20160816; b=NqK3iI6ITFjiBlW1D6nGBqGNDYw3/usbTSCZmwDCkCMk462timn+xRLm52E/1WUEav X7VXBfi+NifNNq3W6W/CTqRcCtsLZZvN52RdFGowXKLQ7ELu4qbYOXqst6NINweEES// dOUr4HNvXRZHk1J9GlUE4YSjHCBk17JYefJgP40S0a/Dtiab0q0XZIDDoN2CS1Nz0nUX qVi+Lc6bR5MI0OsTZ+vW4eTSGehvLAXWx+/GJrho+ETox5Qrp1U1jtjj+SVbADvf0BzA UFGINOINxLnRMQGtViyr6pxa8zTJL2asodPRb3Z2w1QFVbMpT/35NZ2r3kc5KcoKZoZu K0nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=GHmnZBmtTMO3LbdqMxRJQAgY++xS/Lj5eWKrx9gOHYQ=; b=meDkPXelIisj/E01nyAnlERdfr9+ELxxGp0wq6ueJYJ15cGCmkLeiAxD6SRR30sCYI MJ3edy0xsirFzRVyn0Jqu8dxq9jH52zc8kqhQVO+xZpKW6deb8n3a8L8m3KAgzOeLaG5 LKtXRKvVcIkvmquEYOKNd0hGsAHjSePtl6dVPDkGi3Ewt+TzOBaNrAf2gxDzMMvDgd5c sWU7oWEHkGRdUQZCJMJLsSXy9QKjnBRYC2wIVwXQ9cvgeQcmx90Q5zlPjJWsSJdWzU6+ UpkcYW+LZDhK9NiSiMf5HvscFjvtRiMQicqvJejapGip2PcJFSytGZUvJlG7TeGqQTey +6eQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="WkIw/32W"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r13si4547833eji.406.2021.02.11.13.58.49; Thu, 11 Feb 2021 13:59:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="WkIw/32W"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229617AbhBKV6L (ORCPT + 99 others); Thu, 11 Feb 2021 16:58:11 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:60520 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S229469AbhBKV6K (ORCPT ); Thu, 11 Feb 2021 16:58:10 -0500 Received: from pps.filterd (m0098414.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 11BLfeBK149447; Thu, 11 Feb 2021 16:57:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=GHmnZBmtTMO3LbdqMxRJQAgY++xS/Lj5eWKrx9gOHYQ=; b=WkIw/32W08VOIkjGgyrH4ubh5yUpYyp6c3nNL3uhoRrnm6bweCwXyjX7ENUWMMqDQlyW 1BTAL4x6gRjumQ3f6EA6+Epx48Mu/xmVFG3pVU9Sb8y3njgsDTBZR9HGrS4L6Ck62oPz pvaqozjZHseLUv+OR6zNMxcPaWZkQxvqXLSldbVchkGuMiPB6jqNY0M1C66XHOuYOKiC FqnQf5oh+daARLyKfSKDOg0u2c3bVt496Dolsg6JyNPl/JW32KsNPwCLihOix8Lp5O7C vu/VWVyANHIuvJwqFEGZ0g7ZdK4r0saVZgbOpOmDFWzaUOjIlKKBXmWvnWumVa5I2uc3 ng== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 36nc7r8uku-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Feb 2021 16:57:27 -0500 Received: from m0098414.ppops.net (m0098414.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 11BLggL1152423; Thu, 11 Feb 2021 16:57:26 -0500 Received: from ppma02dal.us.ibm.com (a.bd.3ea9.ip4.static.sl-reverse.com [169.62.189.10]) by mx0b-001b2d01.pphosted.com with ESMTP id 36nc7r8ukk-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Feb 2021 16:57:26 -0500 Received: from pps.filterd (ppma02dal.us.ibm.com [127.0.0.1]) by ppma02dal.us.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 11BLqNWe024702; Thu, 11 Feb 2021 21:57:26 GMT Received: from b01cxnp23032.gho.pok.ibm.com (b01cxnp23032.gho.pok.ibm.com [9.57.198.27]) by ppma02dal.us.ibm.com with ESMTP id 36hjrajw90-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 11 Feb 2021 21:57:25 +0000 Received: from b01ledav002.gho.pok.ibm.com (b01ledav002.gho.pok.ibm.com [9.57.199.107]) by b01cxnp23032.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 11BLvPU512190172 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 11 Feb 2021 21:57:25 GMT Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2B3B0124058; Thu, 11 Feb 2021 21:57:25 +0000 (GMT) Received: from b01ledav002.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 18511124054; Thu, 11 Feb 2021 21:57:25 +0000 (GMT) Received: from sbct-3.pok.ibm.com (unknown [9.47.158.153]) by b01ledav002.gho.pok.ibm.com (Postfix) with ESMTP; Thu, 11 Feb 2021 21:57:25 +0000 (GMT) Subject: Re: [PATCH 1/5] keys: cleanup build time module signing keys To: Nayna Jain , linux-integrity@vger.kernel.org, keyrings@vger.kernel.org Cc: linux-security-module@vger.kernel.org, David Howells , Jarkko Sakkinen , Mimi Zohar , Linux Kernel Mailing List References: <20210211195435.135582-1-nayna@linux.ibm.com> <20210211195435.135582-2-nayna@linux.ibm.com> From: Stefan Berger Message-ID: <0f5c8c18-2a53-d3c4-e252-44aaee76a9e6@linux.ibm.com> Date: Thu, 11 Feb 2021 16:57:24 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-Version: 1.0 In-Reply-To: <20210211195435.135582-2-nayna@linux.ibm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.737 definitions=2021-02-11_07:2021-02-11,2021-02-11 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 malwarescore=0 bulkscore=0 priorityscore=1501 clxscore=1011 mlxlogscore=999 suspectscore=0 impostorscore=0 adultscore=0 phishscore=0 spamscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102110166 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/11/21 2:54 PM, Nayna Jain wrote: > The "mrproper" target is still looking for build time generated keys > in the old path instead of certs/ directory. > This patch fixes the path as well removes the names of the files which > are no longer generated. > > Signed-off-by: Nayna Jain > Fixes: 28a68f828266 ("modsign: Use single PEM file for autogenerated key") I was curious about some of the files and how they were created in the past but couldn't see it in the hostory of the Makefile. The above Fixes tag seems to give the wrong commit id: commit 28a68f828266754c2bd64b87873e8099e3f8fe0c Author: Dave Airlie Date:   Thu Oct 29 13:59:45 2020 +1000     drm/radeon/ttm: use multihop > --- > Makefile | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/Makefile b/Makefile > index ade44ac4cc2f..af18aab6bbee 100644 > --- a/Makefile > +++ b/Makefile > @@ -1472,9 +1472,9 @@ MRPROPER_FILES += include/config include/generated \ > debian snap tar-install \ > .config .config.old .version \ > Module.symvers \ > - signing_key.pem signing_key.priv signing_key.x509 \ > - x509.genkey extra_certificates signing_key.x509.keyid \ > - signing_key.x509.signer vmlinux-gdb.py \ > + certs/signing_key.pem certs/signing_key.x509 \ > + certs/x509.genkey \ > + vmlinux-gdb.py \ > *.spec > > # Directories & files removed with 'make distclean'