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
Description/Requirements
At the moment, Macaron is using slsa-verifier to verify the content of SLSA provenances. We uses it directly out of the box, therefore, it is built from source to generate a binary which will then be invoked by Macaron. For example, this is the step where we prepare the slsa-verifier binary Makefile.
This works fine, however, we are doing an extra step to generate the binary from source (as compare to using Go to build the whole Go module automatically.) and the version of slsa-verifier is hard-coded not in the conventional go.mod. This would make it very difficult to maintain and update automatically by Dependabot.
Solution
We could address the above issue by writing a simple wrapper using slsa-verifier as a third-party dependency Go library.
In terms of licensing, we won't have any issue as slsa-verifier has been approved prior to open-sourcing.
The text was updated successfully, but these errors were encountered:
To do it properly, our wrapper must need to extend the package here with our implementation of how to handle the parameters. However, it does not make sense as we are not extending the CLI tool or the slsa-verifier package. In additions, we might want to switch to using their remote API in the future. It won't give us any significant benefit atm. I will leave this issue open to future visit.
Description/Requirements
At the moment, Macaron is using slsa-verifier to verify the content of SLSA provenances. We uses it directly out of the box, therefore, it is built from source to generate a binary which will then be invoked by Macaron. For example, this is the step where we prepare the
slsa-verifier
binary Makefile.This works fine, however, we are doing an extra step to generate the binary from source (as compare to using Go to build the whole Go module automatically.) and the version of
slsa-verifier
is hard-coded not in the conventionalgo.mod
. This would make it very difficult to maintain and update automatically by Dependabot.Solution
We could address the above issue by writing a simple wrapper using
slsa-verifier
as a third-party dependency Go library.In terms of licensing, we won't have any issue as
slsa-verifier
has been approved prior to open-sourcing.The text was updated successfully, but these errors were encountered: