diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2021-02-08 14:28:03 +0100 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-03-28 15:56:24 +0000 |
commit | 2ef2e4793a511922d7b5c3a5ea79b45689cd4ec0 (patch) | |
tree | a55f63fdba124faa510a3f209d448d13a1e554df /src/security/intel/cbnt/Kconfig | |
parent | 21176ddd5708beaef2d6a3aae032c307f65edaa1 (diff) |
security/intel/cbnt: Add option to generate KM
This add an option to generate KM using the 9elements bg-prov tool
using a json config file.
The option to just include a provided KM binary is kept.
A template for the json config file can be obtained via
"bg-prov template".
Another option is to extract it from a working configuration:
"bg-prov read-config".
Change-Id: I18bbdd13047be634b8ee280a6b902096a65836e4
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/50409
Reviewed-by: Christian Walter <christian.walter@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/security/intel/cbnt/Kconfig')
-rw-r--r-- | src/security/intel/cbnt/Kconfig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/security/intel/cbnt/Kconfig b/src/security/intel/cbnt/Kconfig index 11e09200f0..8c4d999043 100644 --- a/src/security/intel/cbnt/Kconfig +++ b/src/security/intel/cbnt/Kconfig @@ -16,6 +16,25 @@ config INTEL_CBNT_SUPPORT if INTEL_CBNT_SUPPORT +config INTEL_CBNT_GENERATE_KM + bool "Generate Key Manifest (KM)" + default y + select INTEL_CBNT_NEED_KM_PUB_KEY + select INTEL_CBNT_NEED_KM_PRIV_KEY + help + Select y to generate the Key Manifest (KM). + Select n to include a KM binary. + +config INTEL_CBNT_BG_PROV_CFG_FILE + string "CBnT json config file" + depends on INTEL_CBNT_GENERATE_KM + help + Location of the bg-prov json config file. + Either get a sample JSON config file: + $ bg-prov template + Or extract it from a working configuration: + $ bg-prov read-config + config INTEL_CBNT_NEED_KM_PUB_KEY bool @@ -54,6 +73,7 @@ config INTEL_CBNT_BPM_PRIV_KEY_FILE config INTEL_CBNT_KEY_MANIFEST_BINARY string "KM (Key Manifest) binary location" + depends on !INTEL_CBNT_GENERATE_KM help Location of the Key Manifest (KM) |