Message ID | 20230131084323.1414010-1-jlu@pengutronix.de |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2637022wrn; Tue, 31 Jan 2023 00:53:00 -0800 (PST) X-Google-Smtp-Source: AK7set93KfZ8dg3eqLzQ2EGTPnRNGdNvkdS0Dfe6vLWoCebKLrYgPV4hOuHdlTDM2q/2ScfBCFlc X-Received: by 2002:a17:902:db04:b0:196:5640:b07d with SMTP id m4-20020a170902db0400b001965640b07dmr20567139plx.29.1675155180178; Tue, 31 Jan 2023 00:53:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675155180; cv=none; d=google.com; s=arc-20160816; b=VZVu9hs0/LihvLLG57Z+/N2gVUoMhUenkkO38+l+8NdYIzvk+eJXoGCj3WnKU0FtK9 Cvcwo+xMmd97M51RLAaiqnmlN89a9mwhe/vuUjB7pej6OqH39+wijLXoDUMm4HwKAG4m BIgngN+y7LRG/sduP5awkWS8Q1AiwtwABo7xz275SsTVTW9ix8MwF/01jQP6OyplM2ii PriS8l/GH73GmD4RBcUf1l2H7qySuXiIWLRjZB6IGxnEQLa9GpkEfGBiqY1uidRwPDey +5b1yZu1H/Hce0rZZLIF13YEhm0FJyKF4qxwBcEiumGXgfPrBpcXcgA8RdO8Gasu4KtI SIVA== 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 :message-id:date:subject:cc:to:from; bh=1lWk2qq0Mk7vhLXOIGh1wTenZWmt0LNx5bVtIgh2GmY=; b=VoowrhwYuIHvORxjbUTx34SxcFDd9KvFAAqNJJgczBcn4+fHJko+XkyFadKfog6/Yn wZZ02IcQ52rxt4NLZkY2U9GouyI0zxPnLD75h6a0lNiiOxusSVp/JSFIC1zSWIUiwufZ V/m3Z2FdwF6uobd1wiZkcyWUr8TX2Y2El9XWbQ9jqgkgqlzhJ3Pc+Yhbmym6L2YzfEhP wmPihGW1Sw2DiiseUbyxvcjlJxvM4w5G+cUce630lgV717sFCWOC5q13djHd5cbtRhRk xNs8Js1KpYP45lKfM97fBimLCpwBtZmNzIBqAzbJ39zGrTl2gTlRyjIyh+VoIxspLG8a 2wcQ== ARC-Authentication-Results: i=1; mx.google.com; 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: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n10-20020a170902d2ca00b00194d2dbe67esi5350269plc.413.2023.01.31.00.52.25; Tue, 31 Jan 2023 00:53:00 -0800 (PST) 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; 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 S229693AbjAaIsq (ORCPT <rfc822;maxin.john@gmail.com> + 99 others); Tue, 31 Jan 2023 03:48:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60820 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230489AbjAaIsX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 31 Jan 2023 03:48:23 -0500 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 94E2E4E535 for <linux-kernel@vger.kernel.org>; Tue, 31 Jan 2023 00:44:14 -0800 (PST) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from <jlu@pengutronix.de>) id 1pMmEl-0002nx-L2; Tue, 31 Jan 2023 09:43:31 +0100 Received: from [2a0a:edc0:0:1101:1d::39] (helo=dude03.red.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from <jlu@pengutronix.de>) id 1pMmEl-001eKs-IY; Tue, 31 Jan 2023 09:43:30 +0100 Received: from jlu by dude03.red.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from <jlu@pengutronix.de>) id 1pMmEj-005vrV-Rx; Tue, 31 Jan 2023 09:43:29 +0100 From: Jan Luebbe <jlu@pengutronix.de> To: Masahiro Yamada <masahiroy@kernel.org> Cc: Jan Luebbe <jlu@pengutronix.de>, David Howells <dhowells@redhat.com>, David Woodhouse <dwmw2@infradead.org>, keyrings@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@pengutronix.de Subject: [PATCH v2 0/2] Fix module signing with PKCS#11 URIs Date: Tue, 31 Jan 2023 09:43:21 +0100 Message-Id: <20230131084323.1414010-1-jlu@pengutronix.de> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: jlu@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756527518145276162?= X-GMAIL-MSGID: =?utf-8?q?1756527518145276162?= |
Series |
Fix module signing with PKCS#11 URIs
|
|
Message
Jan Lübbe
Jan. 31, 2023, 8:43 a.m. UTC
Hi, here are two patches to fix kernel module signing when using a key via PKCS#11, including the case where the URI contains semicolons to separate components. Compared to v1, I've used the change suggested by Masahiro Yamada in the first patch. Jan Luebbe (2): certs: Fix build error when PKCS#11 URI contains semicolon kbuild: modinst: Fix build error when CONFIG_MODULE_SIG_KEY is a PKCS#11 URI certs/Makefile | 4 ++-- scripts/Makefile.modinst | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-)