-
Notifications
You must be signed in to change notification settings - Fork 38
Description
In-toto 1.0 has been released 🎉 and it includes a couple of major enhancements that seem relevant to the Chainloop project.
New upstream predicates and guidelines available
Chainloop uses a custom predicate chainloop.dev/attestation/v0.1
. We should re-evaluate the need of our custom predicate or use an existing one. If we still do, we should make sure it adheres to the guidelines and if it would make sense to try to upstream it.
Attestation bundle
The new attestation bundle can be specially handy in the context of #53. It will allow us to bundle not only the Chainloop generated DSSE envelope but any other generated envelope.
For extensibility in the future, it might be a good idea to default to a bundle for communication with the control-plane
Resource descriptor
Currently Chainloop encodes the materials in the attestation like this. It's basically an extension of a slsa material (with digest and URI) plus some additional metadata used by the Chainloop controlplane for validation and routing (name and type)
The new resource descriptor might be a good fit to replace that custom type. The annotations
field could contain the custom chainloop types.
"materials": [
{
"material": {
"slsa": {
"digest": {
"sha256": "7e5f829611edeedf36a7318f78e6914b85a8e2f90ac8628cc868b2e87204d93b"
},
"uri": "ghcr.io/chainloop-dev/frontend"
}
},
"name": "frontend",
"type": "CONTAINER_IMAGE"
},
{
"material": {
"slsa": {
"digest": {
"sha256": "092252ea069679c658a949748ca0bee9405d36630d6b460964c7225708de0bb5"
},
"uri": "sbom.cyclonedx.json"
}
},
"name": "frontend-sbom",
"type": "SBOM_CYCLONEDX_JSON"
}
],
Congrats @adityasaky, @TomHennen and rest of the team for the release!
Feel free to drop any thoughts or comments, always appreciated!
TODO
- Look into attestation bundles
- Resource descriptors in predicate materials
- Resource descriptors as subject items