From: "plaisthos (Code Review)" Date: Sun, 8 Oct 2023 13:42:36 +0000 In-Reply-To: References: Reply-To: arne-openvpn@...1227..., openvpn-devel@lists.sourceforge.net, frank@...2641... Message-ID: <2115aad57d564ee1ca45bccead2fc9b740c9445b-EmailReplacePatchSet-HTML@...2715...> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Disposition: inline Content-Type: multipart/alternative; boundary="5ho099Q9OSM="; 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 --5ho099Q9OSM= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Attention is currently required from: plaisthos. Hello flichtenheld, I'd like you to reexamine a change. Please visit http://gerrit.openvpn.net/c/openvpn/+/366?usp=3Demail to look at the new patch set (#7). The change is no longer submittable: checks~ChecksSubmitRule is unsatisfied= now. 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/7 diff --git a/src/openvpn/ssl_openssl.c b/src/openvpn/ssl_openssl.c index 686ecf7..2b3f4f4 100644 --- a/src/openvpn/ssl_openssl.c +++ b/src/openvpn/ssl_openssl.c @@ -2359,8 +2359,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: 7 Gerrit-Owner: plaisthos Gerrit-Reviewer: flichtenheld Gerrit-CC: openvpn-devel Gerrit-Attention: plaisthos Gerrit-MessageType: newpatchset --5ho099Q9OSM= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable

Attention is currently required from: plaisthos.

plaisthos uploaded patch set #7 to this change.

<= a href=3D"http://gerrit.openvpn.net/c/openvpn/+/366?usp=3Demail">View Chang= e

The change is no longer submittable: checks~ChecksSubmitRule is= unsatisfied now.

Add warning for the --show-groups command that some group=
s are missing

OpenSSL has a weird way of only reporting EC curves th= at are implemented
in a certain way in the list of all EC cruves. Note t= his fact and point
out that also the very important curves X448 and X255= 19 are affected.

Change-Id: I86641bf60d62a50e9b2719e809d2429d65c0009= 7
---
M src/openvpn/ssl_openssl.c
1 file changed, 4 insertions(+),= 2 deletions(-)

git pull ssh://gerrit.openvpn.net:29418/openvpn r=
efs/changes/66/366/7
diff --git a/src/openvpn/ssl_openssl.c b/src/o=
penvpn/ssl_openssl.c
index 686ecf7..2b3f4f4 100644--- a/src/openvpn/ssl_openssl.c
+++ b/src/openvpn/s= sl_openssl.c
@@ -2359,8 +2359,10 @@
void
show_available_curves(void)
{
- printf("Consider using op= enssl 'ecparam -list_curves' as\n"

- "alternative to running this comm= and.\n");
+ p= rintf("Consider using 'openssl ecparam -list_curves' as altern= ative to running\n"
+ "this command.\n"
+ "Note this output does only list cu= rves/group that OpenSSL considers as\n"
+ "builtin EC curves. It does not li= st additional curves nor X448 or X25519\n");
#ifndef = OPENSSL_NO_EC
EC_builtin_curve *curves =3D NULL;
size_t crv_len =3D 0;

T= o view, visit change 366. To unsubscribe, or for help writing mail filters, visi= t settings.

Gerrit-Project: openvpn
Gerrit-Branch: master
Gerrit-Change-Id: I86641bf60d62a50e9b2719e809d= 2429d65c00097
Gerrit-Change-Number: 366
Gerrit-PatchSet: 7
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: plaisthos <arne-openvpn@...220...= ..1227...>
Gerrit-MessageType: newpatchset
--5ho099Q9OSM=--