You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
build: fixing overlap in provenance filenames that causes race condition with multiple provenance generation jobs (#429)
The `client`, `server`, and `server-redis` provenance generation
workflows each create a
`{windows,linux,macos}-multile-provenance.intoto.jsonl` file that gets
uploaded to the respective tagged releases. However, in an intermediate
step, these files are temporarily uploaded to the workflow workspace
that's shared between all three release types. Very occasionally, a race
condition happens where one release type will overwrite the provenance
file for the other release type before it's able to download it and
upload it to the appropriate tagged release, which results in a SLSA
verification error.
This quick fix to prefix the provenance files with the release type
should remove this overlap/conflict/race condition.
Copy file name to clipboardExpand all lines: PROVENANCE.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -2,18 +2,18 @@
2
2
3
3
LaunchDarkly uses the [SLSA framework](https://slsa.dev/spec/v1.0/about) (Supply-chain Levels for Software Artifacts) to help developers make their supply chain more secure by ensuring the authenticity and build integrity of our published SDK packages.
4
4
5
-
As part of [SLSA requirements for level 3 compliance](https://slsa.dev/spec/v1.0/requirements), LaunchDarkly publishes provenance about our SDK package builds using [GitHub's generic SLSA3 provenance generator](https://github.com/slsa-framework/slsa-github-generator/blob/main/internal/builders/generic/README.md#generation-of-slsa3-provenance-for-arbitrary-projects) for distribution alongside our packages. These attestations are available for download from the GitHub release page for the release version under Assets > `OSNAME-multiple-provenance.intoto.jsonl`.
5
+
As part of [SLSA requirements for level 3 compliance](https://slsa.dev/spec/v1.0/requirements), LaunchDarkly publishes provenance about our SDK package builds using [GitHub's generic SLSA3 provenance generator](https://github.com/slsa-framework/slsa-github-generator/blob/main/internal/builders/generic/README.md#generation-of-slsa3-provenance-for-arbitrary-projects) for distribution alongside our packages. These attestations are available for download from the GitHub release page for the release version under Assets > `OSNAME-PACKAGE-multiple-provenance.intoto.jsonl`.
6
6
7
7
To verify SLSA provenance attestations, we recommend using [slsa-verifier](https://github.com/slsa-framework/slsa-verifier). Example usage for verifying SDK packages for Linux is included below:
8
8
9
9
```
10
10
# Ensure provenance file is downloaded along with packages for your OS
Verified signature against tlog entry index 59501683 at URL: https://rekor.sigstore.dev/api/v1/log/entries/24296fb24b8ad77ad75383b2cf5388a2587a27acf06c948205b60999c208ae5fcbe89fae6a6aae70
0 commit comments