Loading
!5363 [OLK-6.6] ima: Support modsig verify using trusted keys
Merge Pull Request from: @HuaxinLuGitee **commit 1:** Now the ima keyring is only allowed loading the end certificate because of the restriction restrict_link_by_digsig(). However, the period of validity of end certificates is usually short and cannot meet the lifecycle requirements of the LTS distribution. So this commit modifies the verification process of modsig used by the IMA digest list feature. When the verification with the IMA keyring is failed, a further verification with the trusted keyring is attempted. issue: https://gitee.com/openeuler/kernel/issues/I99VV3 **commit 2:** Enable IMA modsig by default, it is used by IMA digest list feature issue: https://gitee.com/openeuler/kernel/issues/I967Z0 Link:https://gitee.com/openeuler/kernel/pulls/5363 Reviewed-by:Zhu Jianwei <zhujianwei7@huawei.com> Signed-off-by:
Zheng Zengkai <zhengzengkai@huawei.com>