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
I've poked at this in the debugger and the culprit is the --source-tag 1.16.0 arg aqua is passing to slsa-verifier. Verifying without that arg with plain slsa-verifier succeeds, and that's what they document as the way to verify the provenance at https://jreleaser.org/guide/latest/provenance.html#_slsa
I'm not sure if there's anything that could be passed as the source tag in this case, at least I haven't been able to come up with one.
Should there be a way to make aqua not pass the --source-tag arg?
Thank you for your report!
For now there is no way to omit --source-tag.
I think ref is empty because Jreleaser's release workflow is triggerred via workflow_dispatch.
$ slsa-verifier verify-artifact --helpVerifies SLSA provenance on artifact blobs given as arguments (assuming same provenance)Usage: slsa-verifier verify-artifact [flags] artifact [artifact..]Flags: --build-workflow-input map[] [optional] a workflow input provided by a user at trigger time in the format 'key=value'. (Only for 'workflow_dispatch' events on GitHub Actions). (default map[])
aqua info
Overview
I'm trying to add SLSA provenance verification to jreleaser/jreleaser, registry.yaml diff:
(It'll need a re-scaffold but let's set that aside for now.)
Installing from the modified registry yields this error:
I've poked at this in the debugger and the culprit is the
--source-tag 1.16.0
arg aqua is passing toslsa-verifier
. Verifying without that arg with plain slsa-verifier succeeds, and that's what they document as the way to verify the provenance at https://jreleaser.org/guide/latest/provenance.html#_slsaI'm not sure if there's anything that could be passed as the source tag in this case, at least I haven't been able to come up with one.
Should there be a way to make aqua not pass the
--source-tag
arg?How to reproduce
aqua.yaml
Other related code such as local Registry
Executed command and output
Expected behaviour
Verification success
Actual behaviour
Verification failure as described above
Note
The text was updated successfully, but these errors were encountered: