keybd_event icon indicating copy to clipboard operation
keybd_event copied to clipboard

checksum mismatch

Open olavfosse opened this issue 5 years ago • 5 comments

go: downloading github.com/micmonay/keybd_event v1.1.0
verifying github.com/micmonay/[email protected]: 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?

olavfosse avatar Mar 31 '21 20:03 olavfosse

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=

micmonay avatar Apr 01 '21 07:04 micmonay

Weird

olavfosse avatar Apr 01 '21 08:04 olavfosse

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

micmonay avatar Apr 01 '21 09:04 micmonay

$ 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=

olavfosse avatar Apr 01 '21 14:04 olavfosse

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?

micmonay avatar Apr 02 '21 07:04 micmonay