Skip to content

proxy.golang.org: challenges in simultaneously patching downstream dependencies in go1.13 #34705

Closed
@zmanian

Description

@zmanian

What version of Go are you using (go version)?

go 1.13.1

What did you do?

On Tuesday, at 11pm PST, Tendermint discolsed a high severity vulnerability in our software which acts as a state machine replication layer in several billion dollars of value transfer activity in the cryptocurrency ecosystem.

Our goal was to do patch releases of Tendermint and then do releases of all our downstream dependencies simultaneously,

We released tendermint v0.31.9 and then releasesed the cosmos-sdk v0.34.8 with an updated go.mod to depend on Tendermint v0.31.9. The go.sum was no updated in cosmos-sdk v0.34.8 in the initial release.

Users on go1.12.1 were able git clone and make install in the cosmossdk release.

Users on go1.13.1 got the following error message

verifying github.com/tendermint/[email protected]/go.mod: github.com/tendermint/[email protected]/go.mod: reading https://sum.golang.org/lookup/github.com/tendermint/[email protected]: 410 Gone

This lasted about 25 min before https//sum.golang.org updated.

GONOSUMDB=github.com/tendermint/tendermint go mod verify helped for some users but not others.

What did you expect to see?

I would have expected to see new releases recorded in https://sum.golang.org/ relatively quickly and not to have to wait so long. Also with GONOSUMDB=github.com/tendermint/tendermint, it was unclear exactly how this interacts with GOPROXY=direct

CC/@FiloSottile @katiehockman

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions