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

Reply via email to