Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3404833imw; Mon, 18 Jul 2022 07:33:02 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vfXpBGYvzrchgmgQf9vt6qiJMs3gGPgnJaL8SmaPW92g6DbEgohaoodACEkiHa5x0Gjos4 X-Received: by 2002:a05:6214:2b07:b0:432:f7e6:e443 with SMTP id jx7-20020a0562142b0700b00432f7e6e443mr21433927qvb.125.1658154782115; Mon, 18 Jul 2022 07:33:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658154782; cv=none; d=google.com; s=arc-20160816; b=YuT7M6oz792RdFe2uAVd1N8OMyM49IJ6ofbB2l+y2IUz5YFshtSZTFxRM/R4dahAMV UjH6twr+nxBk20q7yIIpOVv754JqUqv1Jh03HvbzzfgGdvEQCMHLI4IV1jR8yb5/uzhp /dH0loV6P7c+T5pQk2ZQlcgNKd3G16e9bUbLGV4uqHqRdKb566AuoAt7/rgiMcMTMWwA kVL0ymkrGmX7Qzclcxuf0/1Fg9eeIl9ebBds3jbiragQSMRFTkxJk2kLT4Fy1PG7p7k2 nBltGs5UwnC7gHgiLwyarCzjijqdZgzthNjNkvXZni4AwxHfmJeqWawUj1FWMEf43tGW jWMw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:cc:to:from:dkim-signature; bh=JQ1BcUfxouI3x7W07R3yoAXKkCpX5WF1RnB+IIAlqOI=; b=lDDYCsqWNimiD6Y3Nt1sSzIO9aagEXLjg1XcfeyebLFixWB8YtUkU1kHNAxPNCyYCD ezT5/LRmozBerMr5Y1iW7c/+VFaKMCOE/9dD+lwfRWQmSf0lTSynQya8nqMAuRutDNKm +j89mM0rB9vt6KdCBRzje65VuirA2uZX5xxVzhLuyAgPZaxbHOF+kUXMQEzMaOLW26dK D+i9iAXWxsF6IXNssdAK91prH7haMI8A6q9nhQiIggCNphbCsl7G6VkAffP9cbNr1Hcx ldZtLRQJ1YaO8pdtKyh+0glXfUrBBpLLa/TknzwfunuNkdAg+QnbVqfNLAsHmxkX7hrP EGkw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@angband.pl header.s=tartarus header.b=QEQNwVnN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 1-20020ad45b81000000b004737df31282si5811958qvp.360.2022.07.18.07.32.47; Mon, 18 Jul 2022 07:33:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=fail header.i=@angband.pl header.s=tartarus header.b=QEQNwVnN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235516AbiGRNvX (ORCPT + 99 others); Mon, 18 Jul 2022 09:51:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49024 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235502AbiGRNvV (ORCPT ); Mon, 18 Jul 2022 09:51:21 -0400 Received: from tartarus.angband.pl (tartarus.angband.pl [51.83.246.204]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1C4EF27CF7; Mon, 18 Jul 2022 06:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=angband.pl; s=tartarus; h=Subject:Content-Transfer-Encoding:MIME-Version:References: In-Reply-To:Message-Id:Date:Cc:To:From:Sender:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=JQ1BcUfxouI3x7W07R3yoAXKkCpX5WF1RnB+IIAlqOI=; b=QEQNwVnN6b3cocQ06CpKPUlH95 vFMAB+v67cxzpssjvl0cMtgr+twBTvZdvGahsgZXZwte/XbpcZLpiuefeKHBc+rN3TS+hsL8OZ2SM qVyXRR8lBwNCpH+qyBHZzySYPvdtR24kW3ByfjVQor6CCScELpeouy9RwQGnbLNWrbNw=; Received: from 89-73-149-240.dynamic.chello.pl ([89.73.149.240] helo=barad-dur.angband.pl) by tartarus.angband.pl with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1oDR8z-002sTq-VC; Mon, 18 Jul 2022 15:50:47 +0200 Received: from [2a02:a31c:8144:c400::4] (helo=valinor.angband.pl) by barad-dur.angband.pl with esmtp (Exim 4.94.2) (envelope-from ) id 1oDR8y-0000N1-Cn; Mon, 18 Jul 2022 15:50:40 +0200 Received: from kilobyte by valinor.angband.pl with local (Exim 4.96) (envelope-from ) id 1oDR8v-0009D8-0z; Mon, 18 Jul 2022 15:50:37 +0200 From: Adam Borowski To: David Howells , David Woodhouse , keyrings@vger.kernel.org, linux-kernel@vger.kernel.org, Steven Rostedt , Thorsten Leemhuis Cc: Adam Borowski , kernel test robot Date: Mon, 18 Jul 2022 15:50:34 +0200 Message-Id: <20220718135034.51457-1-kilobyte@angband.pl> X-Mailer: git-send-email 2.36.1 In-Reply-To: <0f226def-baf9-d6b2-2ee3-f6fae7d675f1@leemhuis.info> References: <0f226def-baf9-d6b2-2ee3-f6fae7d675f1@leemhuis.info> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 89.73.149.240 X-SA-Exim-Mail-From: kilobyte@angband.pl X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Subject: [PATCH] certs: make system keyring depend on x509 parser X-SA-Exim-Version: 4.2.1 (built Sat, 13 Feb 2021 17:57:42 +0000) X-SA-Exim-Scanned: Yes (on tartarus.angband.pl) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This code requires x509_load_certificate_list() to be built-in. Fixes: 60050ffe3d77 ("certs: Move load_certificate_list() to be with the asymmetric keys code") Reported-by: kernel test robot Link: https://lore.kernel.org/all/202206221515.DqpUuvbQ-lkp@intel.com/ Reported-by: Steven Rostedt Link: https://lore.kernel.org/all/20220712104554.408dbf42@gandalf.local.home/ Signed-off-by: Adam Borowski --- certs/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/certs/Kconfig b/certs/Kconfig index 476755703cf8..bf9b511573d7 100644 --- a/certs/Kconfig +++ b/certs/Kconfig @@ -43,6 +43,7 @@ config SYSTEM_TRUSTED_KEYRING bool "Provide system-wide ring of trusted keys" depends on KEYS depends on ASYMMETRIC_KEY_TYPE + depends on X509_CERTIFICATE_PARSER help Provide a system keyring to which trusted keys can be added. Keys in the keyring are considered to be trusted. Keys may be added at will -- 2.36.1