Skip to content

Add SLSA 3 Provenance - #368

Merged
leandrumartin merged 11 commits into
oss-slu:mainfrom
dennisshey:patch-1
Sep 28, 2025
Merged

Add SLSA 3 Provenance#368
leandrumartin merged 11 commits into
oss-slu:mainfrom
dennisshey:patch-1

Conversation

@dennisshey

Copy link
Copy Markdown
Contributor

This PR updates the GitHub Actions workflow to include SLSA 3 compliance for the Pi4Micronaut library JAR artifacts.

  • The workflow now generates verifiable provenance for the JAR files built via Gradle (shadowJar).
  • Provenance ensures that any published library comes directly from this repository, built via GitHub Actions, and cannot be tampered with.

Changes

  • Added permissions for OIDC-based provenance signing (id-token: write, contents: write).
  • Added a step to generate SLSA provenance for all JAR files in pi4micronaut-utils/build/libs/*.jar.
  • Uploaded the JAR artifact in the workflow so it can be referenced for verification.

Why

  • Supply chain security is critical for open-source libraries. By adopting SLSA 3:
  • Downstream users and projects can independently verify the authenticity of library releases.
  • The build process becomes tamper-evident and traceable to the exact source commit.

Signed-off-by: dennisshey <143208428+dennisshey@users.noreply.github.com>
@CLAassistant

CLAassistant commented Sep 15, 2025

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ leandrumartin
❌ dennisshey
You have signed the CLA already but the status is still pending? Let us recheck it.

Signed-off-by: dennisshey <143208428+dennisshey@users.noreply.github.com>
Signed-off-by: dennisshey <143208428+dennisshey@users.noreply.github.com>
Signed-off-by: dennisshey <143208428+dennisshey@users.noreply.github.com>
Signed-off-by: dennisshey <143208428+dennisshey@users.noreply.github.com>
Signed-off-by: dennisshey <143208428+dennisshey@users.noreply.github.com>
Signed-off-by: dennisshey <143208428+dennisshey@users.noreply.github.com>
Signed-off-by: dennisshey <143208428+dennisshey@users.noreply.github.com>
@leandrumartin
leandrumartin merged commit 07f70e1 into oss-slu:main Sep 28, 2025
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants