From b12ab853446423cfebbafded36f894349ad2ae59 Mon Sep 17 00:00:00 2001 From: Tim Trippel Date: Wed, 4 Dec 2024 22:16:04 -0800 Subject: [PATCH] [provisioning] add sc-hsm-embedded PKCS11 .so as orchestrator dep This adds the sc-hsm-embedded PKCS11 shared object, thas is built in this repo to support Nitrokey signing flows, as a dep to the orchestrator ZIP so it can be used in offline provisioning environments. Signed-off-by: Tim Trippel --- sw/host/provisioning/orchestrator/README.md | 3 ++- sw/host/provisioning/orchestrator/src/BUILD | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/sw/host/provisioning/orchestrator/README.md b/sw/host/provisioning/orchestrator/README.md index 95568a6fcc727..0264e1535ec50 100644 --- a/sw/host/provisioning/orchestrator/README.md +++ b/sw/host/provisioning/orchestrator/README.md @@ -63,7 +63,8 @@ export ORCHESTRATOR_ZIP="${ORCHESTRATOR_RUN_DIR}/orchestrator.zip" unzip ${ORCHESTRATOR_ZIP} \ "runfiles/lowrisc_opentitan/*" \ "runfiles/openocd/*" \ - "runfiles/provisioning_exts/*" + "runfiles/provisioning_exts/*" \ + "runfiles/sc_hsm/*" # All external dependencies are mapped under # runfiles/lowrisc_opentitan/external. diff --git a/sw/host/provisioning/orchestrator/src/BUILD b/sw/host/provisioning/orchestrator/src/BUILD index 6423543b201c0..86e76f52f9448 100644 --- a/sw/host/provisioning/orchestrator/src/BUILD +++ b/sw/host/provisioning/orchestrator/src/BUILD @@ -84,6 +84,7 @@ filegroup( "//third_party/openocd:jtag_cmsis_dap_adapter_cfg", "//third_party/openocd:jtag_olimex_cfg", "//third_party/openocd:openocd_bin", + "@sc_hsm", ], )