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

SECURITY ERROR: checksum mismatch #97

Closed
navid-kalaei opened this issue Jun 13, 2020 · 2 comments
Closed

SECURITY ERROR: checksum mismatch #97

navid-kalaei opened this issue Jun 13, 2020 · 2 comments
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists help wanted Extra attention is needed waiting for response waiting for the response from commenter

Comments

@navid-kalaei
Copy link

Description
Mismatched checksum

To Reproduce
Run go get https://github.com/panjf2000/ants

Or

  1. Import "github.com/panjf2000/ants"
  2. Run go mod vendor

Expected behavior
Successful installation of ants as a vendor/dependency

Error messages/Trace logs
go get github.com/panjf2000/ants: github.com/panjf2000/[email protected]: verifying module: checksum mismatch
downloaded: h1:Ufw4aDz9RqH1RVblx2W9L9Uv5vSX5apbX5+peR7LQ5k=
sum.golang.org: h1:pMQ1/XpSgnWx3ro4y1xr/uA3jXUsTuAaU3Dm0JjwggE=

System info (please complete the following information):

Additional context
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.

@navid-kalaei navid-kalaei added the bug Something isn't working label Jun 13, 2020
@panjf2000
Copy link
Owner

Does #49 help?

@panjf2000 panjf2000 added duplicate This issue or pull request already exists help wanted Extra attention is needed waiting for response waiting for the response from commenter labels Jun 13, 2020
@navid-kalaei
Copy link
Author

Thank you so much.

go clean -modcache

works nicely! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists help wanted Extra attention is needed waiting for response waiting for the response from commenter
Projects
None yet
Development

No branches or pull requests

2 participants