slsa
slsa copied to clipboard
Provenance: remove or clarify duplication between `configSource` and `materials`
In SLSA provenance v0.2 specification, there two separate places for build material references:
- build entry point in
invocation.configSource; - build materials in
materials.
The examples presents the top-level source repo in both places, i.e. two identical copies of "uri" and "digest" tuples. However, some may find this duplication undesirable, as it could lead to inconsistencies.
Alternatively, could we adopt a no-duplication presentation, i.e. top-level source only appear in invocation.configSource, not again in materials? The downside is that the materials list won't contain all build materials.
Please clarify. Thanks~