Repository navigation
Conversation
This commit adds a blog post about the deprecation of the old slsa tools (`slsa-github-generator` and `slsa-verifier`) and the introduction of the new generation of tooling. Signed-off-by: Adolfo García Veytia (Puerco) <puerco@carabiner.dev>
👷 Deploy request for slsa pending review.Visit the deploys page to approve it
|
| decisions that made the launch possible are the ones that became hard to | ||
| carry once the tools had done their job and the world around them moved. | ||
|
|
||
| ## Why the tooling is evolving |
There was a problem hiding this comment.
These three sections are really helpful context for those who care about the tooling, but having them before talking about the new projects buries the lede. Can these sections be in an appendix or reordered to be a later section?
| new attestation format or a new builder meant a code change in both projects | ||
| and a release of each, with the loop above in between. | ||
|
|
||
| ### Maintainer involvement changed |
There was a problem hiding this comment.
I'm not sure we should call this out, or at least not in so much detail. It's transparent and fair to recognize that maintainers of OSS come and go. But a question might arise - what will prevent the new projects from atrophying as well? By releasing these new tools, we're saying that the SLSA community will support these as best we can because we fixed the problems noted above. Even if we still have maintainers on the old projects, I think we've made the right calls to simplify, so I'd rather not overemphasize maintainer changes.
| produced. Artifacts can be read as subjects from binaries, workflow artifacts, | ||
| release assets and SBOMs. The verifier checks build provenance, source provenance | ||
| and VSAs with one command each, and computes the SLSA level from a catalog of | ||
| controls written in YAML and CEL rather than hardcoded in Go: the catalog is 31 |
There was a problem hiding this comment.
The numbers seem a bit too detailed for a blog post
| [slsa-framework/actions](https://github.com/slsa-framework/actions): a | ||
| reusable workflow that attests a run, actions that compute and attest SLSA | ||
| source levels, and actions that verify build provenance, source provenance | ||
| and VSAs in CI. That repository contains no Go and no TypeScript. It is |
There was a problem hiding this comment.
Rather than mention languages, maybe we should say that they're as simple as possible to understand and maintain?
| #### Composable services | ||
|
|
||
| The actions in | ||
| [slsa-framework/actions](https://github.com/slsa-framework/actions): a |
There was a problem hiding this comment.
Should we discuss why you could use this for build instead of the native GitHub Artifact Attestations?
There was a problem hiding this comment.
Ah, I see we do below. I think we should mention that earlier.
|
|
||
| ## What this means for you | ||
|
|
||
| If you produce provenance with `slsa-github-generator`, the generic |
There was a problem hiding this comment.
Should we just point them to the migration guide, rather than add any more details here?
justaugustus
left a comment
There was a problem hiding this comment.
@puerco @Hayden-IO — This is awesome to see!
As a long-time user and project (OpenSSF Scorecard) that attempts to detect these signals to "qualify" a project's security, do you have recommendations for downstream implementers on what changes they should make to tooling?
I've filed ossf/scorecard#5412 to track the Scorecard-specific components, but it'd be great to have this front-and-center for special-cased consumers/implementers.
|
I assume Scorecard is looking for an attestation somewhere? This tool isn't opinionated on where that attestation shows up, although @puerco and I were discussing whether pushing attestations to registries was something we should support. (maybe we could support appending the attestation to a specified GitHub release?) So Scorecard will need to search for the attestation, in well-known locations per registry, in the GitHub release, and via the GitHub artifact attestations API. I see that Scorecard verifies provenance. If you don't mind, could you go through the linked migration guide and make sure it's clear on how to switch from slsa-verifier to the new verifier CLI? |
The migration guide was not live when I originally posted this, but I'm happy to put it on the review stack now! :) |
Signed-off-by: Adolfo Garcia Veytia (puerco) <puerco@carabiner.dev>
This commit adds a blog post about the deprecation of the old slsa tools (
slsa-github-generatorandslsa-verifier) and the introduction of the new generation of tooling.