building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ‘sizeof’ to incomplete type ‘cipher_ctx_t"
fyi,
noting
openvpn fails to build with openssl 1.1
https://community.openvpn.net/openvpn/ticket/759
[Openvpn-devel] [RFC PATCH v1 00/15] Add support for OpenSSL 1.1.x
https://www.mail-archive.com/[email protected]/msg14075.html
building latest HEAD,
cd openvpn/
git log | head
commit 363af65178b8bbb482df958d6570c8763aee5d1d
Author: Gert Doering <[email protected]...>
Date: Sun Mar 19 19:41:35 2017 +0100
Make ENABLE_OCC no longer depend on !ENABLE_SMALL
OCC is useful functionality which (according to LEDE devs) adds only about 3k to the binary size - and if the embedded router folks can afford this trade-off, everyone else can :-)
builds/execs OK with OpenSSL 1.0 API.
otoh, similarly config'd, but using OpenSSL 1.1 API, as
OPENSSL_CFLAGS="-I/usr/local/include -I/usr/local/openssl11/include" \ OPENSSL_LIBS="-L/usr/local/openssl11/lib64 -Wl,-rpath,/usr/local/openssl11/lib64 -lssl -lcrypto" \ ./configure \ --prefix=/usr/local/openvpn \ --enable-shared --disable-static \ --with-gnu-ld \ --with-crypto-library=openssl \ --enable-crypto \ --enable-x509-alt-username \ ...
build fails @
make V=1
...
mv -f .deps/comp-lz4.Tpo .deps/comp-lz4.Po
/usr/bin/gcc-6 -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -I../../src/compat -O3 -Wall -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fmessage-length=0 -grecord-gcc-switches -march=native -mtune=native -D_FORTIFY_SOURCE=2 -I/usr/local/include -I/usr/local/openssl11/include -I/usr/include -DPLUGIN_LIBDIR=\"/usr/local/openvpn/lib64/openvpn/plugins\" -O3 -Wall -fstack-protector -funwind-tables -fasynchronous-unwind-tables -fmessage-length=0 -grecord-gcc-switches -march=native -mtune=native -fPIC -DPIC -D_GNU_SOURCE -fno-strict-aliasing -Wall -std=c99 -MT crypto.o -MD -MP -MF .deps/crypto.Tpo -c -o crypto.o crypto.c
In file included from crypto.h:130:0,
from crypto.c:36:
crypto.c: In function ‘init_key_ctx’:
crypto.c:823:32: error: invalid application of ‘sizeof’ to incomplete type ‘cipher_ctx_t {aka struct evp_cipher_ctx_st}’
ALLOC_OBJ(ctx->cipher, cipher_ctx_t);
^
buffer.h:1015:61: note: in definition of macro ‘ALLOC_OBJ’
check_malloc_return((dptr) = (type *) malloc(sizeof(type))); \
^~~~
crypto.c:847:30: error: invalid application of ‘sizeof’ to incomplete type ‘hmac_ctx_t {aka struct hmac_ctx_st}’
ALLOC_OBJ(ctx->hmac, hmac_ctx_t);
^
buffer.h:1015:61: note: in definition of macro ‘ALLOC_OBJ’
check_malloc_return((dptr) = (type *) malloc(sizeof(type))); \
^~~~
Makefile:673: recipe for target 'crypto.o' failed
make[3]: *** [crypto.o] Error 1
make[3]: Leaving directory '/usr/local/src/openvpn/src/openvpn'
Makefile:429: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/usr/local/src/openvpn/src'
Makefile:615: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/openvpn'
Makefile:503: recipe for target 'all' failed
make: *** [all] Error 2Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
Hi,
Quoted 4 lines · PGNet Dev
noting
openvpn fails to build with openssl 1.1
https://community.openvpn.net/openvpn/ticket/759
Guess why that ticket is still open?
Quoted 2 lines
[Openvpn-devel] [RFC PATCH v1 00/15] Add support for OpenSSL 1.1.x
https://www.mail-archive.com/[email protected]/msg14075.html
... because that is a patch *series*, and only half of it has been merged yet.
So it is perfectly known that it will not build with 1.1 yet.
gert
Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]...
fax: +49-89-35655025 [email protected]...Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
Hi,
Quoted 10 lines · Gert Doering
Hi,
Quoted 4 lines · PGNet Dev
noting
openvpn fails to build with openssl 1.1
https://community.openvpn.net/openvpn/ticket/759Guess why that ticket is still open?
Quoted 9 lines
Quoted 2 lines
[Openvpn-devel] [RFC PATCH v1 00/15] Add support for OpenSSL 1.1.x
https://www.mail-archive.com/[email protected]...sourceforge.net/msg14075.html
... because that is a patch *series*, and only half of it has been merged yet.
So it is perfectly known that it will not build with 1.1 yet.
I should be able to push a new version of the remaining patches in the foreseeable future (let's say today or tomorrow, because I will be unavailable at the end of this week).
I found a solution to overcome the big X509_check_purpose() issue, so now I'm able to propose a solution that does not change the behavior of OpenVPN.
BR,
-- Emmanuel Deloget
Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
Hi,
Quoted 7 lines · Emmanuel Deloget
I should be able to push a new version of the remaining patches in the foreseeable future (let's say today or tomorrow, because I will be unavailable at the end of this week).
I found a solution to overcome the big
X509_check_purpose()issue, so now I'm able to propose a solution that does not change the behavior of OpenVPN.
That's great! This way, 2.4 does not have to change it's behaviour. Still, I think it makes sense to deprecate --ns-cert-type, and remove it in favour or --remote-cert-tls in openvpn 2.5.
-Steffan
Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
Quoted 7 lines · Steffan Karger
Hi,
Quoted 4 lines · Emmanuel Deloget
I should be able to push a new version of the remaining patches in the foreseeable future (let's say today or tomorrow, because I will be unavailable at the end of this week).
Quoted 7 lines
Quoted 3 lines
I found a solution to overcome the big
X509_check_purpose()issue, so now I'm able to propose a solution that does not change the behavior of OpenVPN.That's great! This way, 2.4 does not have to change it's behaviour. Still, I think it makes sense to deprecate --ns-cert-type, and remove it in favour or --remote-cert-tls in openvpn 2.5.
Based on the feedback and discussions in Fedora regarding to us removing --tls-remote .... I actually think 2.5 is too early. We need to have a patch very soon complaining loudly in the log files and get in touch with at least NetworkManager guys to ensure they have time to implement a solution when this goes away. So I think 2.6 is more realistic.
Signature · 4 lines
kind regards, David Sommerseth OpenVPN Technologies, Inc
Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
Hi,
Quoted 6 lines · David Sommerseth
Quoted 3 lines
That's great! This way, 2.4 does not have to change it's behaviour. Still, I think it makes sense to deprecate --ns-cert-type, and remove it in favour or --remote-cert-tls in openvpn 2.5.
Based on the feedback and discussions in Fedora regarding to us removing --tls-remote .... I actually think 2.5 is too early.
Nobody suggested removing --remote-cert-tls.
This is about --ns-cert-type.
Quoted 2 lines
We need to have a
patch very soon complaining loudly in the log files
Like, 57637d0f677d824dacdc83d858357ccc80723f45? :-)
Quoted 3 lines
and get in touch
with at least NetworkManager guys to ensure they have time to implement a solution when this goes away. So I think 2.6 is more realistic.
Shouldn't be so hard to do a string-substitution in NM... with60b23236329e6921729f51e7689042a29c794a6b, this is really straightforward (unless your certs are really, *really* weird, providing a proper nsCert extention, but no proper keyUsage/extKeyUsage extentions).
gert
Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]...
fax: +49-89-35655025 [email protected]...Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
Quoted 11 lines · Gert Doering
Hi,
Quoted 6 lines · David Sommerseth
Quoted 3 lines
That's great! This way, 2.4 does not have to change it's behaviour. Still, I think it makes sense to deprecate --ns-cert-type, and remove it in favour or --remote-cert-tls in openvpn 2.5.
Based on the feedback and discussions in Fedora regarding to us removing --tls-remote .... I actually think 2.5 is too early.
Nobody suggested removing --remote-cert-tls.
I don't think I tried to say that :) I mentioned --tls-remote in v2.4 as that caused quite some noise. I actually had to add a patch in the EPEL packages for EL6+EL7 bringing it back again, to ease these complaints.
Quoted 1 line
This is about --ns-cert-type.
Right :)
Quoted 4 lines
Quoted 2 lines
We need to have a
patch very soon complaining loudly in the log filesLike,
57637d0f677d824dacdc83d858357ccc80723f45? :-)
Ahh! I completely forgot about that patch. Good! It's even in v2.4.1 already :)
Quoted 6 lines
Quoted 3 lines
and get in touch
with at least NetworkManager guys to ensure they have time to implement a solution when this goes away. So I think 2.6 is more realistic.Shouldn't be so hard to do a string-substitution in NM... with
60b23236329e6921729f51e7689042a29c794a6b, this is really straightforward
If the behaviour is really close by doing a substitution, this should be good enough. --tls-remote to --verify-x509-name is more complicated, due to character remapping and such ugly details.
Quoted 2 lines
(unless your certs are really, *really* weird, providing a proper nsCert extention, but no proper keyUsage/extKeyUsage extentions).
Well, despite weirdness occurring (Way too) often, I think we can live with that noise if we have given enough time to adopt. As long as we have a real and solid argument they have been doing things wrong in the beginning.
Signature · 4 lines
kind regards, David Sommerseth OpenVPN Technologies, Inc
Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
Hi,
Quoted 6 lines · David Sommerseth
Quoted 5 lines · Gert Doering
Quoted 4 lines · David Sommerseth
Quoted 3 lines
That's great! This way, 2.4 does not have to change it's behaviour. Still, I think it makes sense to deprecate --ns-cert-type, and remove it in favour or --remote-cert-tls in openvpn 2.5.
Quoted 8 lines
Quoted 4 lines
Quoted 2 lines
Based on the feedback and discussions in Fedora regarding to us removing --tls-remote .... I actually think 2.5 is too early.
Nobody suggested removing --remote-cert-tls.
I don't think I tried to say that :) I mentioned --tls-remote in v2.4 as that caused quite some noise. I actually had to add a patch in the EPEL packages for EL6+EL7 bringing it back again, to ease these complaints.
Ah, *that* one. I see. So "the last time we deprecated and removed one of our zillion stale options, people complained, so we're not going to do it again"?
We need to communicate better what might affect users in new versions, so they can test and complain/adjust in time (like, the stricter CRL handling in 2.4, and - obviously - the --tls-remote bit)
Quoted 10 lines
Quoted 1 line
This is about --ns-cert-type.
Right :)
Quoted 4 lines
Quoted 2 lines
We need to have a
patch very soon complaining loudly in the log filesLike,
57637d0f677d824dacdc83d858357ccc80723f45? :-)Ahh! I completely forgot about that patch. Good! It's even in v2.4.1 already :)
Steffan was busy getting work done ;-)
Quoted 10 lines
Quoted 6 lines
Quoted 3 lines
and get in touch
with at least NetworkManager guys to ensure they have time to implement a solution when this goes away. So I think 2.6 is more realistic.Shouldn't be so hard to do a string-substitution in NM... with
60b23236329e6921729f51e7689042a29c794a6b, this is really straightforwardIf the behaviour is really close by doing a substitution, this should be good enough. --tls-remote to --verify-x509-name is more complicated, due to character remapping and such ugly details.
Indeed.
So - this is something people need to test on their client/server certs.
Initially, it broke for ours (because the CA sets "more bits than needed", and that confused the ku test on equality), but with the new check "at least these bits, more are OK" all is fine.
Quoted 7 lines
Quoted 2 lines
(unless your certs are really, *really* weird, providing a proper nsCert extention, but no proper keyUsage/extKeyUsage extentions).
Well, despite weirdness occurring (Way too) often, I think we can live with that noise if we have given enough time to adopt. As long as we have a real and solid argument they have been doing things wrong in the beginning.
Indeed, again ;-)
gert
Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany [email protected]...
fax: +49-89-35655025 [email protected]...Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
Quoted 3 lines · Gert Doering
We need to communicate better what might affect users in new versions, so they can test and complain/adjust in time (like, the stricter CRL handling in 2.4, and - obviously - the --tls-remote bit)
Suggestion: A Wiki Page detailing deprecation plans with dated targets.
Regards
Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
Quoted 6 lines · On 28-03-17 15:02, debbie10t wrote:
Quoted 3 lines · Gert Doering
We need to communicate better what might affect users in new versions, so they can test and complain/adjust in time (like, the stricter CRL handling in 2.4, and - obviously - the --tls-remote bit)
Suggestion: A Wiki Page detailing deprecation plans with dated targets.
We have Changes.rst for that:
https://github.com/OpenVPN/openvpn/blob/master/Changes.rst
Let's please keep this list on one location only, and I think Changes.rst is the right place.
-Steffan
Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
Quoted 8 lines · Steffan Karger
Quoted 6 lines · On 28-03-17 15:02, debbie10t wrote:
Quoted 3 lines · Gert Doering
We need to communicate better what might affect users in new versions, so they can test and complain/adjust in time (like, the stricter CRL handling in 2.4, and - obviously - the --tls-remote bit)
Suggestion: A Wiki Page detailing deprecation plans with dated targets.
Quoted 7 lines
We have
Changes.rstfor that:
https://github.com/OpenVPN/openvpn/blob/master/Changes.rstLet's please keep this list on one location only, and I think
Changes.rstis the right place.-Steffan
Ah, Changes.rst had "Deprecated features" section, good. I think that is sufficient. The question then becomes: do we need to link to Changes.rst from somewhere so that people find it?
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
Quoted 12 lines · Samuli Seppänen
Quoted 11 lines · Steffan Karger
Quoted 6 lines · On 28-03-17 15:02, debbie10t wrote:
Quoted 3 lines · Gert Doering
We need to communicate better what might affect users in new versions, so they can test and complain/adjust in time (like, the stricter CRL handling in 2.4, and - obviously - the --tls-remote bit)
Suggestion: A Wiki Page detailing deprecation plans with dated targets.
We have
Changes.rstfor that:
https://github.com/OpenVPN/openvpn/blob/master/Changes.rst
Quoted 7 lines
Quoted 2 lines
Let's please keep this list on one location only, and I think
Changes.rstis the right place.Ah,
Changes.rsthad "Deprecated features" section, good. I think that is sufficient. The question then becomes: do we need to link toChanges.rstfrom somewhere so that people find it?
Yeah, linking to the changes.rst on github (which gets nicely rendered) from the wiki sounds like a good plan.
-Steffan
Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
Quoted 16 lines · Steffan Karger
Quoted 15 lines · Samuli Seppänen
Quoted 13 lines · Steffan Karger
Quoted 6 lines · On 28-03-17 15:02, debbie10t wrote:
Quoted 3 lines · Gert Doering
We need to communicate better what might affect users in new versions, so they can test and complain/adjust in time (like, the stricter CRL handling in 2.4, and - obviously - the --tls-remote bit)
Suggestion: A Wiki Page detailing deprecation plans with dated targets.
We have
Changes.rstfor that:
https://github.com/OpenVPN/openvpn/blob/master/Changes.rstLet's please keep this list on one location only, and I think
Changes.rstis the right place.
Quoted 7 lines
Quoted 4 lines
Ah,
Changes.rsthad "Deprecated features" section, good. I think that is sufficient. The question then becomes: do we need to link toChanges.rstfrom somewhere so that people find it?Yeah, linking to the
changes.rston github (which gets nicely rendered) from the wiki sounds like a good plan.
Agreed: a simple Deprecation page on the wiki linking to changes.rst
The wiki page *could* also be updated from time to time to provide specific warnings of important changes like deprecating --ns-cert-type as it has been identified that it will likely effect many people.
I would be happy to help maintain such warnings as they are mentioned the devel mailing list.
Regards
Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
Quoted 30 lines · On 28/03/17 15:05, debbie10t wrote:
Quoted 19 lines · Steffan Karger
Quoted 18 lines · Samuli Seppänen
Quoted 16 lines · Steffan Karger
Quoted 9 lines · On 28-03-17 15:02, debbie10t wrote:
Quoted 5 lines · Gert Doering
We need to communicate better what might affect users in new versions, so
they can test and complain/adjust in time (like, the stricter CRL handling
in 2.4, and - obviously - the --tls-remote bit)Suggestion: A Wiki Page detailing deprecation plans with dated targets.
We have
Changes.rstfor that:
https://github.com/OpenVPN/openvpn/blob/master/Changes.rstLet's please keep this list on one location only, and I think
Changes.rstis the right place.Quoted 7 lines
Quoted 4 lines
Ah,
Changes.rsthad "Deprecated features" section, good. I think that is sufficient. The question then becomes: do we need to link toChanges.rstfrom somewhere so that people find it?Yeah, linking to the
changes.rston github (which gets nicely rendered) from the wiki sounds like a good plan.
Quoted 9 lines
Agreed: a simple Deprecation page on the wiki linking to
changes.rstThe wiki page *could* also be updated from time to time to provide specific warnings of important changes like deprecating --ns-cert-type as it has been identified that it will likely effect many people.
I would be happy to help maintain such warnings as they are mentioned the devel mailing list.
I see a link has already just been added here:
https://community.openvpn.net/openvpn/wiki/WikiStart
I was thinking of something a little more user friendly.
I will draft something on the wiki which you can review and keep or not as preferred.
Regards
Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
Quoted 14 lines · On 28/03/2017 17:11, debbie10t wrote:
Quoted 10 lines
Agreed: a simple Deprecation page on the wiki linking to
changes.rstThe wiki page *could* also be updated from time to time to provide specific warnings of important changes like deprecating --ns-cert-type as it has been identified that it will likely effect many people.
I would be happy to help maintain such warnings as they are mentioned the devel mailing list.
I see a link has already just been added here:
https://community.openvpn.net/openvpn/wiki/WikiStart
Quoted 6 lines
I was thinking of something a little more user friendly.
I will draft something on the wiki which you can review and keep or not as preferred.
Regards
+1.
Samuli
Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
In reply to debbie10tQuoted 10 lines · On 28/03/2017 16:02, debbie10t wrote:
Quoted 3 lines · Gert Doering
We need to communicate better what might affect users in new versions, so they can test and complain/adjust in time (like, the stricter CRL handling in 2.4, and - obviously - the --tls-remote bit)
Suggestion: A Wiki Page detailing deprecation plans with dated targets.
+1.
That would also help us remember what features are being deprecated and what their deprecation status is.
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
Re: [Openvpn-devel] building HEAD + openssl 1.1 api fails @ "crypto.c:823:32: error: invalid application of ???sizeof??? to incomplete type ???cipher_ctx_t"
In reply to Gert DoeringQuoted 14 lines · Gert Doering
Hi,
Quoted 11 lines · David Sommerseth
Quoted 9 lines · Gert Doering
Quoted 6 lines · David Sommerseth
Quoted 3 lines
That's great! This way, 2.4 does not have to change it's behaviour. Still, I think it makes sense to deprecate --ns-cert-type, and remove it in favour or --remote-cert-tls in openvpn 2.5.
Based on the feedback and discussions in Fedora regarding to us removing --tls-remote .... I actually think 2.5 is too early.
Nobody suggested removing --remote-cert-tls.
Quoted 7 lines
Quoted 3 lines
I don't think I tried to say that :) I mentioned --tls-remote in v2.4 as that caused quite some noise. I actually had to add a patch in the EPEL packages for EL6+EL7 bringing it back again, to ease these complaints.
Ah, *that* one. I see. So "the last time we deprecated and removed one of our zillion stale options, people complained, so we're not going to do it again"?
Nope. We will deprecate features in the future too. But we should be far more careful and not even expect users to turn around as quick as we really want.
Quoted 3 lines
We need to communicate better what might affect users in new versions, so they can test and complain/adjust in time (like, the stricter CRL handling in 2.4, and - obviously - the --tls-remote bit)
Absolutely! The --tls-remote feature was deprecated for 3(!) years, and still people didn't catch it. In fact NetworkManager guys implemented the initial fix for it sometime in late last autumn, iirc. But we only listed it as deprecated in the man-page, no log warnings. And we added a note about it in Changes.rst, which also arrived fairly late in the 2.4 cycle.
I have a *hope* that annoying users with M_WARN in the log files will help a bit. As well as stating it clearly in the man pages, wiki pages, Changes.rst.
<sarcasm>
If the log part is not enough as it is today, we might need to consider a new M_DEPRECATED which makes it even more obvious ... like this:
DEPRECATED: ******************************************
DEPRECATED: *** Option --x-y is deprecated
DEPRECATED: *** This option will be removed in v2.z
DEPRECATED: ******************************************
Perhaps with a 1 minute start-up delay.
If someone is not able to catch that one ... then I have no don't know what else can work.
</sarcasm>
Quoted 22 lines
Quoted 10 lines
Quoted 6 lines
Quoted 3 lines
and get in touch
with at least NetworkManager guys to ensure they have time to implement a solution when this goes away. So I think 2.6 is more realistic.Shouldn't be so hard to do a string-substitution in NM... with
60b23236329e6921729f51e7689042a29c794a6b, this is really straightforwardIf the behaviour is really close by doing a substitution, this should be good enough. --tls-remote to --verify-x509-name is more complicated, due to character remapping and such ugly details.
Indeed.
So - this is something people need to test on their client/server certs.
Initially, it broke for ours (because the CA sets "more bits than needed", and that confused the ku test on equality), but with the new check "at least these bits, more are OK" all is fine.
Quoted 3 lines
Quoted 2 lines
(unless your certs are really, *really* weird, providing a proper nsCert extention, but no proper keyUsage/extKeyUsage extentions).
Quoted 6 lines
Quoted 4 lines
Well, despite weirdness occurring (Way too) often, I think we can live with that noise if we have given enough time to adopt. As long as we have a real and solid argument they have been doing things wrong in the beginning.
Indeed, again ;-)
:)
Signature · 4 lines
kind regards, David Sommerseth OpenVPN Technologies, Inc