From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 631EAC05027 for ; Thu, 9 Feb 2023 03:00:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232448AbjBIDAw (ORCPT ); Wed, 8 Feb 2023 22:00:52 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231667AbjBIC7G (ORCPT ); Wed, 8 Feb 2023 21:59:06 -0500 Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AAB4EB72; Wed, 8 Feb 2023 18:56:08 -0800 (PST) Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3192iCVY003333; Thu, 9 Feb 2023 02:55:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : subject : from : to : cc : date : in-reply-to : references : content-type : mime-version : content-transfer-encoding; s=pp1; bh=6GqaCF2clYx4KYRkfiCUo6kp7CQwdPWi9KLZ1tA3amc=; b=OkGHdVkM4RbTWEUh0/C8HU8esIlA3IZdDwyDjP3NVEWgnKumpj+PQnhiaKCy+9P3xQTN TknGDFIH6u2W9B+bdp+D/P81sjypcLw+cK8oQVDUz+nSO12Q0Fkjy+Ugwc7Y+B4b6ndW BS35KPyHfdlQTYwG38C+F7PXU+MAUXtVQrudyIwoIx4o9bXmNRgHO+fbR+zFaclT+EXM axGSCkf/DNeMiSdnYW/xZPf1narm5Kmh0MMAyXQGXmvxp7IwjwLRx23b2uB3aHTFjKXF noUjbVpEAo0ZYmxVPJu4POihxqbMjCNNM5X6hAiHt231SDs6eTLtkeTImWH0WMZImVwR Kw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3nmra4075v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Feb 2023 02:55:43 +0000 Received: from m0098420.ppops.net (m0098420.ppops.net [127.0.0.1]) by pps.reinject (8.17.1.5/8.17.1.5) with ESMTP id 3192jBlq006180; Thu, 9 Feb 2023 02:55:43 GMT Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0b-001b2d01.pphosted.com (PPS) with ESMTPS id 3nmra4075m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Feb 2023 02:55:43 +0000 Received: from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1]) by ppma04wdc.us.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 3190L7c5020140; Thu, 9 Feb 2023 02:55:42 GMT Received: from smtprelay07.wdc07v.mail.ibm.com ([9.208.129.116]) by ppma04wdc.us.ibm.com (PPS) with ESMTPS id 3nhf07gcqj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 09 Feb 2023 02:55:42 +0000 Received: from smtpav02.dal12v.mail.ibm.com (smtpav02.dal12v.mail.ibm.com [10.241.53.101]) by smtprelay07.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 3192tenT60883248 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 9 Feb 2023 02:55:41 GMT Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C340E58051; Thu, 9 Feb 2023 02:55:40 +0000 (GMT) Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 802B65805C; Thu, 9 Feb 2023 02:55:39 +0000 (GMT) Received: from li-f45666cc-3089-11b2-a85c-c57d1a57929f.ibm.com (unknown [9.160.12.101]) by smtpav02.dal12v.mail.ibm.com (Postfix) with ESMTP; Thu, 9 Feb 2023 02:55:39 +0000 (GMT) Message-ID: <8665375962f654b61886f1f3ee1916d336a08fc8.camel@linux.ibm.com> Subject: Re: [PATCH v4 5/6] KEYS: CA link restriction From: Mimi Zohar To: Eric Snowberg , jarkko@kernel.org, dhowells@redhat.com, dwmw2@infradead.org Cc: herbert@gondor.apana.org.au, davem@davemloft.net, dmitry.kasatkin@gmail.com, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com, pvorel@suse.cz, tadeusz.struk@intel.com, kanth.ghatraju@oracle.com, konrad.wilk@oracle.com, erpalmer@linux.vnet.ibm.com, coxu@redhat.com, keyrings@vger.kernel.org, linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org Date: Wed, 08 Feb 2023 21:55:37 -0500 In-Reply-To: <20230207025958.974056-6-eric.snowberg@oracle.com> References: <20230207025958.974056-1-eric.snowberg@oracle.com> <20230207025958.974056-6-eric.snowberg@oracle.com> Content-Type: text/plain; charset="ISO-8859-15" X-Mailer: Evolution 3.28.5 (3.28.5-18.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: U_XQHLUlI-DIADsqsJNio8wABTtutA7e X-Proofpoint-ORIG-GUID: r9DQxmyb4MzC_YeTxg8ZA6Vo-4lbash4 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-02-08_11,2023-02-08_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=999 malwarescore=0 bulkscore=0 spamscore=0 lowpriorityscore=0 mlxscore=0 clxscore=1015 priorityscore=1501 impostorscore=0 suspectscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2302090022 Precedence: bulk List-ID: X-Mailing-List: keyrings@vger.kernel.org On Mon, 2023-02-06 at 21:59 -0500, Eric Snowberg wrote: > Add a new link restriction. Restrict the addition of keys in a keyring > based on the key to be added being a CA. > > Signed-off-by: Eric Snowberg Other than expanding the patch description to mention the keyUsage, Reviewed-by: Mimi Zohar