Hacker News new | ask | show | jobs
by tptacek 340 days ago
crypto/, not crypto/fips140.
1 comments

To nitpick, there is no special crypto/fips140 package. (Ok, there is, but it just has an Enabled() bool function.)

FIPS 140-3 mode is enabled by building with GOFIPS140=v1.0.0 (or similar, see https://go.dev/doc/security/fips140), but it shares 99% of the code with non-FIPS mode.

Still, your message is right, just GOFIPS140=off (the default!), not GOFIPS140=v1.0.0.

Not a nitpick! I was just wrong!
That's a nice solution when managing a platform. You can "upgrade" all your teams, and/or easily detect they have upgraded.