diff options
author | Eric Snowberg <[email protected]> | 2023-08-17 10:04:07 -0400 |
---|---|---|
committer | Jarkko Sakkinen <[email protected]> | 2023-08-17 20:12:41 +0000 |
commit | 218a2680624cba1611e3dfc7d9b646d240e5f855 (patch) | |
tree | 33548ea3ed0da3ffab3e7cac612ad093e50eb701 /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | 2ccf8c76b4fb38deb25af3830aa9489b6a374621 (diff) |
certs: Reference revocation list for all keyrings
Systems booted with shim have a Forbidden Signature Database called mokx.
During boot, hashes and certs contained within the mokx are loaded into the
blacklist keyring. When calling verify_pkcs7_message_sig the contents of
the blacklist keyring (or revocation list) are referenced when validating
keys on the platform keyring. Currently, when validating against the
secondary or builtin keyrings, the revocation list is not referenced. Move
up the check to allow the revocation list to be used with all keyrings,
including the secondary and builtin, allowing the system owner to take
corrective action should a vulnerability be found within keys contained
within either keyring.
Signed-off-by: Eric Snowberg <[email protected]>
Reviewed-by: Mimi Zohar <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions