[PATCH] sandbox: enable keytoc in hosttools_defconfig

Thomas Bonnefille thomas.bonnefille at bootlin.com
Thu Jul 30 05:53:20 PDT 2026


keytoc generates a C representation of a cryptographic key from a PEM
file. This is useful to embed a key in barebox, for example for secure
boot when barebox needs to verify the next boot stage.

Enable CONFIG_KEYTOC in hosttools_defconfig, as this defconfig is meant
to build the useful host tools provided by barebox.

Signed-off-by: Thomas Bonnefille <thomas.bonnefille at bootlin.com>
---
 arch/sandbox/configs/hosttools_defconfig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/sandbox/configs/hosttools_defconfig b/arch/sandbox/configs/hosttools_defconfig
index 22b50ab08a..dc335a6c33 100644
--- a/arch/sandbox/configs/hosttools_defconfig
+++ b/arch/sandbox/configs/hosttools_defconfig
@@ -6,3 +6,4 @@ CONFIG_MVEBU_HOSTTOOLS=y
 CONFIG_OMAP3_USB_LOADER=y
 CONFIG_OMAP4_HOSTTOOL_USBBOOT=y
 CONFIG_RK_USB_LOADER=y
+CONFIG_KEYTOC=y

---
base-commit: 11e39e515f94fca224c799c85e712643316db762
change-id: 20260730-add-keytoc-to-hosttools-f7b9e15c2c57

Best regards,
--  
Thomas Bonnefille <thomas.bonnefille at bootlin.com>




More information about the barebox mailing list