-
Notifications
You must be signed in to change notification settings - Fork 18k
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
crypto: no documentation for GODEBUG=fips140 #71666
Comments
cc @golang/security |
Related Issues (Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.) |
Change https://go.dev/cl/648520 mentions this issue: |
Update(02/13/25): godebug fips140=on I get go.mod:7: unknown godebug "fips140" |
@ameukam What "godebug" program are you running? |
@ianlancetaylor I think that was saying with the |
Ah, thanks. |
FWIW I also get the same error when using |
I sent https://go.dev/cl/649495 to address that. |
Change https://go.dev/cl/649495 mentions this issue: |
Ah, I didn't realize if it's not in @gopherbot please open a backport issue for Go 1.24. We should probably backport https://go.dev/cl/649495 to fix that, and I think https://go.dev/cl/648520 so it will show up at https://go.dev/doc/godebug? |
Backport issue(s) opened: #71745 (for 1.24). Remember to create the cherry-pick CL(s) as soon as the patch is submitted to master, according to https://go.dev/wiki/MinorReleases. |
This permits using "godebug fips140=on" in go.mod and using "//go:debug fips140=on" in the main package. Change code references to the godebug setting to remove the # which is no longer required. For #71666 Change-Id: I3a60ecc55b03848dadd6d431eb43137b6df6568b Reviewed-on: https://go-review.googlesource.com/c/go/+/649495 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Roland Shoemaker <roland@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Filippo Valsorda <filippo@golang.org>
Change https://go.dev/cl/650596 mentions this issue: |
Change https://go.dev/cl/650675 mentions this issue: |
For #71666 For #71745 Change-Id: Ice816cf2943c5b6660f05934b4c7ca38545714b0 Reviewed-on: https://go-review.googlesource.com/c/go/+/648520 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Roland Shoemaker <roland@golang.org> Reviewed-by: Filippo Valsorda <filippo@golang.org> Commit-Queue: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> (cherry picked from commit 5f65e5c) Reviewed-on: https://go-review.googlesource.com/c/go/+/650596 Reviewed-by: Michael Knyszek <mknyszek@google.com>
…odebug setting This permits using "godebug fips140=on" in go.mod and using "//go:debug fips140=on" in the main package. Change code references to the godebug setting to remove the # which is no longer required. For #71666 Fixes #71745 Change-Id: I3a60ecc55b03848dadd6d431eb43137b6df6568b Reviewed-on: https://go-review.googlesource.com/c/go/+/649495 Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Roland Shoemaker <roland@golang.org> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Filippo Valsorda <filippo@golang.org> (cherry picked from commit 2b43ce0a9d5825d66aa42a6fa9076f2fb9c181ea) Reviewed-on: https://go-review.googlesource.com/c/go/+/650675 Commit-Queue: Ian Lance Taylor <iant@google.com>
The release note for Go 1.24 mentions a
fips140
GODEBUG that is not documented on the GODEBUG page.The text was updated successfully, but these errors were encountered: