-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Background
Comparing latest tag version v2.2.3 of github.com/harenber/ptc-go from proxy.golang.org and github, there are inconsistencies.
"committer": {
"name": "harenber",
"email": "harenberg@gmail.com",
"date": "2021-12-29T18:20:42Z"
}{"Version":"v2.2.3","Time":"2021-12-29T16:36:45Z"}So the checksum from the code in github does not match the checksum saved in sum.golang.org. The v2.2.3 tag of github.com/harenber/ptc-go 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/harenber/ptc-go/v2@v2.2.3, the following error occurs.
go: downloading github.com/harenber/ptc-go/v2 v2.2.3
go: github.com/harenber/ptc-go/v2@v2.2.3: verifying module: checksum mismatch
downloaded: h1:YOh3F1VH1vWRys2SAOa8ZFftHGYnFOJV90NpDbKJe9U=
sum.golang.org: h1:saGN1zhWozAF2kNseDI9YCHwuCl1Seb3++gkCwVfcj8=
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
Metadata
Metadata
Assignees
Labels
No labels