diff options
author | Mimi Zohar <[email protected]> | 2022-06-30 11:23:38 -0400 |
---|---|---|
committer | Mimi Zohar <[email protected]> | 2022-07-06 22:31:52 -0400 |
commit | 9fab303a2cb3d323ca3a32a8b4ab60b451141901 (patch) | |
tree | cbbdd930d8c4fa127f7a39fe5ae298f4a9b080dd /scripts/gdb/linux/utils.py | |
parent | 51dd64bb99e4478fc5280171acd8e1b529eadaf7 (diff) |
ima: fix violation measurement list record
Although the violation digest in the IMA measurement list is always
zeroes, the size of the digest should be based on the hash algorithm.
Until recently the hash algorithm was hard coded to sha1. Fix the
violation digest size included in the IMA measurement list.
This is just a cosmetic change which should not affect attestation.
Reported-by: Stefan Berger <[email protected]>
Fixes: 09091c44cb73 ("ima: use IMA default hash algorithm for integrity violations")
Tested-by: Stefan Berger <[email protected]>
Signed-off-by: Mimi Zohar <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions