OpenSSL 4.1.0

(github.com)

179 points | by petecooper 10 hours ago

13 comments

  • haunter 9 hours ago
    > Dropped Windows-on-Itanium (VC-WIN64I) and Windows CE (VC-CE) targets from Configurations.

    What a throwback. afaik Windows Server 2008 R2 had Itanium updates until 2020 and paid support until this year. Pretty good run to say at least

    • mrweasel 9 hours ago
      Make you wonder what they've been testing this on. Even NetBSD doesn't have a recent release for Itanium. Crazy that you can run NetBSD 11.0 on HPPA, but not Itanium, given that HPPA is in some sense the pre-cursor to Itanium.
      • mixdup 8 hours ago
        Age is probably less relevant than current installed base/active users
      • mondainx 9 hours ago
        More than likely in "government"; they are always behind and keeping legacy stuff around. I found Windows 1.0 floppies in a drawer, back-in-the-day.
      • p_l 9 hours ago
        Honestly more HPPA gear to test against than Itanium
    • nirui 9 hours ago
      I kinda wonder what if Microsoft (or any major software company) would give their engineers a few decades of time just to refactor their existing systems, opposite of piling on new features. Will it result a much cleaner code, better architect, and stable product?

      The last Windows I daily use was Windows 7 Home (same era with Windows Server 2008). The newer ones don't really improved much featurely from my (user) point of view, and from what I've heard, it's getting more sloppyer every newer version.

      • zbentley 8 hours ago
        > what if Microsoft would give their engineers a few decades of time just to refactor their existing systems

        They wouldn't, even if they didn't care about shipping new features. The technical complexity inside Windows/Office/old core MS offerings arises only in small part from ordinary tech debt--that is, things fixable without changing observable behavior. The lion's share of that complexity is because of Microsoft's priority to avoid breaking compatibility (backwards, or with hardware/software combos that work) at all costs.

        That means that a refactor-only decade would achieve little unless that compatibility priority were changed.

      • hnlmorg 5 hours ago
        Microsoft did do exactly this with NT. It’s all the crap on top that ruins it.
      • masfuerte 7 hours ago
        The Windows user-mode innards have been significantly refactored. Many of the core system DLLs that apps link to are just redirects to the actual implementation now. Much of the jank seems to be in the UI.
      • CodesInChaos 7 hours ago
        It's just as likely it would end up as an overengineered mess. And that's without considering backwards compatibility constraints, which are one of the biggest maintenance burdens.
      • egorfine 8 hours ago
        This will NOT please the shareholders. And that's all that matters.
    • 0c3ca83 7 hours ago
      Glad they kept big endian x86_64, at least.

      https://github.com/openssl/openssl/blob/c69b5af10a754051274e...

  • hannob 9 hours ago
    I don't see "we fixed some of the the excessive performance regressions that we introduced in 3.0". Unfortunate...

    Context: https://cryptography.io/en/latest/statements/state-of-openss...

    • dralley 6 hours ago
      It has improved significantly since the early days of 3.0. Not back to 1.1.1 levels of performance, but enough that it's probably not a dealbreaker for most people.

      Still a shame that it went backwards.

      • hannob 4 hours ago
        To put that in perspective: I noticed that private key parsing was 70 times slower in early 3.x versions. I think it's only 8 times slower in current versions. That's still... a lot slower. For no good reason.
    • neverpanic 3 hours ago
      There were massive improvements to performance in some of the areas criticized by PyCA and haproxy. X.509 handling will also be faster in the average case, with more improvements planned for 4.2.

      See https://openssl2026.sched.com/event/2VSQR/performance-the-li... and its slides https://2026.openssl-conference.org/slides/2026-d3-1400-perf.... Recording should also be available soon-ish.

    • chemodax 7 hours ago
      AWS-Lc looks very promising replacement for OpenSSL these days.
      • Bender 7 hours ago
        I looked into this and was tempted as there is less read locking and better RNG performance but they stripped the SSL_get1_curves() API which I depend on for bot detection plus I would have to recompile nginx and all its modules everywhere so in the end it was not tempting enough for me. Perhaps I am just lazier in my older age.
        • mrweasel 6 hours ago
          We ran a number of tests, including sending a percentage of real traffic to endpoints running AWS-LC and Wolfssl. Technically yes, OpenSSL 3.X is slow, measurably so, but not enough that we wanted to deal with it. That's for our use case, I can easily imagine there being others, where maybe you have different hardware or way more traffic, where it would be worth while. For basic TLS termination in haproxy, it wasn't really worth it to us.
        • otterley 6 hours ago
          Nothing wrong with being frugal with your time!
    • ahartmetz 8 hours ago
      >We do not fully understand the motivations that led to the public APIs and internal complexity we’ve described here. We’ve done our best to reverse engineer them by asking “what would motivate someone to do this” and often we’ve found ourselves coming up short.

      Surely they thought of it but didn't say it out loud... to keep it exploitable, maybe?

      • hannob 4 hours ago
        Never attribute to malice what can sufficiently be explained by the love of software developers for overengineering and complexity.

        Seriously, I have no trouble explaining this. Overengineering is just how many people think software development works. It's unfortunate, it causes plenty of problems, but it's not a sign of malicious intent.

      • woodruffw 7 hours ago
        No, that's not what's being implied. They're just saying they don't understand why OpenSSL has added so many indirections to otherwise straightforward operations.

        Source: I am friends with the maintainers who wrote this and was one of the people who reviewed it in draft form.

        • pseudosaid 7 hours ago
          yet you too dont have an idea why asinine decisions were championed
          • woodruffw 7 hours ago
            I have a pretty good idea. And it has nothing to do with malice or exploitability.
            • noitpmeder 6 hours ago
              Care to share...???
              • palata 6 hours ago
                Didn't they say it already? They basically think that the OpenSSL API is convoluted. That's my understanding of the comment above, at least.
                • timschmidt 6 hours ago
                  Unnecessarily complicated APIs are a security code smell precisely because they help hide bugs, leaky abstractions, insecure state, and other exploitable issues.
                  • palata 5 hours ago
                    Did I say they weren't? Not sure why I'm being downvoted here.
                    • timschmidt 5 hours ago
                      Op did immediately above you i.e.: "nothing to do with malice or exploitability"

                      and when asked to explain you responded with: "Didn't they say it already?"

                      Which any reader can verify they have not at the time of 1:42pm EST Oct 23 2026.

                      • woodruffw 4 hours ago
                        There are two different things here: there’s code that is vulnerable because of unnecessary complexity, and there is imputing malice or an intent to hide exploitability through complexity. OpenSSL exhibits the former, not the latter.
                        • timschmidt 2 hours ago
                          > OpenSSL exhibits the former, not the latter.

                          The OpenBSD folks came to the exact opposite conclusion after auditing the code:

                          "In a nutshell, This was a very effective exploit mitigation technique countermeasure. It could not have been designed better to make an attack like heartbleed both hard to detect and have dire consequences. OpenBSD's memory allocator, Valgrind, and Coverity do not notice the memory issues."

                          https://www.openbsd.org/papers/bsdcan14-libressl/mgp00007.ht...

                          Just a single damning slide among many here: https://www.openbsd.org/papers/bsdcan14-libressl/

                          More here: https://www.libressl.org/papers.html

                          Further, known exploits like the one crafted for XZ take advantage of plausible deniability and trust in contributors at every opportunity. Meaning that even if you wanted to disclaim malice, you cannot do so effectively.

                          • woodruffw 2 hours ago
                            They don’t appear to, at least not in my reading. “It could not have been designed better” reads more like an indictment of quality than an accusation of malfeasance.
                            • timschmidt 2 hours ago
                              The chosen phrasing is literally one step short of accusing the author of intent. "It could not have been designed better to [avoid detection] and cause harm" leaves open the possibility of accident, in the way that saying "this guillotine could not have been designed better to chop heads" leaves open the possibility of one spontaneously assembling from raw materials.
                              • woodruffw 1 hour ago
                                I mean, that seems intentional to me.
                                • timschmidt 50 minutes ago
                                  Better your threat model depend on that assumption than mine.
            • incanus77 6 hours ago
              Gee, I wonder what it could’ve been…
    • spacesez-ai 8 hours ago
      [flagged]
  • owenthejumper 7 hours ago
    I think it's too little too late, people have started moving on https://www.haproxy.com/blog/state-of-ssl-stacks
    • ashkankiani 7 hours ago
      tangential, but I've always wondered what the point of these random pictures of a lock, gears, or unrelated little voxel art are for? Pre-LLMs, they were often hit or miss in terms of how much they added depending on if they were a random stock image or something someone drew.

      But now, with LLMs, they're more available to customize, and it seems like people aren't actually thinking anymore about why they should be there. I think I'm implicitly biasing against the rest of the content in articles which have them as a result, since it's probably a sign of some level of lack of care/thought.

      • computer23 7 hours ago
        You need an image for the thumbnail that's essentially required for most blog templates and in social media.
      • grenoire 7 hours ago
        SEO-maxxing.
  • adzm 7 hours ago
    I think this is the only software project I use that still requires me to have perl
  • ShakataGaNai 2 hours ago
    Guys, after this week, can we make sure to have more details in the title? Like "Look! Cool new OpenSSL features" so we're not PTSD'ing our way into release notes expecting it to say something about patching critical CVEs?
  • mlhpdx 7 hours ago
    > Support for DTLS 1.3 (RFC 9147). Refer to the ossl-guide-dtlsv13(7) manual page for details.

    DTLS 1.3 is a huge improvement over 1.2 for efficiency and simplicity. I can’t speak to the OpenSSL implementation but it’s great that support is finally released.

  • markasoftware 7 hours ago
    Interesting they're adding new support for DTLS 1.3 when afaict most new applications are defaulting to QUIC datagram mode. I have something built around DTLS 1.3 and am using wolfssl for that reason, will have to check this out.
    • neverpanic 3 hours ago
      Apparently the telecom industry uses DTLS, not QUIC, and eventually wants post-quantum cryptography for regulatory reasons, so needs DTLS 1.3.
    • mlhpdx 7 hours ago
      QUIC for embedded? I haven’t seen that, but there is a lot of DTLS. Particularly with 1.3, it makes QUIC look like a behemoth in code.
  • aftbit 7 hours ago
    Wait, OpenSSL didn't support GREASE until now? The RFC standard landed 6 years ago...

    I've been linking a lot of stuff against boringssl during that time, I suppose...

  • snvzz 9 hours ago
    Mandatory reminder libressl[0] exists.

    0. https://www.libressl.org/

    • madduci 7 hours ago
      Do you know of TLS 1.3 has been added?
      • snvzz 7 hours ago
        Was in 2020.
    • sehw 8 hours ago
      [dead]
  • ksec 7 hours ago
    I wonder what is the current marketshare of Libressl and OpenSSL ?
  • Razengan 9 hours ago
    > Dropped Windows-on-Itanium

    A sad day. End of an era *salute*

    • madduci 7 hours ago
      Microsoft pulled the plug earlier
    • ZYbCRq22HbJ2y7 9 hours ago
      seems like a versioning-induced death

      i think a project like this would slough old architecture like mad and let major versions tick, but they forge on...

      • literalAardvark 8 hours ago
        MS ended paid extended support for Itanium, so it's kind of a dead target
  • scsoi 6 hours ago
    [flagged]
  • amelius 9 hours ago
    Was it verified by AI?

    (Not a strange question given the recent PHP vulns found by AI.)