Abstract The FIPS140 code, especially its RNG, sits unused and bloaty on the overwhelming majority of Go binaries. All but the most specific users actually jump through the hoops of turning on this...

19 points•zx2c4•4 days ago•8 comments•

8 comments

eqvinox3 days ago
From having had my own prior interactions with you, I am entirely unsurprised that you're getting some cold shoulder due to other people's experiences with you.

As far as I can tell you're great at cryptography code. You've gotten better at the social parts of collaborative software engineering, but there's still room to grow.

nateb20222 days ago
Alberto (https://github.com/golang/go/issues/81639#issuecomment-58553...) found only a 75kB difference between the 'bloat' and your proposed patch in a stripped binary; and Roland (https://github.com/golang/go/issues/81639#issuecomment-58402...) contended:

> the symbols in your tester2 program account for ~67kb out of a 2.3mb binary

OP did find a "600k difference" in an unstripped comparison but if binary size was critical enough that 600k was a big deal, I'd assume users would be stripping the binaries outright or using a different language (tinygo perhaps) if a <100kb diff was on their list of concerns.

westurner4 days ago
Isn't there still need for non- or post- FIPS-140 -like cipher restrictions in non FIPS-140 environments?

How much code is needed to implement Classical+PQ (Hybrid PQ) or PQ-only (Only PQ) cipher selection restrictions just?

FWIU, with golang:

  # This allows X25519MLKEM768 (Hybrid PQ)
  GODEBUG=fips140=on

  # This prevents any PQ ciphers from being used:
  GODEBUG=fips140=only
tlsref needs to be revised to specify PQ cipher lists.
twiss3 days ago
FIPS-140 doesn't yet require PQC, nor does Go in FIPS mode (or any other mode).

So, if you only want PQC, you'll have to do that manually either way. But, I think you'll find many servers aren't ready for that: https://www.netmeister.org/blog/pqc-use-2026-09.html

westurner2 days ago
Some notes on PQC and MTC roadmaps on "Shipping post-quantum cryptography to Python – The Trail of Bits Blog" https://news.ycombinator.com/item?id=48789958

mozilla/ssl-config-generator is now tlsref/configurar: https://github.com/tlsref/configurator .. http://configurator.tlsref.org/

clivedup2 days ago
It's been 2-4d since a maintainer replied. Why escalate the situation by trying to raise HN attention to it?
pamcake2 days ago
What's up with all the likes, urgency, and pressure? Is this part of some kind of operation?

Read the full thread on Hacker News →

Related stories