Re: [PATCH v3 1/9] KEYS: Defined an IMA hook to measure keys on key create or update

From: Sasha Levin
Date: Thu Oct 31 2019 - 05:10:47 EST


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 <nramas@xxxxxxxxxxxxxxxxxxx>

What are the prerequisites for this patch?

--
Thanks,
Sasha