Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp3326929pxb; Fri, 12 Feb 2021 15:49:01 -0800 (PST) X-Google-Smtp-Source: ABdhPJyXel6QYQESTa9DKoIk5npC1/EYZO/ritF8MtM3q35FfBtJNsc8Q9Btx+/OpT7jFmfTQROB X-Received: by 2002:a17:906:9bf8:: with SMTP id de56mr5254740ejc.425.1613173741228; Fri, 12 Feb 2021 15:49:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613173741; cv=none; d=google.com; s=arc-20160816; b=qJEt8EfgldkDCZYumXNmoaWN1F+gr+jlvsWXFIkaXoT93lmMtufU3svqzmXMQ/3fmD CQeunaVZRy/ixfpu2D/lTDG1tc+h8voZUeaCMzFnbReI9SdsjtJNMWrL95+F26+eudL2 LjZD56UnfPAxfDG+XO8EodN8TSve7sj60FenbJsaGBScepq1wwTmqH7Qv1zveo6lUEzd ajwEOnE8XJBiWMUUITqkEu1Gsr7ZTssOJHNp0UBzwfnGfIloBaFu//xtK++FJOb4r8ln oKGWDnCDB5dgORiIEGaW+4CLD4/v6DMGVjdiPR29BmErZZalihp9e/1GjJeXDJ6XSbdy yUYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=OnEIJ9GDJcsK/1r6IYuGSH07IpX5TlKdzZUDSRgfCAs=; b=RgLApDpmP5BSiWn8yiYk4buudy+GFt2r1kq6IJsZu5UkIfYlc4PpL8GoIMzmbqGRaw qylUteNahGMWLW2Cf6+7GksSeuOxcpxM4aic7LsrYQGZL6eklTWifsPH5H7Sa2dmJliq EPw4Ja6V7VbWxaq9GQcFHvJW/Mtv1sO8tbaj7lk2INy0N/WdDSs5hRQrpvFusQQpRWct nHJZUm77H6tiHdx2QKkBwOUn8fCttEsMOCFo06dTQF1N1uwkvhloHLoUf18t+23ITlIU bE6GY4o0BxKONqn/Pg7RldJIlxGQTPD7cv9S9oKUgj5ElF8fihzfNJVAYoTQUVUvffAL YSnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Webl567K; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m13si8578046edi.144.2021.02.12.15.48.37; Fri, 12 Feb 2021 15:49:01 -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=@kernel.org header.s=k20201202 header.b=Webl567K; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230053AbhBLXsG (ORCPT + 99 others); Fri, 12 Feb 2021 18:48:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:51948 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229767AbhBLXsE (ORCPT ); Fri, 12 Feb 2021 18:48:04 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 8AB3E64DCF; Fri, 12 Feb 2021 23:47:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1613173644; bh=xKxZHu5u1kUN06z90+05/IXtEvmadhO6jaD+PVJY1RE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Webl567KKKD+O/EplL47+ZNU0enwE3KwX1dkpf1FNV44XJWUFykJG9txa49s4crVF lMXnrHzc2/6wt3Qw1y4UD/PVNJC0pU00FK6kKo0jDHDP/rBganpLHzvtbIUt2GW+fI O/UPv9Fv6YJS/wdMri6gA8K1YA/5Q4dwjKmoFJkcKPjOrGWVvNk2+7huXPMgBTTrcv 6Y5WPRxQ6sy3IpudqHHu5ldHk9DjJgw+p7SsBvYdbnSh6Es2Uh6QxmgQPuTnqKfxeb 2/bzdDaS/Vh0hZGqF1Yjx9y1f3p7zKxvbr4BXNBM0rsvSMZIZw/YrCEqhaPF8XiXM1 AaoT+Om/goJKA== Date: Sat, 13 Feb 2021 01:47:14 +0200 From: Jarkko Sakkinen To: Nayna Jain Cc: linux-integrity@vger.kernel.org, keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, David Howells , Jarkko Sakkinen , Mimi Zohar , Linux Kernel Mailing List Subject: Re: [PATCH 1/5] keys: cleanup build time module signing keys Message-ID: References: <20210211195435.135582-1-nayna@linux.ibm.com> <20210211195435.135582-2-nayna@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210211195435.135582-2-nayna@linux.ibm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 11, 2021 at 02:54:31PM -0500, 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. "Fix the path..." > Signed-off-by: Nayna Jain > Fixes: 28a68f828266 ("modsign: Use single PEM file for autogenerated key") Swap the order. /Jarkko > --- > 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' > -- > 2.18.1 > >