Uh oh!
There was an error while loading. Please reload this page.
feat: add make sbom / install-sbom / uninstall-sbom targets - #410
feat: add make sbom / install-sbom / uninstall-sbom targets#410MarkAtwood wants to merge 1 commit into
Conversation
There was a problem hiding this comment.
Pull request overview
Adds SBOM generation and install/uninstall targets to the autotools build so wolfProvider can emit CycloneDX 1.6 and SPDX 2.3 artifacts (via wolfSSL’s gen-sbom script), plus configure-time discovery of required tooling.
Changes:
- Add
make sbom,make install-sbom, andmake uninstall-sbomtargets that stage-install the built artifacts and generate CycloneDX/SPDX outputs. - Add
AC_CHECK_PROGchecks forpython3andpyspdxtoolsinconfigure.ac.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| Makefile.am | Adds SBOM generation and install/uninstall targets and related variables. |
| configure.ac | Adds checks for python3 and pyspdxtools availability. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
a93e1f6 to
8db5499Compare
aidangarske
left a comment
There was a problem hiding this comment.
🐺 Skoll Code Review
Overall recommendation:REQUEST_CHANGES
Findings: 2 total — 2 posted, 0 skipped
Posted findings
- [High] SBOM version lookup breaks clean out-of-tree builds and overrides Automake VERSION —
Makefile.am:60-71 - [Medium] pyspdxtools probe is never enforced by the sbom target —
configure.ac:30, Makefile.am:80-83
Review generated by Skoll.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
MarkAtwood
commented
Jul 9, 2026
Both Skoll findings are against code that isn't in this PR (verified against the current head):
The recipe was refactored into the shared |
MarkAtwood
commented
Jul 9, 2026
Detailed verification — both Skoll findings are against code that isn't in this PRChecked two ways against the reviewed head Finding 1 — "VERSION grep at |
aidangarske
left a comment
There was a problem hiding this comment.
🐺 Skoll Code Review
Overall recommendation:REQUEST_CHANGES
Findings: 2 total — 2 posted, 0 skipped
Posted findings
- [High] SBOM option capture omits configured compiler defines —
scripts/sbom.am:129-131 - [Low] SBOM workflow executes mutable external gen-sbom ref —
.github/workflows/sbom.yml:42-47
Review generated by Skoll.
Uh oh!
There was an error while loading. Please reload this page.
dgarske
left a comment
There was a problem hiding this comment.
@sameehj or @MarkAtwood please see feedback #410 (review)
MarkAtwood
commented
Jul 10, 2026
On the second finding (mutable gen-sbom ref in the workflow): pinned. The |
JacobBarthelmeh
commented
Aug 12, 2026
Retest this please Jenkins. @aidangarske , @dgarske it looks like the review comments got marked as resolved. Can you re-review? |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
ecc3e2e to
4935f31Comparesameehj
commented
Aug 13, 2026
Addressed the 12 Aug review (#410 (review)):
A per-PR |
4b3fc71 to
0d54417CompareAdd CycloneDX + SPDX SBOM targets (make sbom / install-sbom / uninstall-sbom) using the wolfGlass toolkit under tools/sbom/. wolfProvider records wolfSSL and OpenSSL as dependencies, pins SBOM_CONFIG_H at include/config.h, and runs the full stack job on nightly and the ci:sbom label. Do not assign SBOM_GEN or SBOM_VENDOR_DIR in Makefile.am: Automake -Werror treats a second assignment in the included fragment as fatal. Pass the raw OpenSSL version (including BUILD_METADATA) to gen-sbom. CPE 2.3 and PURL identifiers drop the +suffix; versionInfo keeps it. Co-authored-by: Mark Atwood <mark@wolfssl.com> Signed-off-by: Sameeh Jubran <sameeh@wolfssl.com>
e0f47ba to
fd6f10bCompare
Summary
make sbom,make install-sbom, andmake uninstall-sbomtargets to wolfProvider's autotools build for EU CRA compliance evidence (CycloneDX 1.6 + SPDX 2.3 output)AC_CHECK_PROGchecks forpython3andpyspdxtoolsinconfigure.acUsage
WOLFSSL_DIRmust point to a wolfssl checkout containingscripts/gen-sbom(branchfeat/sbom-embedded, ormasteronce wolfSSL/wolfssl#10343 merges).Notes
wolfprovthroughout (matchesAC_INITandlib_LTLIBRARIES), notwolfprovideroptions.h; uses installed wolfssl'soptions.hvia$(WOLFSSL_INCLUDEDIR)/wolfssl/options.h.WOLFSSL_DIRdefaults to$(WOLFSSL_INSTALL_DIR)(set by--with-wolfssl=at configure time)libwolfprov.so.0.0.0(no-version-infoset) —--libpath uses this literal, not the package version1.1.1--with-wolfssl,WOLFSSL_INSTALL_DIRmay be malformed; passWOLFSSL_DIR=explicitly in that case