From: "selvanair (Code Review)"
Date: Wed, 28 Aug 2024 17:56:56 +0000
In-Reply-To:
References:
Reply-To: selva.nair@...277..., arne-openvpn@...1227...,
openvpn-devel@lists.sourceforge.net, frank@...2641...
Message-ID: <656103ad9ffc432e0074f099070149b3440c408a-EmailReviewComments-HTML@...2715...>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
Content-Type: multipart/alternative; boundary="0N8vwb6hIcE="; charset=UTF-8
Subject: [Openvpn-devel] [L] Change in openvpn[master]: Interpret --key and
--cert option argument as URI
List-Id:
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Cc: plaisthos , flichtenheld , openvpn-devel
--0N8vwb6hIcE=
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld, plaisthos.
selvanair has posted comments on this change. ( http://gerrit.openvpn.net/c=
/openvpn/+/726?usp=3Demail )
Change subject: Interpret --key and --cert option argument as URI
......................................................................
Patch Set 2:
(1 comment)
Patchset:
PS2:
> So I actually tried to use this in a test scenario. [=E2=80=A6]
The way I tested this using a soft token is described in this gist: https:/=
/gist.github.com/selvanair/323ccadbef5ae16df2b7ffb80e2d038b
For softhsm2 token I had to set `pkcs11-module-quirks =3D no-operation-stat=
e` in provider config (see openssl.cnf in the above link). Without this I g=
ot an error:
```OpenSSL: error:40800054:pkcs11::reason(84):Error returned by C_GetOperat=
ionState```
which may be a softhsm2 quirk. Also, for this reason I opted to configure p=
roviders in openssl.cnf instead of using our `--providers` option which is =
limited in functionality.
With these settings both server and client worked using pkcs11 URI. As for =
hooks, I only tried a simple `tls-verify` script on server-side which does =
work for me. What kind of hooks caused openvpn to hang?
--
To view, visit http://gerrit.openvpn.net/c/openvpn/+/726?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: I82b32d5ab472926e7889a5f4a90caba14231879a
Gerrit-Change-Number: 726
Gerrit-PatchSet: 2
Gerrit-Owner: selvanair
Gerrit-Reviewer: flichtenheld
Gerrit-Reviewer: plaisthos
Gerrit-Reviewer: selvanair
Gerrit-CC: openvpn-devel
Gerrit-Attention: plaisthos
Gerrit-Attention: flichtenheld
Gerrit-Comment-Date: Wed, 28 Aug 2024 17:56:56 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: flichtenheld
Gerrit-MessageType: comment
--0N8vwb6hIcE=
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Attention is currently required from: flichtenheld, plaisthos.
So I actually tried to=
use this in a test scenario. [=E2=80=A6]
The way I tested this using a sof=
t token is described in this gist: https://gist.github.com/selvanair/323cca=
dbef5ae16df2b7ffb80e2d038b
For softhsm2 token I had to set `pkcs11-module-quirks =3D no-=
operation-state` in provider config (see openssl.cnf in the above link). Wi=
thout this I got an error:
```OpenSSL: error:40800054:pkcs11::reason(84):Error returned =
by C_GetOperationState```
which may be a softhsm2 quirk. Also, for this reason I opted t=
o configure providers in openssl.cnf instead of using our `--providers` opt=
ion which is limited in functionality.
With these settings both server and client worked=
using pkcs11 URI. As for hooks, I only tried a simple `tls-verify` script =
on server-side which does work for me. What kind of hooks caused openvpn to=
hang?
To view, visit change 726. To unsubscribe, or f=
or help writing mail filters, visit settings.