micmonay / keybd_event

For simulate key press in Linux, Windows and Mac in golang
MIT License
376 stars 56 forks source link

checksum mismatch #31

Open olavfosse opened 3 years ago

olavfosse commented 3 years ago
go: downloading github.com/micmonay/keybd_event v1.1.0
verifying github.com/micmonay/keybd_event@v1.1.0: checksum mismatch
        downloaded: h1:M9GwE6u6aZTmXMBK9GPXcdaF1Drd6QyBs9cKEEJNs6A=
        go.sum:     h1:fQzkqiG/Siwji1Ju9NDkIb8FSFFlPU76YbJntrXdtQw=

SECURITY ERROR
This download does NOT match an earlier download recorded in go.sum.
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'.

Did you change release v1.1.0 after releasing it?

micmonay commented 3 years ago

I have not recently updated my library. In my test my go.sum have this content :

github.com/micmonay/keybd_event v1.1.0 h1:fQzkqiG/Siwji1Ju9NDkIb8FSFFlPU76YbJntrXdtQw=
github.com/micmonay/keybd_event v1.1.0/go.mod h1:QS2Kfz0PbPezFqMPEot+l/cK78/tHLZtZ7AbYUCRKsQ=
olavfosse commented 3 years ago

Weird

micmonay commented 3 years ago

Yes, what you have in go.sum for keybd_event and in GOPROXY go env ?

olavfosse commented 3 years ago
$ go env | grep GOPROXY
GOPROXY="direct"
github.com/micmonay/keybd_event v1.1.0 h1:fQzkqiG/Siwji1Ju9NDkIb8FSFFlPU76YbJntrXdtQw=
github.com/micmonay/keybd_event v1.1.0/go.mod h1:QS2Kfz0PbPezFqMPEot+l/cK78/tHLZtZ7AbYUCRKsQ=
github.com/rakyll/portmidi v0.0.0-20170620004031-e434d7284291 h1:hl7rQwLldjB+FCyUuxSFCAx986GONIoRQwsMesdOknE=
github.com/rakyll/portmidi v0.0.0-20170620004031-e434d7284291/go.mod h1:tO1ylmFo6+hnYFvj/fd92q30wkNQwgWC/8mcHq0KkQU=
gitlab.com/gomidi/midi v1.16.4/go.mod h1:3ohtNOhqoSakkuLG/Li1OI6I3J1c2LErnJF5o/VBq1c=
gitlab.com/gomidi/midi v1.22.3 h1:bQuG0u7uIj/cQwHrReB+2CqLAj7j7tLiBQ3D3hf/3Iw=
gitlab.com/gomidi/midi v1.22.3/go.mod h1:3ohtNOhqoSakkuLG/Li1OI6I3J1c2LErnJF5o/VBq1c=
gitlab.com/gomidi/portmididrv v0.6.0 h1:uT+rl1Y+KCt3qVr4hEn3Z++qRevAN/ppDPyWA0JK/J0=
gitlab.com/gomidi/portmididrv v0.6.0/go.mod h1:3+8aNWgHp7rq6rBEegdAXCbky/1qQ4Puloz99wjzVNw=
gitlab.com/gomidi/rtmididrv v0.10.1 h1:BgqhFpBgythJqFbiR8QtL3CER1nh26YCUPFGVidS9gk=
gitlab.com/gomidi/rtmididrv v0.10.1/go.mod h1:sBxBDsJKVhinLt+kk7fj6WfKRCmnFzFSkFY1chDNLbw=
gitlab.com/gomidi/rtmididrv/imported/rtmidi v0.0.0-20191025100939-514fe0ed97a6 h1:0XqAH/BAxH5TTBzIWkdlZqpp6VUx6DFcQnMWW6G6hIc=
gitlab.com/gomidi/rtmididrv/imported/rtmidi v0.0.0-20191025100939-514fe0ed97a6/go.mod h1:FYVFN2H23IsX56VntiDF9DgCIekHh359wW+iMl1W8rQ=
micmonay commented 3 years ago

I can't reproduce the same error in my environment. I have updated the library version (v1.1.1) and I have added the file go.mod. You can try with the new version?