Welcome! Log In Create A New Profile

Advanced

Re: Adding a second TLS implementation

Kevin Burke
February 10, 2021 11:10PM
Thanks for the prompt reply.

We are, however, open for patches to improve portability of the
> SSL code, such as providing ngx_ssl_*() wrapper functions in (very
> few, actually) places where SSL library interfaces are used
> directly rather than via appropriate ngx_ssl_*() wrappers.


If implemented, would the additional wrapper functions make it possible to
compile in a memory safe TLS integration as a third party module?

On Wed, Feb 10, 2021 at 6:38 PM Maxim Dounin <mdounin@mdounin.ru> wrote:

> Hello!
>
> On Wed, Feb 10, 2021 at 05:02:54PM -0800, Kevin Burke wrote:
>
> > Hi,
> > There has been a recent push by some members of the security community to
> > try to make more critical code run in memory safe languages, because of
> the
> > high prevalence of security issues related to memory safety, for example,
> > use-after-free, double-free or heap buffer vulnerabilities.
> >
> > In that light, I was wondering if you'd be open to adding a second TLS
> > implementation that could be used in place of OpenSSL. Ideally, the
> target
> > would be a TLS implementation in a memory safe language, for example,
> > rustls, available at https://github.com/ctz/rustls. Curl just merged a
> > patch to support the rustls backend.
> >
> > This would require a lot of changes to make the TLS implementation
> portable
> > so before investigating it I figured I would see if you're open to it at
> > all.
>
> We already support three distinct SSL libraries: OpenSSL,
> LibreSSL, and BoringSSL. It is unlikely that support for other
> libraries will be considered: that's already way more than it's
> comfortable to support.
>
> We are, however, open for patches to improve portability of the
> SSL code, such as providing ngx_ssl_*() wrapper functions in (very
> few, actually) places where SSL library interfaces are used
> directly rather than via appropriate ngx_ssl_*() wrappers.
>
> --
> Maxim Dounin
> http://mdounin.ru/
> _______________________________________________
> nginx-devel mailing list
> nginx-devel@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx-devel
>
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

Adding a second TLS implementation

Kevin Burke 405 February 10, 2021 08:04PM

Re: Adding a second TLS implementation

splitice 344 February 10, 2021 09:30PM

Re: Adding a second TLS implementation

Maxim Dounin 235 February 10, 2021 09:40PM

Re: Adding a second TLS implementation

Kevin Burke 234 February 10, 2021 11:10PM

Re: Adding a second TLS implementation

Maxim Dounin 283 February 11, 2021 08:30AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 310
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready