From: Lakshmi Ramasubramanian Date: Thu, 31 Oct 2019 15:27:47 +0000 Subject: Re: [PATCH v3 1/9] KEYS: Defined an IMA hook to measure keys on key create or update Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit List-Id: References: <20191031011910.2574-1-nramas@linux.microsoft.com> <20191031011910.2574-2-nramas@linux.microsoft.com> <20191031091041.GO1554@sasha-vm> In-Reply-To: <20191031091041.GO1554@sasha-vm> To: Sasha Levin Cc: zohar@linux.ibm.com, dhowells@redhat.com, matthewgarrett@google.com, jamorris@linux.microsoft.com, linux-kernel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, prsriva@linux.microsoft.com On 10/31/19 2:10 AM, Sasha Levin wrote: Hi Sasha, > On Wed, Oct 30, 2019 at 06:19:02PM -0700, Lakshmi Ramasubramanian wrote: >> Asymmetric keys used for verifying file signatures or certificates >> are currently not included in the IMA measurement list. >> >> This patch defines a new IMA hook namely ima_post_key_create_or_update() >> to measure asymmetric keys. >> >> Signed-off-by: Lakshmi Ramasubramanian > > What are the prerequisites for this patch? I built this patch set on kernel v5.3 I applied the following patch provided by Nayna Jain@IBM and then added my changes: [PATCH v9 5/8] ima: make process_buffer_measurement() generic thanks, -lakshmi