-
Notifications
You must be signed in to change notification settings - Fork 105
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
Invalid Release Checksum Format #309
Comments
I opened an issue but it looks like the action is not maintained based on the open PR that has been around for months. If the maintainer does not respond soon I would switch back to generating the checksum manually. |
The maintainer said:
|
Pulling into #307 and retesting sounds good! Apologies I got the sha generation files wrong, thanks for fixing this! |
Re-opening as the checksum change was reverted in #332. |
Since a recent PR to move away from using a missing GH Action - #305 - it appears the release checksum files are in an invalid state.
When attempting to use CLI tools such as
sha512sum
to validate the signatures they are failing, reporting the checksums do not match.It appears there are 2 breaking changes which have been introduced since release
v1.17.3
:Example previous (working) format:
Example new (not working format):
Feels like we need to update these 2 lines to add in the extra whitespace character and fix issue 1. I was able to get the correct format by adding in an extra section to the awk command (I am not an awk expert so didn't want to submit a PR as expect it isn't the cleanest solution):
find "$BUILD_DIR" -type f -exec sha512sum {} + | awk -v build_dir="$BUILD_DIR" '{sub("^"build_dir"/", ""); print $1,"",$2}' > SHA512SUMS
With regards to issue 2 - we could refactor our internal build pipelines to use the new prefix, but with it being a breaking change I thought I'd call it out in case you wanted to revert to the previous (pre v1.17.3) behaviour.
I have been using
sha512sum -c SHA512SUMS
to test locally.cc @dmattia (it looks like you were involved in the original change)
The text was updated successfully, but these errors were encountered: