currently the sysfs interface for /sys/kernel/security/ima/measurereq
does not return the measured value.
You could simply call 'sha1sum' on linux
systems to get the sha1 of the file if you need the hash value, which should
be identical to the measurement. This might be easier than scanning the
Would this work in your case?
<firstname.lastname@example.org> Sent by: email@example.com
I was wondering if there is a possibility that I issue a measurement request
and get the result of that request as a return value, so I can work with
it without parsing the measurement list beforehand.