New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: allow verifying vendored code #27348

krancour opened this Issue Aug 29, 2018 · 0 comments


None yet
3 participants

krancour commented Aug 29, 2018

go mod verify is extremely useful for validating the integrity of modules in the local cache.

It would be great if projects that choose to vendor their modules (then presumably building with go build -mod vendor ...) had a similar command to verify the integrity of modules in that directory.

This would satisfy a major requirement that many projects need to account for in their CI process-- ensuring that vendored code hasn't been tampered with.

@FiloSottile FiloSottile added this to the Go1.12 milestone Aug 29, 2018

@FiloSottile FiloSottile changed the title from cmd/go: feature request: verify vendored code to cmd/go: allow verifying vendored code Aug 29, 2018

@bcmills bcmills modified the milestones: Go1.12, Go1.13 Oct 25, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment