From: "plaisthos (Code Review)" Date: Sat, 7 Oct 2023 10:25:31 +0000 References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="gSX8y8rbDEY="; charset=UTF-8 Subject: [Openvpn-devel] [XS] Change in openvpn[master]: Add warning for the --show-groups command that some groups are missing List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: flichtenheld Cc: openvpn-devel --gSX8y8rbDEY= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: flichtenheld. Hello flichtenheld, I'd like you to do a code review. Please visit http://gerrit.openvpn.net/c/openvpn/+/366?usp=3Demail to review the following change. Change subject: Add warning for the --show-groups command that some groups = are missing ...................................................................... Add warning for the --show-groups command that some groups are missing OpenSSL has a weird way of only reporting EC curves that are implemented in a certain way in the list of all EC cruves. Note this fact and point out that also the very important curves X448 and X25519 are affected. Change-Id: I86641bf60d62a50e9b2719e809d2429d65c00097 --- M src/openvpn/ssl_openssl.c 1 file changed, 4 insertions(+), 2 deletions(-) git pull ssh://gerrit.openvpn.net:29418/openvpn refs/changes/66/366/1 diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c index 683d76a..a14eb59 100644 --- a/src/openvpn/ssl_openssl.c +++ b/src/openvpn/ssl_openssl.c @@ -2357,8 +2357,10 @@ void show_available_curves(void) { - printf("Consider using openssl 'ecparam -list_curves' as\n" - "alternative to running this command.\n"); + printf("Consider using 'openssl ecparam -list_curves' as alternative t= o running\n" + "this command.\n" + "Note this output does only list curves/group that OpenSSL cons= iders as\n" + "builtin EC curves. It does not list additional curves nor X448= or X25519\n"); #ifndef OPENSSL_NO_EC EC_builtin_curve *curves =3D NULL; size_t crv_len =3D 0; -- To view, visit http://gerrit.openvpn.net/c/openvpn/+/366?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: I86641bf60d62a50e9b2719e809d2429d65c00097 Gerrit-Change-Number: 366 Gerrit-PatchSet: 1 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: flichtenheld Gerrit-MessageType: newchange --gSX8y8rbDEY= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: flichtenheld.

plaisthos would like flichtenheld to review this change.

Vi= ew Change

Add warning for the --show-groups command that some groups ar=
e missing

OpenSSL has a weird way of only reporting EC curves that a= re implemented
in a certain way in the list of all EC cruves. Note this = fact and point
out that also the very important curves X448 and X25519 a= re affected.

Change-Id: I86641bf60d62a50e9b2719e809d2429d65c00097---
M src/openvpn/ssl_openssl.c
1 file changed, 4 insertions(+), 2 d= eletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn refs/=
changes/66/366/1
diff --git a/src/openvpn/ssl_openssl.c b/src/openv=
pn/ssl_openssl.c
index 683d76a..a14eb59 100644
--- a/src/openvpn/ssl_openssl.c
+++ b/src/openvpn/ssl_o= penssl.c
@@ -2357,8 +2357,10 @@
void
show_available_curves(void)
{
- printf("Consider using openss= l 'ecparam -list_curves' as\n"
- "alternative to running this command.= \n");
+ print= f("Consider using 'openssl ecparam -list_curves' as alternativ= e to running\n"
= + "this command.\n"
+ "Note this output does only list curves= /group that OpenSSL considers as\n"
+ "builtin EC curves. It does not list a= dditional curves nor X448 or X25519\n");
#ifndef OPEN= SSL_NO_EC
EC_builtin_curve *curves =3D NULL; size_t crv_len =3D 0;

To vi= ew, visit change 366. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I86641bf60d62a50e9b2719e809d= 2429d65c00097
Gerrit-Change-Number: 366
Gerrit-PatchSet: 1
Gerrit-Owner: plaisthos <arne-openvpn@...1711...= 27...>
Gerrit-Reviewer: flichtenheld <frank@...2716...= 1...>
Gerrit-CC: openvpn-devel <openvpn-devel@...1484...= ts.sourceforge.net>
Gerrit-Attention: flichtenheld <frank@...2375...= 41...>
Gerrit-MessageType: newchange
--gSX8y8rbDEY=--