Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2483882pxb; Tue, 9 Mar 2021 03:50:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJz1LEx0Cw6bSG0bIs94Jat9lf6MtT6AmoKvWWTJQ1DCfaAl8QkcLkLjchnp8I97TSAZ0E9u X-Received: by 2002:a17:906:3685:: with SMTP id a5mr20726480ejc.352.1615290620681; Tue, 09 Mar 2021 03:50:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1615290620; cv=none; d=google.com; s=arc-20160816; b=ZM1CTIqv4/8AnrFg94oWKthxUFqWwQExnQcYJsYWkNhW/0D+0tGwVi2jw0pvAsxDMr 75GiIZuik7SdPSS6xA3HX1QbouT5h0gW6MLJ1hzGWqaY1IGnVjZy3yRpip6TxCGPt+GA 4NbXf59/q+atOkyu1XP0bCoM3BHLCBskxB/EroSnEVdfiBqOV33lolRoQAQkVuE1i54Y Gih+bcTGtOSVDRLZPAsL+U1NDkY6RF9D3bnB0EeXyF72X9/6GdsKaBj0mEBBF06k/lFf KEsgRLkjWMDaZmjkd4M84JCdHeBuKHS2DyP9iR0VNURxRGkZXx9QB2YVU1cZp3Qr5Fg3 tUMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-transfer-encoding :mime-version:subject:cc:to:references:in-reply-to:from:organization :dkim-signature; bh=HdTaXsQxd+FqPWUSVRaEgIQyzhznpJI3o8r6KsqiM/0=; b=mk1j5jlF6XE1y4ZKoDb5Jqw49ApdpKES1uscWyqYaIdMz6LFyvhRH9m0B16or6HmXZ gtF2KbFTGIahrR4mn6xkXFjzcu9PAjClKlgL10/YHpJDGAlWE2/SItFNZMg7eI4lugV/ d0nWAcl63YfAPed/UzSTO7LCGHeUS47ax61JVV/Ll5e5DmhC5rLtYInOjEal1MaZSEva 0eUHqFhrA2Vtvhg/K5vaBSw7WMpRKRIJZcYDI0Vc/P82W3BXIvrvTEQqxNnN3GCKPFoC w17EiS0ewbCw99oTvJVuATNUVxAsATr+wCnA4WYsm3778ZU3AHu47rsX9jzQ8Xhcdel7 DHvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=N86xszTo; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gf2si8996984ejb.736.2021.03.09.03.49.57; Tue, 09 Mar 2021 03:50:20 -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=@redhat.com header.s=mimecast20190719 header.b=N86xszTo; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229553AbhCILqs (ORCPT + 99 others); Tue, 9 Mar 2021 06:46:48 -0500 Received: from us-smtp-delivery-124.mimecast.com ([63.128.21.124]:31162 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230156AbhCILq3 (ORCPT ); Tue, 9 Mar 2021 06:46:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1615290388; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HdTaXsQxd+FqPWUSVRaEgIQyzhznpJI3o8r6KsqiM/0=; b=N86xszToYBituoiigdQHGIo2jlUmCHnuI27VAYYFK8rkCJiREiHVxjQJKh5b/53OneUPDh qxxeDrwNljo6pI2a/44kXHSRix3qnQ+Nv6UxMiBWwYWC/lEQ3pXzbg32q6pZBStoztgAFT 2GpI4Nf6Dt7c88PPHvfs2HtqD4cBpLU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-498-vOXecCFHNH2A5oCCpZfuxA-1; Tue, 09 Mar 2021 06:46:24 -0500 X-MC-Unique: vOXecCFHNH2A5oCCpZfuxA-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 6981319067E1; Tue, 9 Mar 2021 11:46:23 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-118-152.rdu2.redhat.com [10.10.118.152]) by smtp.corp.redhat.com (Postfix) with ESMTP id 17B6A100239A; Tue, 9 Mar 2021 11:46:21 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <77085577-01EB-48F5-868B-E7A1813363A1@oracle.com> References: <77085577-01EB-48F5-868B-E7A1813363A1@oracle.com> <20210304175030.184131-1-eric.snowberg@oracle.com> <147604.1614981032@warthog.procyon.org.uk> To: Eric Snowberg Cc: dhowells@redhat.com, Randy Dunlap , Jarkko Sakkinen , nathan@kernel.org, David Woodhouse , keyrings@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] certs: Fix wrong kconfig option used for x509_revocation_list MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 09 Mar 2021 11:46:21 +0000 Message-ID: <157933.1615290381@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Eric Snowberg wrote: > >> @@ -11,7 +11,7 @@ hostprogs-always-$(CONFIG_ASN1) +=3D asn1_compiler > >> hostprogs-always-$(CONFIG_MODULE_SIG_FORMAT) +=3D sign-file > >> hostprogs-always-$(CONFIG_SYSTEM_TRUSTED_KEYRING) +=3D extract-cert > >> hostprogs-always-$(CONFIG_SYSTEM_EXTRA_CERTIFICATE) +=3D insert-sys-ce= rt > >> - hostprogs-always-$(CONFIG_SYSTEM_BLACKLIST_KEYRING) +=3D extract-cert > >> +hostprogs-always-$(CONFIG_SYSTEM_REVOCATION_LIST) +=3D extract-cert > >=20 > > Hmmm... We have extract-cert listed twice. Does that matter, I wonder? >=20 > Isn=E2=80=99t this necessary, since one could build with either=20 > CONFIG_SYSTEM_REVOCATION_LIST or CONFIG_SYSTEM_TRUSTED_KEYRING, without=20 > the other being defined? Well, it could be handled with its own Kconfig, say CONFIG_BUILD_EXTRACT_CE= RT, but that would seem like overkill. I think make should handle a dependency being listed multiple times for a target, but it might make sense to list t= hem next to each other. David