So the checksum from the code in github does not match the checksum saved in sum.golang.org. The v0.2.0 tag of github.com/safchain/ethtool might have been retagged after a minor edition on github.
In this case, when someone who does not use proxy.golang.org, say GOPROXY=direct, attempts to get github.com/safchain/ethtool@v0.2.0, the following error occurs.
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'.
## Solution
### 1. Release a new tag
I would recommend releasing a new tag to ensure dependency copy in proxy.golang.org and github in sync.
## References
+ <https://proxy.golang.org/>
Background
Comparing version
v0.2.0
ofgithub.com/safchain/ethtool
from proxy.golang.org and github, there are inconsistencies.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'.