Repository navigation
sbom: move to wolfssl-compliance-tooling and pin its current master - #964
Merged
danielinux merged 4 commits intoNov 19, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The changes break existing Zephyr CLI callers, require Python for unrelated CMake configurations, and fail to capture user settings in compiler-cached Zephyr builds.
3 open issues
What changed in this PR
Migrates wolfBoot’s vendored SBOM tooling from wolfGlass to wolfssl-compliance-tooling, pins revision 8a96c64, and updates build integration and drift checking.
Changes:
- Renames Make/CMake entry points, upstream references, and revision tracking.
- Imports updated generation, validation, and source-extraction tooling.
- Adds CMake SBOM install/uninstall targets and build-time reproducible timestamps.
| File | Description |
|---|---|
tools/scripts/wolfboot-sbom.sh |
Updates the wrapper comment. |
tools/scripts/ide-sbom/zephyr_sbom.py |
Updates the wrapper docstring. |
tools/scripts/ide-sbom/validate_sbom.py |
Updates the wrapper docstring. |
tools/scripts/ide-sbom/iar_sbom.py |
Updates the wrapper docstring. |
tools/scripts/ide-sbom/compdb_sbom.py |
Updates the wrapper docstring. |
tools/sbom/validate_sbom.py |
Improves input validation and read errors. |
tools/sbom/sbom.am |
Extends artifact, dependency, and metadata options. |
tools/sbom/sbom-driver.py |
Updates input contracts and generator options. |
tools/sbom/sbom-driver |
Updates the shell-wrapper comment. |
tools/sbom/README.md |
Documents renamed tooling and expanded interfaces. |
tools/sbom/gen-sbom |
Adds atomic output writes and configurable copyright metadata. |
tools/sbom/frontends/zephyr_sbom.py |
Switches to compilation-database source extraction. |
tools/sbom/frontends/included_sources.py |
Adds scanning for included source files. |
tools/sbom/frontends/iar_sbom.py |
Honors configuration-specific source exclusions. |
tools/sbom/frontends/compdb_sbom.py |
Adds source scanning, filtering, and macro-conflict checks. |
tools/sbom/build/uninstall-sbom.cmake |
Removes installed SBOM artifacts. |
tools/sbom/build/sbom.mk |
Renames the Make macro and expands supported options. |
tools/sbom/build/sbom.cmake |
Updates the helper and adds installation targets. |
tools/sbom/build/sbom-with-sde.cmake |
Applies reproducible timestamps at build time. |
tools/sbom/build/sbom-paths.cmake |
Resolves SBOM paths for installation and removal. |
tools/sbom/build/install-sbom.cmake |
Installs SBOM artifacts with staging support. |
tools/sbom/.wolfssl-compliance-tooling-rev |
Pins the new upstream revision. |
tools/sbom/.wolfglass-rev |
Removes the old revision pin. |
README.md |
Updates the tooling name in release notes. |
Makefile |
Calls the renamed HAL SBOM macro. |
docs/SBOM.md |
Updates tooling and drift-check references. |
cmake/sbom.cmake |
Calls the renamed CMake helper. |
.gitignore |
Updates the vendored-directory comment. |
.github/workflows/test-sbom.yml |
Retargets drift checking to the renamed repository. |
Review effort: Balanced
Frauschi
reviewed
Oct 30, 2026
Frauschi
left a comment
Member
There was a problem hiding this comment.
Copilot already covers the Zephyr --cmakelists break and the new python3 requirement at configure time, so I left those out. A few more below. Apart from the CI one they're all in the vendored tools/sbom/ files, so the fixes probably belong upstream in wolfssl-compliance-tooling, followed by a re-sync here.
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.
…es from west - 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.
sameehj
force-pushed
the
sbom/rename-compliance-tooling
branch
from
November 19, 2026 08:56
35863ea to
e854c68
Compare
…e database The CMake step now runs install-sbom under DESTDIR and checks that both documents arrive, then runs uninstall-sbom and checks that they are gone. The Zephyr step no longer passes the removed --cmakelists option. A small CMake project defines the zephyr_library macros, configures zephyr/CMakeLists.txt and hands that compile_commands.json to the front end. The SBOM must name the six module sources.
Member
Brings toolkit wolfSSL#58: one timestamp for Make and CMake when --root is passed, one gen-sbom --help per run, and the Windows DESTDIR path in install-sbom and uninstall-sbom.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


wolfGlass is now wolfssl-compliance-tooling. Its master removed the old macro, function, and script names, so a re-sync alone breaks the build.
The CMake helper now also adds install-sbom and uninstall-sbom targets.