Skip to content

Conversation

@pranav-init
Copy link

With the old checksum of the go-getter module in go.sum, using the make command or go mod tidy prints the following error -

verifying github.com/hashicorp/go-getter@v0.0.0-20180809191950-4bda8fa99001: checksum mismatch
        downloaded: h1:qC+3MHkvfCXb1cA9YDpWZ7np8tPOXZceLrW+xyqOgmk=
        go.sum:     h1:MFPzqpPED05pFyGjNPJEC2sXM6EHTzFyvX+0s0JoZ48=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
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'.
make: *** [build] Error 1

I was able to fix the error by replacing it with the given checksum. Not sure if this is the right fix - but deleting go.sum did not help either, hence, wanted to propose this change. Let me know if it's right - thanks for checking this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant