Re: [PATCH v7 3/5] KEYS: Call the IMA hook to measure keys

From: Lakshmi Ramasubramanian
Date: Thu Nov 14 2019 - 13:24:03 EST


On 11/14/2019 6:54 AM, Mimi Zohar wrote:

No need to Cc David Howells on the entire patch set. ÂJust Cc him,
here, after your tag.
ok

With this patch, keys are now being measured. ÂWith the boot command
line, we can verify the measurement entry against /proc/cmdline. ÂHow
can the key measurement entry be verified? ÂPlease include that
information, here, in this patch description.

Glad you could verify measurement of keys. Thanks a lot for trying it.

Will add information on testing\validating the feature.

Also, can the key data, now included in the measurement list, be used
to verify signatures in the ima-sig or ima-modsig templates? ÂIs there
a way of correlating a signature with a key? ÂPerhaps include a
kselftest as an example.

Mimi

I am not familiar with kselftest. Will take a look and see if it'd be possible to correlate a signature with a key.

thanks,
-lakshmi