Skip to content
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

Provide download for checksum of go releases. #68282

Closed
ashabgp opened this issue Jul 3, 2024 · 3 comments
Closed

Provide download for checksum of go releases. #68282

ashabgp opened this issue Jul 3, 2024 · 3 comments
Labels

Comments

@ashabgp
Copy link

ashabgp commented Jul 3, 2024

On the (official) download page for releases, https://go.dev/dl/ links are provided for source an binary releases and for each release/platform size, checksum and some more info. The checksum is provided as text on the page, but i can not find a download link for it.
Our use case is regular and automatic update of developer installations with the latest version. The developer are behind a corporate firewall and we provide an intern repository that is updated by automatic processes and also manually.
We watch the website (using renovate) for update and download can download the new version automatically. But we would like to verify the download using the provided checksum as well (or by using a signed file or any other means). Screenscraping the checksum is possible but a bit cumbersome and often brittle.

I found related issues from 2016 (closed): github golang 14385 and golang.org 19783. From the discussion in these issues i found that it is possible to download, for example, the current linux binary and its checksum from

But since https://go.dev/dl/ is the official download site it would be, in some way, cleaner to be able to download the file with the sha256 checksum from there. For example the textual entry of the checksum in the table could be changed to be a link for the file (or just provide the link - who ever wants to see the checksum could just click on it ...).

May be am i missing some better ways to verify the download automatically (beside checking the TLS cert of https://go.dev) ? In this case i would appreciate some pointers to those. Thank you.

@ashabgp
Copy link
Author

ashabgp commented Jul 3, 2024

Thank you very much - the first issue (#41172) in the list of related issues provides a nice solution for my use case. So I close the ticket.

@ashabgp ashabgp closed this as completed Jul 3, 2024
@ashabgp
Copy link
Author

ashabgp commented Jul 3, 2024

The json (https://go.dev/dl/?mode=json) download with link and checksum solves my problem. Thank you.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants