‹ BackHN Continuity

Thread

Golang: Crypto/fips140: do not bloat crypto code unnecessarily

19 points · 8 comments · zx2c4

  1. westurner · · focus · HN ↗
    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.
    1. twiss · · focus · HN ↗
      FIPS-140 doesn't yet require PQC, nor does Go in FIPS mode (or any other mode).

      So, if you only want PQC, you&#x27;ll have to do that manually either way. But, I think you&#x27;ll find many servers aren&#x27;t ready for that: <a href="https:&#x2F;&#x2F;www.netmeister.org&#x2F;blog&#x2F;pqc-use-2026-09.html" rel="nofollow">https:&#x2F;&#x2F;www.netmeister.org&#x2F;blog&#x2F;pqc-use-2026-09.html

      1. westurner · · focus · HN ↗
        Some notes on PQC and MTC roadmaps on &quot;Shipping post-quantum cryptography to Python – The Trail of Bits Blog&quot; <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=48789958">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=48789958

        mozilla&#x2F;ssl-config-generator is now tlsref&#x2F;configurar: <a href="https:&#x2F;&#x2F;github.com&#x2F;tlsref&#x2F;configurator" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tlsref&#x2F;configurator .. <a href="http:&#x2F;&#x2F;configurator.tlsref.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;configurator.tlsref.org&#x2F;

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.