go install results in a checksum error
❯ go version
go version go1.19.3 linux/amd64
❯ go install github.com/charmbracelet/vhs@latest
go: downloading github.com/charmbracelet/vhs v0.1.1
go: github.com/charmbracelet/vhs@latest: github.com/charmbracelet/[email protected]: verifying module: checksum mismatch
downloaded: h1:EZCqR9qwpqg0j4VD2cy8a/WlTAs0uaUgU4RW0/pC1D8=
sum.golang.org: h1:SSZYYmO4FrknkqC8J+X8pVLbgEy+StMSpk4b4sYtJ00=
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'.
Hmm, unfortunately I am unable to reproduce:
Can you try with
export GOPROXY=direct
@ismail is this still not working for you if you try it again? Are you able to clear the go cache by any chance?
go clean -modcache
Ha, actually when I go clean -modcache I can reproduce the error:
did we recreate the tag when releasing? if so, that's probably the reason...
@ismail We just released a new version of VHS so this should now be fixed but please feel free to reopen this issue if it is not!