kubernetes / sample-controller

Repository for sample controller. Complements sample-apiserver
Apache License 2.0
3.14k stars 1.08k forks source link

Got SECURITY ERROR when downloading k8s.io/client-go #79

Closed pistoolster closed 2 years ago

pistoolster commented 3 years ago

when running go get/install, go mod vendor or go build -o sample-controller ., I got same error

go: downloading k8s.io/api v0.0.0-20210411031832-6eed676bc189
go: downloading k8s.io/client-go v0.0.0-20210411032117-0bb6464b1348
verifying k8s.io/client-go@v0.0.0-20210411032117-0bb6464b1348: checksum mismatch
        downloaded: h1:hWa5L1BER1NtGFdyOa1XSx6YCL2jPa+v5CHfZz49BlY=
        go.sum:     h1:rtv51xBik42oLvcs7IcurkvhCsx2iN+wAYfCMizro2Q=

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.

I tried go clean -modcache, not working.

mamachanko commented 3 years ago

This seems to have been introduced by 73e81dab82c945b087f7db1f1f4a7b50e7d92751. 💔

mamachanko commented 3 years ago

@pistoolster If you haven't done that already, you can checkout the commit before the (currently) broken HEAD with

git checkout @~

or more specifically

git checkout 1f33e4e7
k8s-triage-robot commented 3 years ago

The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle stale

k8s-triage-robot commented 3 years ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/lifecycle rotten

k8s-triage-robot commented 2 years ago

The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.

This bot triages issues and PRs according to the following rules:

You can:

Please send feedback to sig-contributor-experience at kubernetes/community.

/close

k8s-ci-robot commented 2 years ago

@k8s-triage-robot: Closing this issue.

In response to [this](https://github.com/kubernetes/sample-controller/issues/79#issuecomment-940799056): >The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. > >This bot triages issues and PRs according to the following rules: >- After 90d of inactivity, `lifecycle/stale` is applied >- After 30d of inactivity since `lifecycle/stale` was applied, `lifecycle/rotten` is applied >- After 30d of inactivity since `lifecycle/rotten` was applied, the issue is closed > >You can: >- Reopen this issue or PR with `/reopen` >- Mark this issue or PR as fresh with `/remove-lifecycle rotten` >- Offer to help out with [Issue Triage][1] > >Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community). > >/close > >[1]: https://www.kubernetes.dev/docs/guide/issue-triage/ Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.