integrity: add new keyring handler for mok keys
Currently both Secure Boot DB and Machine Owner Keys (MOK) go through the same keyring handler (get_handler_for_db). With the addition of the new machine keyring, the end-user may choose to trust MOK keys. Introduce a new keyring handler specific for MOK keys. If MOK keys are trusted by the end-user, use the new keyring handler instead. Signed-off-by:Eric Snowberg <eric.snowberg@oracle.com> Reviewed-by:
Mimi Zohar <zohar@linux.ibm.com> Reviewed-by:
Jarkko Sakkinen <jarkko@kernel.org> Tested-by:
Mimi Zohar <zohar@linux.ibm.com> Signed-off-by:
Jarkko Sakkinen <jarkko@kernel.org>
Showing
- security/integrity/platform_certs/keyring_handler.c 16 additions, 1 deletionsecurity/integrity/platform_certs/keyring_handler.c
- security/integrity/platform_certs/keyring_handler.h 5 additions, 0 deletionssecurity/integrity/platform_certs/keyring_handler.h
- security/integrity/platform_certs/load_uefi.c 2 additions, 2 deletionssecurity/integrity/platform_certs/load_uefi.c
Please register or sign in to comment