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

Harvest should provide a FIPS compliant image #3082

Closed
cgrinds opened this issue Aug 2, 2024 · 2 comments · Fixed by #3113
Closed

Harvest should provide a FIPS compliant image #3082

cgrinds opened this issue Aug 2, 2024 · 2 comments · Fixed by #3113
Labels

Comments

@cgrinds
Copy link
Collaborator

cgrinds commented Aug 2, 2024

Use boringcrypto

@cgrinds cgrinds added feature New feature or request customer 24.11 labels Aug 2, 2024
@cgrinds cgrinds changed the title Build a FIPS compliant image of Harvest Harvest should provide a FIPS compliant image Aug 2, 2024
@cgrinds
Copy link
Collaborator Author

cgrinds commented Aug 12, 2024

https://kupczynski.info/posts/fips-golang/

Cross Compile with Zig

zig targets | jq .libc

CC="zig cc -target x86_64-linux-gnu" GOOS=linux GOARCH=amd64 CGO_ENABLED=1 GOEXPERIMENT=boringcrypto go build -trimpath -o bin -ldflags="-X 'github.com/netapp/harvest/v2/cmd/harvest/version.VERSION=24.07.30' -X 'github.com/netapp/harvest/v2/cmd/harvest/version.Release=1' -X 'github.com/netapp/harvest/v2/cmd/harvest/version.Commit=e896fa7a' -X 'github.com/netapp/harvest/v2/cmd/harvest/version.BuildDate=`date +%FT%T%z`'" ./cmd/harvest ./cmd/poller

@rahulguptajss
Copy link
Contributor

verfied via CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants