OpenSSL 3.0 improvements for OpenVPN
Get series with b4
b4 am [email protected]...Versions newest first · linked by author and title
- v3 Latest21 patches 53 repliesIn review
- v220 patches 1 replySuperseded
- v18 patches 1 replySuperseded
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/21 | Use new EVP_MAC API for HMAC implementationsrc/ src/ src/ +1 more | +104 | 2 replies | |
| 2/21 | Add --with-openssl-engine autoconf option (auto|yes|no)configure.ac | +51 | 2 replies | |
| 3/21 | Implement DES ECB encrypt via EVP_CIPHER apisrc/ | +19 | 6 replies | |
| 4/21 | Remove DES check with OpenSSL 3.0src/ | +8 | 2 replies | |
| 5/21 | Use EVP_PKEY based API for loading DH keyssrc/ | +21 | 3 replies | |
| 6/21 | Deprecate --ecdh-curve with OpenSSL 3.0 and adjust mbed TLS messagesrc/ src/ | +12 | 2 replies | |
| 7/21 | Remove DES key fixup codesrc/ src/ src/ +4 more | +0 | 2 replies | |
| 8/21 | Use EVP_PKEY_get_group_name to query group namesrc/ src/ | +50 | 2 replies | |
| 9/21 | Refactor early initialisation and uninitialisation into methodssrc/ | +18 | 2 replies | |
| 10/21 | Replace EVP_get_cipherbyname with EVP_CIPHER_fetchsrc/ src/ | +20 | 5 replies | |
| 11/21 | USe EVP_MD_get0_name instead EV_MD_namesrc/ src/ | +3 | 2 replies | |
| 12/21 | Allow loading of non default providersdoc/ src/ src/ +4 more | +63 | 7 replies | |
| 13/21 | Remove dependency on BF-CBC existance from test_ncptests/ | +10 | 2 replies | |
| 14/21 | Use TYPE_do_all_provided function for listing cipher/digestsrc/ | +61 | 2 replies | |
| 15/21 | Do not allow CTS cipherssrc/ | +3 | 3 replies | |
| 16/21 | Add message when decoding PKCS12 file fails.src/ | +2 | 2 replies | |
| 17/21 | Add small unit test for testing HMACtests/ | +54 | 1 reply | |
| 18/21 | Fix error when BF-CBC is not availablesrc/ | +3 | 2 replies | |
| 19/21 | Add insecure tls-cert-profile optionsdoc/ src/ src/ | +13 | 1 reply | |
| 20/21 | Add macos OpenSSL 3.0 and ASAN builds.github/ | +25 | 1 reply | |
| 21/21 | Always use 8192 bytes for ERR_BUF_SIZEsrc/ | +1 | 2 replies |
Reviews trailers per patch
14 of 21 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Max Fillinger | Gert Doering | Selva Nair |
|---|---|---|---|
| Series | A-b A-b | A-b | |
| 1/21 | A-b | ||
| 2/21 | |||
| 3/21 | |||
| 4/21 | A-b | ||
| 5/21 | A-b | ||
| 6/21 | A-b | ||
| 7/21 | A-b | ||
| 8/21 | |||
| 9/21 | A-b | ||
| 10/21 | A-b | ||
| 11/21 | A-b | ||
| 12/21 | |||
| 13/21 | A-b | ||
| 14/21 | |||
| 15/21 | A-b | ||
| 16/21 | A-b | ||
| 17/21 | A-b | ||
| 18/21 | A-b | ||
| 19/21 | |||
| 20/21 | A-b | ||
| 21/21 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [Openvpn-devel] [PATCH v3 00/21] OpenSSL 3.0 improvements for OpenVPN
This patchset removes almost all deprecation warnings from OpenVPN that related to OpenSSL 3.0. The patchset has already been tested with users and OpenSSL 3.0 as part of my OpenVPN for Android client.
Some patches also improve interaction with new features of OpenSSL 3.0, mainly with providers.
The patchset does not address using a provider to replace the RSA_method/EC_method. This is a separate patchset currently prepared by Selva.
Arne Schwabe (21):
[OSSL 3.0] Use new EVP_MAC API for HMAC implementation [OSSL 3.0] Add --with-openssl-engine autoconf option (auto|yes|no) [OSSL 3.0] Implement DES ECB encrypt via EVP_CIPHER api [OSSL 3.0] Remove DES check with OpenSSL 3.0
[OSSL 3.0] Use EVP_PKEY based API for loading DH keys [OSSL 3.0] Deprecate --ecdh-curve with OpenSSL 3.0 and adjust mbed TLS
message
[OSSL 3.0] Remove DES key fixup code
[OSSL 3.0] Use EVP_PKEY_get_group_name to query group name Refactor early initialisation and uninitialisation into methods [OSSL 3.0] Replace EVP_get_cipherbyname with EVP_CIPHER_fetch [OSSL 3.0] USe EVP_MD_get0_name instead EV_MD_name
[OSSL 3.0] Allow loading of non default providers
[OSSL 3.0] Remove dependency on BF-CBC existance from test_ncp [OSSL 3.0] Use TYPE_do_all_provided function for listing cipher/digest [OSSL 3.0] Do not allow CTS ciphers
Add message when decoding PKCS12 file fails.
Add small unit test for testing HMAC
Fix error when BF-CBC is not available
Add insecure tls-cert-profile options
Add macos OpenSSL 3.0 and ASAN builds
Always use 8192 bytes for ERR_BUF_SIZE
.github/workflows/build.yaml | 28 ++- configure.ac | 68 ++++-- doc/man-sections/generic-options.rst | 10 + doc/man-sections/tls-options.rst | 6 + src/openvpn/crypto.c | 46 ---- src/openvpn/crypto.h | 2 - src/openvpn/crypto_backend.h | 18 +- src/openvpn/crypto_mbedtls.c | 34 +-- src/openvpn/crypto_openssl.c | 288 +++++++++++++++++++------ src/openvpn/crypto_openssl.h | 8 + src/openvpn/error.h | 6 +- src/openvpn/ntlm.c | 1 - src/openvpn/openssl_compat.h | 61 ++++++ src/openvpn/openvpn.c | 27 ++- src/openvpn/options.c | 7 + src/openvpn/options.h | 1 + src/openvpn/ssl.c | 18 -- src/openvpn/ssl_mbedtls.c | 8 +- src/openvpn/ssl_openssl.c | 57 +++-- tests/unit_tests/openvpn/test_crypto.c | 61 +++++- tests/unit_tests/openvpn/test_ncp.c | 13 +- 21 files changed, 541 insertions(+), 227 deletions(-)
Signature · 1 line
2.33.0