From: "cron2 (Code Review)" Date: Tue, 31 Oct 2023 13:06:51 +0000 In-Reply-To: References: Reply-To: gert@...1296..., arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641..., max@...2606... Message-ID: <05418189adb975f704e18f29493a5e094cfd98c4-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="/U7EMt20Trs="; charset=UTF-8 Subject: [Openvpn-devel] [S] Change in openvpn[master]: Update README.mbedtls List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: MaxF , plaisthos , flichtenheld Cc: openvpn-devel --/U7EMt20Trs= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable cron2 has uploaded a new patch set (#9) to the change originally created by= MaxF. ( http://gerrit.openvpn.net/c/openvpn/+/372?usp=3Demail ) The following approvals got outdated and were removed: Code-Review+2 by flichtenheld Change subject: Update README.mbedtls ...................................................................... Update README.mbedtls Change-Id: Ia61c467d85d690752011bafcf112e39d5b252aa7 Signed-off-by: Max Fillinger Acked-by: Frank Lichtenheld Message-Id: <20231025121928.1031109-1-frank@...2641...> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27= 295.html Signed-off-by: Gert Doering --- M README.mbedtls 1 file changed, 25 insertions(+), 8 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/72/372/9 diff --git a/README.mbedtls b/README.mbedtls index d3466fa..9b75c2b 100644 --- a/README.mbedtls +++ b/README.mbedtls @@ -1,13 +1,13 @@ -This version of OpenVPN has mbed TLS support. To enable follow the followi= ng -instructions: +This version of OpenVPN has mbed TLS support. To enable, follow the +instructions below: -To Build and Install, +To build and install, ./configure --with-crypto-library=3Dmbedtls make make install -This version depends on mbed TLS 2.0 (and requires at least 2.0.0). +This version requires mbed TLS version >=3D 2.0.0 or >=3D 3.2.1. ************************************************************************* @@ -16,7 +16,8 @@ As of mbed TLS 2.17, it can be licensed *only* under the Apache v2.0 licen= se. That license is incompatible with OpenVPN's GPLv2. -If you wish to distribute OpenVPN linked with mbed TLS, there are two opti= ons: +We are currently in the process of resolving this problem, but for now, if= you +wish to distribute OpenVPN linked with mbed TLS, there are two options: * Ensure that your case falls under the system library exception in GPLv2= , or @@ -24,9 +25,6 @@ that may be licensed under GPLv2. Unfortunately, this version is unsupported and won't receive any more updates. -If nothing changes about the license situation, mbed TLS support may be -deprecated in a future release of OpenVPN. - ************************************************************************* Due to limitations in the mbed TLS library, the following features are mis= sing @@ -42,3 +40,22 @@ * X.509 subject line has a different format than the OpenSSL subject line * X.509 certificate export does not work * X.509 certificate tracking + +************************************************************************* + +Mbed TLS 3 supports the TLS 1.3 protocol, but the implementation is not yet +complete. Therefore, using TLS 1.3 in the mbed TLS build of OpenVPN is not= yet +supported. + +Nevertheless, here are some pointers to make it work with mbed TLS 3.5.0: + + * The stock configuration of mbed TLS does not support TLS 1.3. To enable= it, + uncomment `#define MBEDTLS_SSL_PROTO_TLS1_3` in your mbedtls_config.h b= efore + compiling the library. + * An OpenVPN client with mbed TLS cannot connect to a server with OpenSSL + using TLS 1.3. + * An OpenVPN client with OpenSSL *can* connect to a server using mbed TLS= with + TLS 1.3, but *only* if `#define MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE` = has + been uncommented in mbedtls_config.h. + +Note that none of these limitations apply to TLS 1.2. -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/372?usp=3Demail To unsubscribe, or for help writing mail filters, visit http://gerrit.openv= pn.net/settings Gerrit-Project: openvpn Gerrit-Branch: master Gerrit-Change-Id: Ia61c467d85d690752011bafcf112e39d5b252aa7 Gerrit-Change-Number: 372 Gerrit-PatchSet: 9 Gerrit-Owner: MaxF Gerrit-Reviewer: flichtenheld Gerrit-Reviewer: plaisthos Gerrit-CC: openvpn-devel Gerrit-MessageType: newpatchset --/U7EMt20Trs= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

cron2 uploaded patch set #9 to the change originally cr= eated by MaxF.

View Change

The following approvals got outdated and = were removed: Code-Review+2 by flichtenheld

Update README.mbedtls

Change-Id: Ia61c= 467d85d690752011bafcf112e39d5b252aa7
Signed-off-by: Max Fillinger <ma= x@...2606...>
Acked-by: Frank Lichtenheld <frank@...2641...>Message-Id: <20231025121928.1031109-1-frank@...2641...>
URL: http= s://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg27295.html<= br>Signed-off-by: Gert Doering <gert@...1296...>
---
M README.m= bedtls
1 file changed, 25 insertions(+), 8 deletions(-)

git pu= ll ssh://gerrit.openvpn.net:29418/openvpn refs/changes/72/372/9
dif=
f --git a/README.mbedtls b/README.mbedtls
index d3466fa..9b= 75c2b 100644
--- a/README.mbedtls
+++ b/REA= DME.mbedtls
@@ -1,13 +1,13 @@
-This version of OpenVPN has mbed TLS support. To en= able follow the following
-instructions:
+Th= is version of OpenVPN has mbed TLS support. To enable, follow the+instructions below:
-To Build and = Install,
+To build an= d install,

./configure --with-crypto-li= brary=3Dmbedtls
make
make install

-This vers= ion depends on mbed TLS 2.0 (and requires at least 2.0.0).
+This version requires mbed TLS versi= on >=3D 2.0.0 or >=3D 3.2.1.

*****= ********************************************************************=

@@ -16,7 +16,8 @@
As of mbed T= LS 2.17, it can be licensed *only* under the Apache v2.0 license. That license is incompatible with OpenVPN's GPLv2.

-If you wish to d= istribute OpenVPN linked with mbed TLS, there are two options:
+We are currently in the process = of resolving this problem, but for now, if you
+wish to distribute OpenVPN linked with mbed TLS,= there are two options:

* Ensure that y= our case falls under the system library exception in GPLv2, or

@@ -24,9 +25,6 @@
that may be lic= ensed under GPLv2. Unfortunately, this version is
unsup= ported and won't receive any more updates.

= -If nothing changes about the lic= ense situation, mbed TLS support may be
-deprecated in a future release of OpenVPN.
-
******************= *******************************************************

Due to limitations in the mbed TLS library, the following f= eatures are missing
@@ -42,3 +40,22 @@
* = X.509 subject line has a different format than the OpenSSL subject line
* X.509 certificate export does not work
*= X.509 certificate tracking
+
+***********= **************************************************************
+

+Mbed TLS 3 supports the TLS 1.3 protocol, but the i= mplementation is not yet
+complete. Therefore, using TLS 1.3 in the mbed TLS build of OpenVPN is= not yet
+supported.<= /span>
+
+Nevertheless, here are some pointers to= make it work with mbed TLS 3.5.0:
+
+ * T= he stock configuration of mbed TLS does not support TLS 1.3. To enable it,<= /span>
+ uncomment `#defin= e MBEDTLS_SSL_PROTO_TLS1_3` in your mbedtls_config.h before
+ compiling the library.
+ * An OpenVPN client with mbe= d TLS cannot connect to a server with OpenSSL
+ using TLS 1.3.
+ * An OpenVPN client with OpenSSL *can* connect to = a server using mbed TLS with
+ TLS 1.3, but *only* if `#define MBEDTLS_SSL_TLS1_3_COMPATIBILIT= Y_MODE` has
+ been = uncommented in mbedtls_config.h.
+
+Note t= hat none of these limitations apply to TLS 1.2.

=

To view, visit change 372. To unsubscribe, or for help writing mail fil= ters, visit settings.

<= meta itemprop=3D"name" content=3D"View Change"/>
Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: Ia61c467d85d690752011bafcf11= 2e39d5b252aa7
Gerrit-Change-Number: 372
Gerrit-PatchSet: 9
Gerrit-Owner: MaxF <max@...2606...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-Reviewer: plaisthos <arne-openvpn@...1186...= .1227...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-MessageType: newpatchset
--/U7EMt20Trs=--