-
Notifications
You must be signed in to change notification settings - Fork 878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
release: Add all artifact files to checksums file #1588
base: main
Are you sure you want to change the base?
Conversation
ffefb8f
to
44686ad
Compare
@hiddeco since you know a lot more about goreleaser, can you take a look at this one? |
44686ad
to
5251a37
Compare
I have rebased the branch |
The reason I omitted the SBOMs is that they can still be verified using SLSA which is IMHO far superior to checksum verification. There is no special reason for the packages, but I do recall something about not all names in the generated checksum file being true to their name as published for the release and/or there being duplicate entries without providing an explicit list. |
So for me, the question is:
I would recommend keeping only The release documentation would need to be updated though, to explain that binary integrity should be verified through SLSA verification. I will open another PR in that direction. |
Here is the alternative PR to remove |
Since |
Why: * goreleaser will automatically include all relevant checksums in the checksum file Signed-off-by: Sebastien Duthil <duthils@duthils.net>
5251a37
to
92ee1d7
Compare
I'm fine with that option as well. Since both PR are open, we only need to merge one and close the other. I have rebased the branch. |
As discussed in #1539, the checksum file is missing Linux packages and, as a matter of fact, a few more files like the SBOM artifact.
As stated in the
goreleaser
documentation for therelease.ids
setting:As a result, before the change, I got this checksum file (simplified)
sops-v3.9.0.checksums.txt
:After the change:
For reference, the
release.ids
value insops
was introduced in the first version of the goreleaser config file: 02de4a8