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

[BUG] go module v5.6.2 verifying module: checksum mismatch #1426

Closed
yegortokmakov opened this issue Apr 10, 2024 · 3 comments
Closed

[BUG] go module v5.6.2 verifying module: checksum mismatch #1426

yegortokmakov opened this issue Apr 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@yegortokmakov
Copy link

yegortokmakov commented Apr 10, 2024

What did you do

go env -w GOPROXY=direct
go get github.com/k3d-io/k3d/v5

What did you expect to happen

get the package

Screenshots or terminal output

go: downloading github.com/k3d-io/k3d/v5 v5.6.2
go: github.com/k3d-io/k3d/v5@v5.6.2: verifying module: checksum mismatch
	downloaded: h1:AxWGxRqxgsNGGtcOpNZWQiZ22ezoALZXBBOUfWCVMfg=
	sum.golang.org: h1:nuMLn3j4QmF3AVCOGI7iSVpQdI82QKnYDrN0LqzMgmo=

SECURITY ERROR
This download does NOT match the one reported by the checksum server.
The bits may have been replaced on the origin server, or an attacker may
have intercepted the download attempt.

For more information, see 'go help module-auth'.

go version go1.22.2 linux/amd64

@yegortokmakov yegortokmakov added the bug Something isn't working label Apr 10, 2024
@yegortokmakov yegortokmakov closed this as not planned Won't fix, can't repro, duplicate, stale Apr 10, 2024
@yegortokmakov yegortokmakov reopened this Apr 10, 2024
@yegortokmakov
Copy link
Author

yegortokmakov commented Apr 10, 2024

manually adding hash to go.sum helped:
github.com/k3d-io/k3d/v5 v5.6.2 h1:AxWGxRqxgsNGGtcOpNZWQiZ22ezoALZXBBOUfWCVMfg=

any chance the tag was overwritten and proxy/gosumdb got out of sync?

@iwilltry42
Copy link
Member

That's probably because v5.6.2 Tag was moved to a new commit, because of some pipeline error.
I'll tag a new one to get this fixed.

@yegortokmakov
Copy link
Author

confirmed fix in 5.6.3. thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants