Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp7577398pxb; Thu, 18 Feb 2021 14:02:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJzP4urA2g4UvzS7TxMqdyVU0ICvYciM72Cvu5bjsuKeXNaId/zVFE9uRIeBsM34geO//4ez X-Received: by 2002:a05:6402:1777:: with SMTP id da23mr6080509edb.120.1613685772526; Thu, 18 Feb 2021 14:02:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613685772; cv=none; d=google.com; s=arc-20160816; b=rPKY9HaGgAqzUJGe4CeY+pHHJsNShwLUL9qEHvTxVgZ9ngyhyUJNK3tPeMMsElN/xc vGzPblga8HA+XFM8MgTApbllQGTnFsuuuKsAGsJmDGJAyyO2J+YRuTpEft28oi9Q+cLi kiacle/CUIfED/HamU06nzwOoWV05DCBTTT+XgqF5QTUjhUwo+VuEhI3BapcF4X/NQV/ weuUaCevcq2Q9P3Gu8ep6OoPyIyuzNCKlxxbMPZ/jhIXkhfyAHW4u43aHctHSEHGp/V9 2mfGoloixIC2/B06GBtZNYzyX/xOzexOB/XqW4vv7Dw+mNlkRrbHhEXh7yp/4Pyr0YGY 6qQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=qhOhmOSlRHu/QFvy8AKYzEzboyP7R3nJYWj++xCcRQw=; b=biszQTKrQ2/YG9p4ceQ/yYnri4qeZkrWjNPAcuXaTKIL/e3oc9uCH26ZA+YE9Rnsz5 9Zxh4N/BKJg9HNEIn0sJuIxpd5cvP9VlafTHqMzKUpplOiKLqMgPbg9pyszHIV76akdX 0uNtEoGBGvznMjQxBPBnSkFejXaT25qNi46Y5Q7jUrVM0oxdJRXxc7BosHjZxbnrIC2+ Zr+LC7m98699sVmQoFb4RQu04qNbwWYGYRqcUAmWahrFINskUvup9a0vpRUagUL2glqD sT0vdkperkfEz8tMGAGnquf+DjQUv83y+ImytBrIB9C01j1I6kfrzsxGuauXAviBos76 tUCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=UMNzUAQt; 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 j4si4443425ejm.600.2021.02.18.14.02.28; Thu, 18 Feb 2021 14:02:52 -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=UMNzUAQt; 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 S229809AbhBRWB1 (ORCPT + 99 others); Thu, 18 Feb 2021 17:01:27 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:47884 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229752AbhBRWBW (ORCPT ); Thu, 18 Feb 2021 17:01:22 -0500 Received: from pps.filterd (m0098393.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 11ILVfZu092239; Thu, 18 Feb 2021 17:00:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=pp1; bh=qhOhmOSlRHu/QFvy8AKYzEzboyP7R3nJYWj++xCcRQw=; b=UMNzUAQtb8ZL45oxgvT9bIFWgPy+3rUN3B4/2/xcFWqj/cCSb5KFg69q7tx7cGOY+/zY AwW0amnESpnc69EOoLguIUFW/oC17Kq1ihnLmhLYrEjzM5yo3I9lL6DThl7aJ1xC+QWi gbSCKxyk9JbwImYV86LEAWZQ+D3XqWnwaOLSzuYJEQK6z+Tx/rjT1tRn/3tDOZSGy+Vc gWs0t0ZDskcExxlFWCMq1QmDoq38qg84tkDTcW5POC0/kNQTx4tMhPD+bGOxedbljtiJ zDkQquAUZZ8bi9wE2ERKsamyb+O2GabcC1d76shY4dytn+JyD+qw17CdFhjXX7k2SeoI 5Q== Received: from pps.reinject (localhost [127.0.0.1]) by mx0a-001b2d01.pphosted.com with ESMTP id 36t0790p0t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Feb 2021 17:00:41 -0500 Received: from m0098393.ppops.net (m0098393.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 11ILhejK001773; Thu, 18 Feb 2021 17:00:40 -0500 Received: from ppma04fra.de.ibm.com (6a.4a.5195.ip4.static.sl-reverse.com [149.81.74.106]) by mx0a-001b2d01.pphosted.com with ESMTP id 36t0790ny8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Feb 2021 17:00:40 -0500 Received: from pps.filterd (ppma04fra.de.ibm.com [127.0.0.1]) by ppma04fra.de.ibm.com (8.16.0.42/8.16.0.42) with SMTP id 11ILtfNK009800; Thu, 18 Feb 2021 22:00:37 GMT Received: from b06cxnps4075.portsmouth.uk.ibm.com (d06relay12.portsmouth.uk.ibm.com [9.149.109.197]) by ppma04fra.de.ibm.com with ESMTP id 36p6d8amgf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 18 Feb 2021 22:00:37 +0000 Received: from d06av22.portsmouth.uk.ibm.com (d06av22.portsmouth.uk.ibm.com [9.149.105.58]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 11IM0Yd161145568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 18 Feb 2021 22:00:34 GMT Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 882064C058; Thu, 18 Feb 2021 22:00:34 +0000 (GMT) Received: from d06av22.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 81C974C052; Thu, 18 Feb 2021 22:00:32 +0000 (GMT) Received: from li-4b5937cc-25c4-11b2-a85c-cea3a66903e4.ibm.com.com (unknown [9.211.90.194]) by d06av22.portsmouth.uk.ibm.com (Postfix) with ESMTP; Thu, 18 Feb 2021 22:00:32 +0000 (GMT) From: Nayna Jain To: linux-integrity@vger.kernel.org, keyrings@vger.kernel.org Cc: linux-security-module@vger.kernel.org, David Howells , Jarkko Sakkinen , Mimi Zohar , Stefan Berger , Linux Kernel Mailing List , Nayna Jain Subject: [PATCH v2 1/5] keys: cleanup build time module signing keys Date: Thu, 18 Feb 2021 17:00:07 -0500 Message-Id: <20210218220011.67625-2-nayna@linux.ibm.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210218220011.67625-1-nayna@linux.ibm.com> References: <20210218220011.67625-1-nayna@linux.ibm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.369,18.0.761 definitions=2021-02-18_09:2021-02-18,2021-02-18 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 phishscore=0 priorityscore=1501 impostorscore=0 mlxlogscore=999 bulkscore=0 suspectscore=0 clxscore=1015 spamscore=0 lowpriorityscore=0 malwarescore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2102180176 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The "mrproper" target is still looking for build time generated keys in the old path instead of certs/ directory. Fix the path and remove the names of the files which are no longer generated. Fixes: fb1179499134 ("modsign: Use single PEM file for autogenerated key") Signed-off-by: Nayna Jain --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index de1acaefe87e..004163a4e6b3 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' -- 2.29.2