-
Notifications
You must be signed in to change notification settings - Fork 526
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
check-file format for release checksums #901
Comments
@Rudxain thanks for the note on this. I haven't yet kicked off a new release using those generated notes but I can do that some time this week. |
I took a shot at formatting the checksums in the way requested @Rudxain, but I wanted to organize the packages by architecture to avoid confusion - please let me know if you have any additional feedback: https://github.com/shiftkey/desktop/releases/tag/release-3.2.7-test7 Alternatively, if it's easier - we can just include the |
@Rudxain if I might ask. what is the purpose you are using to verify downloads? if it is just to verify that the file you downloaded was not corrupted during download, wouldn't it be better to simply include the for reference, these are the files that are generated as part of the artifacts themselves https://github.com/shiftkey/desktop/actions/runs/5524699326/jobs/10077640875#step:4:10 . the actual .sha1sum files are not currently published as an asset in a github release if instead you are concerned about your connection being hijacked and downloads not being what you expect them to be (ie: malware in the binary), then I don't think you can trust the github website releases page itself to show the correct sha256 (if whatever bad actor is smart enough to redirect your downloads, they are smart enough to also redirect the webpage to show a sha256 that matches their malware binary) |
Thanks! I expected MD code-blocks, but the plaintext is fine too. Having different sections for different archs seems good enough.
I agree, that would be better!
I usually verify them manually, since it's not a frequent task. However, releases are regular enough that I attempted to "automate" this process: #!/usr/bin/env bash
set -eu
file=(GitHubDesktop-linux-*.AppImage)
printf '%s\n' "$1 ${file[0]}" | sha256sum -c The time saved is likely negligible haha, but I'll probably continue using it.
Yes. I didn't know it was included in the artifacts until you and @shiftkey mentioned it. I apologize for my ignorance 😅
Correct. That's why #128 was opened |
I also think |
Closing this out as resolved. Please open fresh issues for anything further... |
The feature request
Please reformat the checksum list to be a valid
*sum
check-file.Examples:
this
not this
3bba4a245869304324647f3f406f7c500aeb6324b3c3d347ee867d0b93c49399
a7eaabf7f68441c7e4280ac2de84f22228c791a3732ee9b7c577929cd7b181b5
527ec0bc199c7db2ebdbda09cd657786c7e5a42a554e71d4619c45f3183639f2
Proposed solution
This will make it faster+easier to verify downloads, like so:
Rather than having to remove the "-" and swap strings, or comparing the output of
sha256sum GitHubDesktop*
Additional context
I just found where's the src for the auto-release-notes
The text was updated successfully, but these errors were encountered: