ima-evm-utils: miscellanous code clean up and bug fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | ima-evm-utils: fix PCRAggr error messagesrc/ | +1 | 0 replies | |
| 2/6 | ima-evm-utils: fix measurement violation checkingsrc/ | +13 | 0 replies | |
| 3/6 | ima-evm-utils: don't hardcode validating the IMA measurement listsrc/ | +6 | 0 replies | |
| 4/6 | ima-evm-utils: calculate and verify the template data digestsrc/ | +7 | 0 replies | |
| 5/6 | ima-evm-utils: use uint32_t for template lengthsrc/ | +2 | 0 replies | |
| 6/6 | ima-evm-utils: define a basic hash_info.h filesrc/ src/ | +44 | 3 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] ima-evm-utils: miscellanous code clean up and bug fixes
The IMA LTP and standalone tests supported a number of features properly, but were not carried forward in ima-evm-utils. For example, hard coding "fixing" file time of measure, time of use (ToMToU) violations, rather than requiring the "--validate" command option. Similarly, verifying the template data digest against the template data should be optional ("--verify").
On some older systems, the Linux kernel header package does not include "hash_info.h", which results in the crypto algorithm strings not being defined. To address this problem, hash_info.gen defines a "heredoc" to generate the "hash_info.h" file.
The remaining changes are simple bug fixes.
Mimi
Mimi Zohar (6):
ima-evm-utils: fix PCRAggr error message
ima-evm-utils: fix measurement violation checking
ima-evm-utils: don't hardcode validating the IMA measurement list
ima-evm-utils: calculate and verify the template data digest
ima-evm-utils: use uint32_t for template length
ima-evm-utils: define a basic hash_info.h file
src/Makefile.am | 2 +- src/evmctl.c | 38 ++++++++++++++++++++++++++++---------- src/hash_info.gen | 43 +++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 72 insertions(+), 11 deletions(-)
Signature · 1 line
2.7.5