Somehow this didn't get copied to the list

---------- Forwarded message ---------
From: Selva Nair <selva.n...@gmail.com>
Date: Wed, Nov 14, 2018 at 11:06 AM
Subject: Re: [Openvpn-devel] [PATCH v5 2/2] Add support for OpenSSL TLS 1.3
when using management-external-key
To: Arne Schwabe <a...@rfc2549.org>


Hi,

On Wed, Nov 14, 2018 at 10:56 AM Arne Schwabe <a...@rfc2549.org> wrote:
>
> Am 14.11.18 um 16:18 schrieb Selva Nair:
> > Hi,
> >
> > snipping a lot of useful stuff as we tend agree on those..
> > ..
> >
> >> But in summary.
> >>
> >> My patch basically amounts to: Support old style
management-external-key
> >> with <= OpenSSL 1.1.0 and use and require a new API if we have OpenSSL
> >> 1.1.1 and to really move and have external key have a sane API, we
would
> >> drop rsa-sig and support for older clients, even with <= OpenSSL 1.1.0
> >> as you oppose my proposl for signalling that a new API should be used.
> >> (version in managemnet protocol is too late and not feasible in my
opinion)
> >> Supporting a half working RSA_SIG option that breaks left and right is
> >> not desirable in my opinion.
> >
> > My point is that even with "--management-external-key foo bar", we
> > will be sending
> > a non workable signature request to old clients so changing that
> > option is not really
> > useful. In other words the early erroring out works only half the time
> > and all that code
> > complication is not worth it.
>
> Okay, I think you misunderstood my code. What it does is basically if we
> detect having TLS 1.3 support (max_tls_version >= TLS 1.3) and not a
> nopadding argument we error out, saying that this combination cannot work.
>
> Yes that means that if you upgrade to OpenSSL 1.1.1 you need to support
> the new API but I think that is acceptable.
>
> Unless I overlooked something, I don't see any situation in which we ask
> for an unsupported signature.

Consider this:
(i) config has --management-external-key nopadding but client announces
version
2. We will not error out but send the signature request as
PK_SIGN <base64data>
without the ALG as client version is not 3 and fail

(ii) tls version max is set 1.2 and openssl 1.1.1 is in use both on
server and client.
PSS signing will get negotiated but we will not error out early as TLS
1.3 is not in  use.

That's why I say that this extension of management-external-key is not
worth it.

Am I missing something?

Selva
_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to