Skip to content
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

x/vgo: Include package versions in the built binary #24063

Closed
michael-schaller opened this issue Feb 23, 2018 · 1 comment
Closed

x/vgo: Include package versions in the built binary #24063

michael-schaller opened this issue Feb 23, 2018 · 1 comment
Milestone

Comments

@michael-schaller
Copy link
Contributor

Currently Go binaries only include the Go runtime version that was used at build time. The Go runtime version is accessible through the binary via the runtime.buildVersion symbol or at runtime via runtime.Version(). This information is often used to identify binaries that were built with an outdated or insecure Go runtime.

Could something similar be done for all the packages and their respective versions that go into a Go binary during 'vgo build'?

@gopherbot gopherbot added this to the vgo milestone Feb 23, 2018
@michael-schaller
Copy link
Contributor Author

Just read that this is already planned. Thanks for considering it. :-)
Source: https://research.swtch.com/vgo-repro

@golang golang locked and limited conversation to collaborators Feb 23, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants