Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp1549931rwo; Wed, 2 Aug 2023 16:31:37 -0700 (PDT) X-Google-Smtp-Source: APBJJlHJLUqBB70IBIbUDNr0Qdk2rTMIn1x73yoeaPLFL7kO0CeXE7OiwcLTBauKox5Lt28l7ZGj X-Received: by 2002:a17:906:18b1:b0:970:71c:df58 with SMTP id c17-20020a17090618b100b00970071cdf58mr5202085ejf.42.1691019096716; Wed, 02 Aug 2023 16:31:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691019096; cv=none; d=google.com; s=arc-20160816; b=0WJZDape4D6GSQZHS+0yzhQKSgzO5vKkOT1Tk1rcg1nEXReP8RVcqHt0tZKO/kS5Jd dzc79Tpljc0L41GwHwkcimuWQHbL9kQvZZpkz4YenIH0hYkG9KkioxIlZfxQHruquoH8 ZiVflRhC3EEhnV6lQs5l4p0T14r3QA3i0gGsceqGHwx82T9YIDiAJqnOEdTjZhspAu/e hVBF2UOl2GKeuKuipvmR/kIBhbk+WIg9cDNUc7T43fKuhiQfm5Wl2Bi27vuJIbn6Qe7M g4kSZ5Se/t8ysAMgg1Cx53mGvNF+fclxg9tpKlOocuqNPzS+1uFiUFzeSnsBKQDuGZ4q gJgg== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=vJAFJDvXW9kZJcpTRb0tvwhTtVacIP8cnnNaxcbByfk=; fh=adclpIO/JwiBg2cy1v0YJHND+iIcweaPlxtifQu8f5I=; b=LsTgnwA4NY6nVJn13cMs5ssKUQ5eB34FQTaVD+3XjD8IY+14cuVb+itSeyDFUX7Ant 3l29OEMSWNcfsIiqk4HTQ90xZKmA+/l6emnMb39uFragp0D5e0SNiWBLxwXpFd/fIxtL lveLixT821MrB2CBWNqLddh3LiMTnCSmgf8CXhSsv7tQVVQfb51ieOb9FJBCjDbrlIDM d5bguMpZJvz6x465+ZD9bHgNw6hcXx2LB1gEE4aY3mMjLze0wjDY1Y/btX9mf5Y2UjJW 6GOUrfqFHj2Dz9JpKUYmaXM0uVf0aqyQscmlMPX0gF4zPDBXxG3mRXuGN06QASmWW/5d HfNQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=kvBfIaII; 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; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u27-20020a1709063b9b00b0099bc106611esi10717860ejf.824.2023.08.02.16.31.12; Wed, 02 Aug 2023 16:31:36 -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=pass header.i=@ibm.com header.s=pp1 header.b=kvBfIaII; 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; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232299AbjHBW7X (ORCPT + 99 others); Wed, 2 Aug 2023 18:59:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49720 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232127AbjHBW7N (ORCPT ); Wed, 2 Aug 2023 18:59:13 -0400 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 60BC730DB; Wed, 2 Aug 2023 15:59:10 -0700 (PDT) Received: from pps.filterd (m0353722.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 372Mi3AB014660; Wed, 2 Aug 2023 22:59:03 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=vJAFJDvXW9kZJcpTRb0tvwhTtVacIP8cnnNaxcbByfk=; b=kvBfIaIIYrxyDVvMYjhzX9DV1AoibslPV+rMkKWFswE12ZtKulgXj/YAsn9NuCqlu3pr c8K6yol/rn/+FIxY3Cg5bgmSaV9n1MCGQ5Y9CCfR64hIgQJgiI3Bk1nhrZHKD+Q+/p0q dGPDsANpbBaJED/Qk8e9cONi/Ib5zSbU5vK80lQkilAr0n48uENs7kRxtjG45ZooeYcx gnYqbaI9Y/XNsiSQPxVm5mOa8jS7189+1Ts8EUwixM126KAN5apTty1ayMvsiWGiOeoj /C9U9zdkoJNorKg7c36NQrwdNoWyqvEOTYm2Jk0pTNiI9lyQFMhvnqn825kXl65pSbRa Iw== Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3s806q08ku-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Aug 2023 22:59:02 +0000 Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 372MrmBW015538; Wed, 2 Aug 2023 22:59:02 GMT Received: from smtprelay03.wdc07v.mail.ibm.com ([172.16.1.70]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3s5e3n8h6m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Aug 2023 22:59:02 +0000 Received: from smtpav05.dal12v.mail.ibm.com (smtpav05.dal12v.mail.ibm.com [10.241.53.104]) by smtprelay03.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 372Mx1ve61342040 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 2 Aug 2023 22:59:01 GMT Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 89B5058065; Wed, 2 Aug 2023 22:59:01 +0000 (GMT) Received: from smtpav05.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0CF4C58052; Wed, 2 Aug 2023 22:59:01 +0000 (GMT) Received: from li-f45666cc-3089-11b2-a85c-c57d1a57929f.ibm.com (unknown [9.61.115.23]) by smtpav05.dal12v.mail.ibm.com (Postfix) with ESMTP; Wed, 2 Aug 2023 22:59:00 +0000 (GMT) Message-ID: <76d68c0c417c23941e03f3c3df3109f742e30e6f.camel@linux.ibm.com> Subject: Re: [PATCH 2/6] integrity: ignore keys failing CA restrictions on non-UEFI platform From: Mimi Zohar To: Nayna Jain , linux-integrity@vger.kernel.org Cc: Jarkko Sakkinen , Eric Snowberg , Paul Moore , linuxppc-dev , linux-security-module@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 02 Aug 2023 18:59:00 -0400 In-Reply-To: <20230714153435.28155-3-nayna@linux.ibm.com> References: <20230714153435.28155-1-nayna@linux.ibm.com> <20230714153435.28155-3-nayna@linux.ibm.com> Content-Type: text/plain; charset="ISO-8859-15" X-Mailer: Evolution 3.28.5 (3.28.5-22.el8) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: m3V-IWgcurdflSqrq0HtHEoy0k2sr9pr X-Proofpoint-ORIG-GUID: m3V-IWgcurdflSqrq0HtHEoy0k2sr9pr X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-02_18,2023-08-01_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=855 spamscore=0 phishscore=0 lowpriorityscore=0 clxscore=1015 priorityscore=1501 suspectscore=0 mlxscore=0 malwarescore=0 impostorscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308020199 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2023-07-14 at 11:34 -0400, Nayna Jain wrote: > On non-UEFI platforms, handle restrict_link_by_ca failures differently. > > Certificates which do not satisfy CA restrictions on non-UEFI platforms > are ignored. > > Signed-off-by: Nayna Jain Reviewed-and-tested-by: Mimi Zohar