From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E5D0633CF4 for ; Tue, 9 Jan 2024 17:07:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="bm2sihal" 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 409GN27K016942 for ; Tue, 9 Jan 2024 17:07:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=qpktaUmhoBHKw/tg+lo+ajmLJXXwfFT0x4tntdOznqk=; b=bm2sihalGHEcfjQcxAoIPVS1PcvnhgOQlvwPUyCzeVttOxV1Tj5GiqIRByTnI5LeTce1 uIe76s+GXPfgc4qs3RmPtskF6o0acD9LxRiIN/pkvmCWhXkfbm5K/btG+L/0qEiHC9bU V9wS9n0p900DMY/knJNntgEva24Ekwvu8Cm4qgHe4ptZluWNBAPeR9BOyRMULbe4OeeC wBw4giu+I0SOaqDIWce88a8cPB3zpD5aZsafXYWJHX9MgyKgGUgFPe2fSgIgjZzutHyR n/BF0smvjuUkLQhtbuEnvU/7OWLOXP1M5Dj42z4Mn06wU0DIeglT+ow4pDVSOa6+wvxU OQ== Received: from ppma13.dal12v.mail.ibm.com (dd.9e.1632.ip4.static.sl-reverse.com [50.22.158.221]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3vh9m49c7u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 09 Jan 2024 17:07:25 +0000 Received: from pps.filterd (ppma13.dal12v.mail.ibm.com [127.0.0.1]) by ppma13.dal12v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 409FJFRF000926 for ; Tue, 9 Jan 2024 17:07:24 GMT Received: from smtprelay03.wdc07v.mail.ibm.com ([172.16.1.70]) by ppma13.dal12v.mail.ibm.com (PPS) with ESMTPS id 3vfkdk7ma4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 09 Jan 2024 17:07:24 +0000 Received: from smtpav02.dal12v.mail.ibm.com (smtpav02.dal12v.mail.ibm.com [10.241.53.101]) by smtprelay03.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 409H7Nil50266508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 9 Jan 2024 17:07:23 GMT Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 51CCD5805F; Tue, 9 Jan 2024 17:07:23 +0000 (GMT) Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id C3B9958051; Tue, 9 Jan 2024 17:07:12 +0000 (GMT) Received: from [9.47.158.152] (unknown [9.47.158.152]) by smtpav02.dal12v.mail.ibm.com (Postfix) with ESMTP; Tue, 9 Jan 2024 17:07:09 +0000 (GMT) Message-ID: <57d8a51e-d246-4906-b036-45ed09f325fc@linux.ibm.com> Date: Tue, 9 Jan 2024 12:07:00 -0500 Precedence: bulk X-Mailing-List: linux-integrity@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [ima-evm-utils PATCH v3 07/13] Update ima_measurements to define and use a local list of public keys Content-Language: en-US To: Mimi Zohar , linux-integrity@vger.kernel.org References: <20240104190558.3674008-1-zohar@linux.ibm.com> <20240104190558.3674008-8-zohar@linux.ibm.com> From: Stefan Berger In-Reply-To: <20240104190558.3674008-8-zohar@linux.ibm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: rI3fLfwgTCA7GVX581bVLBGcxhpc9feN X-Proofpoint-GUID: rI3fLfwgTCA7GVX581bVLBGcxhpc9feN X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-01-09_08,2024-01-09_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 malwarescore=0 adultscore=0 bulkscore=0 mlxlogscore=999 spamscore=0 suspectscore=0 impostorscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2311290000 definitions=main-2401090138 On 1/4/24 14:05, Mimi Zohar wrote: > Replace calling init_public_keys() with the imaevm_init_public_keys() > version. Similarly replace ima_verify_signature() with the > ima_verify_signature2() version. > > Update the static ima_ng_show() function definition to include a > "public_keys" parameter. > > Free the local public keys list. > > Signed-off-by: Mimi Zohar Reviewed-by: Stefan Berger