mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 10:07:52 +00:00
If enabled, we fallback to the platform keyring if the trusted keyring doesn't have the key used to sign the ipe policy. But if pkcs7_verify() rejects the key for other reasons, such as usage restrictions, we do not fallback. Do so, following the same change in dm-verity. Signed-off-by: Luca Boccassi <[email protected]> Suggested-by: Serge Hallyn <[email protected]> [FW: fixed some line length issues and a typo in the commit message] Signed-off-by: Fan Wu <[email protected]>