Instructions for investigating the cause and potential resolution of a checksum mismatch.
What did you see instead?
10:24 $ go mod tidy
verifying firstname.lastname@example.org+incompatible: checksum mismatch
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'.
This information, while correct, is not very informative for most users. It tells them the problem but doesn't indicate how they can resolve it. Their build will not progress until they resolve the problem.
go help module-auth provides very detailed information on the operation of the module checksum mechanism but doesn't help the typical user get their build working.
In my case go clean -modcache solved my problem although I am left with the feeling that I just did the module analog of "switching it off and on again".
The message would be more informative if it told me where the downloaded code is and how I can cross reference that with the code the checksum server saw.
The text was updated successfully, but these errors were encountered: