Hi, First of all, I would like to thank Hideki for the initiative. I hope, and see chances that this time we would make it!
The commit which is linked to https://qt-project.atlassian.net/browse/QTBUG-85653 did not work since it was not really compatible with OpenSSL. This is what I’ve heard from Timur that times. A lot was improved in the Qt network stack and maybe a new interface will also be different on the wolfSSL side. Maybe this time, there will be a better fit and we would make it. It would be very beneficial for both projects, IMHO. I would also like to ask to pay a special attention to very large administrative burdens around export regulations for encryption technologies. If the wolfSSL project has a solution for this, we better use this. I doubt that Qt Project can handle the related work alone. -- Vladimir On 2. Dec 2026, at 10:56, Volker Hilsheimer via Development <[email protected]> wrote: Since Hideki writes that they are arranging the contributor license agreement, I think the intention of this email is indeed to see if there are any conceptual objections to adding such a backend to Qt ;) Given that we have the infrastructure to make it possible to add this kind of thing as a plugin, the plausible options seem to be: - add the plugin implementation to Qt - maintain the plugin implementation outside of Qt as part of the wolfSSL project If we were to add the plugin to Qt, then we would probably also want to have minimal coverage for it in CI - at least to make sure that it builds. This requires that either the GPLv3 or commercially licensed wolfSSL SDK is provisioned into some CI nodes, and that at least a subset of CI configurations then turns that feature on (or verifies that the presence of the SDK is detected correctly). This is technically the same challenge we have with e.g. some SQL client libraries, for instance MySQL. Even if we have CI coverage, we would still not want to include a pre-built plugin in the binary distribution of Qt, given the license. So users that want to use wolfSSL need to explicitly install the appropriately licensed wolfSSL SDK and runtimes, and then reconfigure and rebuild Qt with that plugin enabled. Or perhaps only rebuild the plugin itself as a stand-alone project, which at the very least means navigating the Qt source tree, knowing how to configure the plugin project etc. The alternative is to get the plugin as part of the wolfSSL installation, perhaps only as source code that needs to be configured, built, and installed with the (presumably already) installed Qt,. The user would still have to build the plugin from source, but that then doesn’t require understanding the Qt build system and source tree structure, or even a full reconfigure and rebuild of Qt. Conceptually, that seems a lot simpler for everyone involved. And the wolfSSL team can of course decide to maintain a binary distribution of that plugin as well, although doing that for every Qt version, platform, architecture (esp on embedded) etc can be quite a bit of work. So, based on this I’d go with option 2. That assumes that such a plugin, once installed in Qt’s plugins/tls folder, will be picked up without any additional changes to Qt. I don’t know if that’s the case, and what happens if several plugins are present and provide the same functionality. If making this work smoothly requires changes to Qt, then JIRA tickets describing the details, and changes for review on gerrit, would be welcome. Cheers, Volker On 2 Dec 2026, at 08:30, Lorn Potter via Development <[email protected]> wrote: Hi Hideki, Easiest way is to go ahead and push a change to code review. https://wiki.qt.io/Qt_Contribution_Guidelines and then add Fixes: QTBUG-85653 to the bottom of the commit message, so it attaches itself to that bug report. But perhaps you intended to discuss if it’s a viable option for Qt here? ________________________________ From: Development <[email protected]> on behalf of Miyazaki Hide <[email protected]> Date: Wednesday, 2 December 2026 at 8:27 AM To: [email protected] <[email protected]> Subject: [Development] [RFC] A wolfSSL TLS backend for Qt Network Hi, wolfSSL would like to contribute a TLS backend plugin for Qt Network based on wolfSSL (https://www.wolfssl.com). The request is tracked in QTBUG-85653. Why: wolfSSL is a lightweight TLS library used in embedded and security-certified products (wolfCrypt has FIPS 140-3 validated versions). Users building Qt applications for such devices today have to add OpenSSL next to wolfSSL or patch Qt. Qt 5 had a wolfSSL patch maintained outside Qt; Qt 6's QTlsBackend plugins make a clean, self-contained backend possible. What: - A plugin in src/plugins/tls/wolfssl/, implemented using wolfSSL's native API. It does not use wolfSSL's OpenSSL compatibility layer. The design follows the Schannel backend and reuses the shared generic X.509 and key code. - QSslSocket/QSslServer with TLS 1.2 and 1.3 (ALPN, SNI, resumption, session tickets, PSK), certificate verification, system CA certificates (Unix, macOS keychains, Windows ROOT store), PKCS#12, encrypted keys, DH parameters and elliptic curves; QDtls and QDtlsClientVerifier with DTLS 1.2. - An opt-in "wolfssl" configure feature (-wolfssl, off by default), a FindWrapWolfSSL module, and a change to the dtls feature condition so that DTLS is available with OpenSSL or wolfSSL. Builds without wolfSSL are unchanged. - The SSL and DTLS auto-tests run with the backend and pass on Linux (tst_qsslsocket, tst_qsslcertificate, tst_qsslkey, tst_qdtls, tst_qdtlscookie and the smaller SSL tests). Where wolfSSL behaves differently, the tests include wolfSSL-specific expectations. macOS has been checked by hand; Windows has not been tested yet. Known differences from the OpenSSL backend: - No TLS 1.0/1.1, DTLS 1.0 or renegotiation; no OCSP stapling. - MD5-signed certificates are rejected, RSA keys are limited to 4096 bits by default, and a few legacy PKCS#12 schemes (2-key 3DES, RC2-128, RC4) are not supported. - Server-side ALPN uses wolfSSL's built-in match against the configured list (there is no selection callback without the compatibility layer). - DTLS cookies always use HMAC-SHA256. - QSslKeyingMaterial is not implemented yet (wolfSSL has an exporter, so it can be added). Licensing: wolfSSL is available under GPLv3 or a commercial license. A Qt built with -wolfssl therefore links a GPLv3 library unless the user has a commercial wolfSSL license. This is one reason the feature is off by default, and the documentation change in the series says so. Maintenance: wolfSSL intends to maintain the backend and to follow up on bugs reported against it. The changes are ready as a series of ten Gerrit changes on top of dev, and we are arranging the Contribution Agreement before pushing them to Gerrit. I would appreciate feedback on whether there are any objections in principle, as well as any preferences regarding how the work should be split into Gerrit changes. Best Regards, Hideki Miyazaki wolfSSL -- Development mailing list [email protected] https://lists.qt-project.org/listinfo/development -- Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
-- Development mailing list [email protected] https://lists.qt-project.org/listinfo/development
