Loading
ima: Support modsig verify using trusted keys
euleros inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/I99VV3 CVE: NA ----------------------------------------- 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. 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. Signed-off-by:Huaxin Lu <luhuaxin1@huawei.com>