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

go: fix ldfalgs, switch to git-checkout #18454

Merged
merged 2 commits into from
May 7, 2024

Conversation

xnox
Copy link
Contributor

@xnox xnox commented May 2, 2024

xnox added 2 commits May 3, 2024 00:50
Signed-off-by: Dimitri John Ledkov <dimitri.ledkov@chainguard.dev>
Even when -trimpath is active, emit full ldflags in the version
information ELF note. Vulnerability scanners typically parse ldflags
field to detect main package version, thus binaries that are built
with -trimpath are currently actively evading vulnerability scanners.

Fixes: wolfi-dev#17647
Fixes: golang/go#63432
@xnox xnox changed the title go ldflags+git checkout go-fips: fix ldfalgs, switch to git-checkout May 3, 2024
@xnox xnox changed the title go-fips: fix ldfalgs, switch to git-checkout go: fix ldfalgs, switch to git-checkout May 3, 2024
@ajayk
Copy link
Contributor

ajayk commented May 3, 2024

@imjasonh / @jonjohnsonjr for another set of reviews

Copy link
Contributor

@hectorj2f hectorj2f left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@xnox xnox merged commit aacba31 into wolfi-dev:main May 7, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants