[LTP] [RFC PATCH 0/2] IMA: Rewrite tests into new API + fixes
Petr Vorel
pvorel@suse.cz
Fri Jan 26 19:11:30 CET 2018
Hi,
> > > For the new template format measurement lists, walking the measurement
> > > list, re-calculating the PCRs and comparing them with the HW or vTPM
> > > PCRs fail. ??The ima-evm-utils package has a working version. ??Invoke
> > > "evmctl" with the "ima_measurement" option.
> > So you mean that src/ima_measure.c is broken and should be replaced by evmctl from your
> > repository on sf.net [4]? Fortunately this package is on all major distros [5] (except
> > Debian, but Ubuntu package is installable on Debian), so we don't need to include your
> > repository as submodule.
> Well if the package is included in major distributions we may as just
> state the dependency in the README and TCONF the test if it's not
> installed.
Agree.
BTW it would be nice if tst_check_cmds() allowed to print custom message.
Something like:
tst_check_cmds -m "install ima-evm-utils package or compile it from sources"
"from https://git.code.sf.net/p/linux-ima/ima-evm-utils" evmctl
Maybe this idea is corner case, I'll just test it without help of tst_check_cmds.
Kind regards,
Petr
More information about the ltp
mailing list