audk/OvmfPkg/EnrollDefaultKeys
Gary Lin 89d7c543cf OvmfPkg/EnrollDefaultKeys: import the non-default key into db
For QA test and development, we may need to test Secure Boot with a
devel key instead of UEFI CA.

This commit adds an argument, "--no-default", to EnrollDefaultKeys.efi.
With the argument, the key from SMBIOS Type 11 will also be enrolled
into db. Besides, the keys in AuthData.c, i.e. Microsoft KEK CA,
Microsoft PCA, and Microsoft UEFI CA will be excluded, so the developer
can easily create a varstore template for a specific key.

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Signed-off-by: Gary Lin <glin@suse.com>
Message-Id: <20190516030834.12203-1-glin@suse.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2019-05-16 15:36:04 +02:00
..
AuthData.c OvmfPkg/EnrollDefaultKeys: remove Red Hat's hard-coded PK/KEK1 2019-04-30 14:26:49 +02:00
EnrollDefaultKeys.c OvmfPkg/EnrollDefaultKeys: import the non-default key into db 2019-05-16 15:36:04 +02:00
EnrollDefaultKeys.h OvmfPkg/EnrollDefaultKeys: remove Red Hat's hard-coded PK/KEK1 2019-04-30 14:26:49 +02:00
EnrollDefaultKeys.inf OvmfPkg/EnrollDefaultKeys: enroll PK/KEK1 from the Type 11 SMBIOS table 2019-04-30 14:26:46 +02:00