- Re-pin with wolfssl-compliance-tooling-sync. The pin brings the python3
fallback (configure no longer needs python3), the TARGETS/LIB checks,
the launcher strip in the Zephyr front end and the weak-entropy marker.
- The Zephyr front end reads the compile_commands.json of a west build.
The ide-sbom wrapper now sets --root, not the removed --cmakelists, and
docs/SBOM.md shows the west command.
wolfGlass is now wolfssl-compliance-tooling. Its master removed the old
macro, function, and script names, so a re-sync alone breaks the build.
- Re-vendor tools/sbom/ at 8a96c64 and pin it in
.wolfssl-compliance-tooling-rev.
- Call wolfssl_compliance_tooling_sbom_rule in the Makefile and
wolfssl_compliance_tooling_add_sbom in cmake/sbom.cmake.
- Point the drift check at wolfSSL/wolfssl-compliance-tooling and rename
the job to compliance_tooling_drift.
- Use the new name in the docs and comments.
The CMake helper now also adds install-sbom and uninstall-sbom targets.
wolfBoot ships as source. Users build it in many ways. Before this
change, only the plain Make build could make an SBOM. So a user could not
make an SBOM for the build that the user runs.
This change adds one shared engine (tools/scripts/wolfboot-sbom.sh, which
calls wolfSSL gen-sbom) and a front end for each build system. Every
build makes a CycloneDX 1.6 and SPDX 2.3 document. The engine captures
the configuration with the host compiler, so the SBOM is the same for
GCC, Clang, LLVM, IAR, armcl, CCRX, and XC32.
Routes:
- Make, arch.mk, and vendor SDKs: make sbom TARGET=<t> SIGN=<a>
- CMake and the Pico SDK: cmake --build <dir> --target sbom
- IAR Embedded Workbench: ide-sbom/iar_sbom.py
- Any IDE with a compilation database: ide-sbom/compdb_sbom.py
- TI CCS, MPLAB X, Renesas, Xilinx: ide-sbom/route_through_sbom.sh
- Per-HAL component: make sbom-hal TARGET=<t>
- Zephyr module: ide-sbom/zephyr_sbom.py
Make the SBOM reproducible. The captured macros can hold an absolute host
path. For example, arch.mk passes -DPICO_SDK_PATH=$(PICO_SDK_PATH). The
driver now redacts each absolute path but keeps the macro name, so the
configuration record stays complete. Add --no-scrub for debug.
Add a validator (ide-sbom/validate_sbom.py) and a CI canary
(.github/workflows/test-sbom.yml) that runs and validates every route.
The canary also checks that no host path leaks into the SBOM.
Add docs/SBOM.md. The tools are product-neutral by design, so they can be
shared across wolfSSL products later without logic changes.
Signed-off-by: Sameeh Jubran <sameeh@wolfssl.com>