charmbracelet / vhs

Your CLI home video recorder 📼
MIT License
14.98k stars 247 forks source link

go install results in a checksum error #134

Closed ismail closed 1 year ago

ismail commented 1 year ago
❯ 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/vhs@v0.1.1: 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'.
maaslalani commented 1 year ago

Hmm, unfortunately I am unable to reproduce:

image
ismail commented 1 year ago

Can you try with

export GOPROXY=direct
maaslalani commented 1 year ago
image
maaslalani commented 1 year ago

@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
maaslalani commented 1 year ago

Ha, actually when I go clean -modcache I can reproduce the error:

image
caarlos0 commented 1 year ago

did we recreate the tag when releasing? if so, that's probably the reason...

maaslalani commented 1 year ago

@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!