]> asedeno.scripts.mit.edu Git - linux.git/commit
efi: Allow the "db" UEFI variable to be suppressed
authorJosh Boyer <jwboyer@fedoraproject.org>
Sat, 8 Dec 2018 20:27:04 +0000 (01:57 +0530)
committerMimi Zohar <zohar@linux.ibm.com>
Thu, 13 Dec 2018 03:09:10 +0000 (22:09 -0500)
commit386b49f51dc24d1f9139eb11f49aa075eeb35363
treea9c07a6c594719a8faab034bbb4f8e9d129defb5
parent15ea0e1e3e185040bed6119f815096f2e4326242
efi: Allow the "db" UEFI variable to be suppressed

If a user tells shim to not use the certs/hashes in the UEFI db variable
for verification purposes, shim will set a UEFI variable called
MokIgnoreDB. Have the uefi import code look for this and ignore the db
variable if it is found.

[zohar@linux.ibm.com: removed reference to "secondary" keyring comment]
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Nayna Jain <nayna@linux.ibm.com>
Acked-by: Serge Hallyn <serge@hallyn.com>
Reviewed-by: James Morris <james.morris@microsoft.com>
Signed-off-by: Mimi Zohar <zohar@linux.ibm.com>
security/integrity/platform_certs/load_uefi.c