All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL
@ 2020-05-11 22:31 Ed Spiridonov
  2020-05-15 17:30 ` Ed Spiridonov
  2020-05-15 20:10 ` Thomas Petazzoni
  0 siblings, 2 replies; 13+ messages in thread
From: Ed Spiridonov @ 2020-05-11 22:31 UTC (permalink / raw)
  To: buildroot

Since 2.4 version, OpenVPN can be built using mbeb TLS as it's
crypto backend, instead of OpenSSL.

About 2 Mb of uncompressed image size can be saved by replacing
OpenSSL with mbed TLS.

Signed-off-by: Ed Spiridonov <edo.rus@gmail.com>
---
 DEVELOPERS                 |  3 +++
 package/openvpn/Config.in  | 24 +++++++++++++++++++++++-
 package/openvpn/openvpn.mk | 17 +++++++++++++++--
 3 files changed, 41 insertions(+), 3 deletions(-)

diff --git a/DEVELOPERS b/DEVELOPERS
index e427ab1..3437f31 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -719,6 +719,9 @@ F:	package/unscd/
 N:	Dushara Jayasinghe <nidujay@gmail.com>
 F:	package/prosody/
 
+N:	Ed Spiridonov <edo.rus@gmail.com>
+F:	package/openvpn/
+
 N:	Eloi Bail <eloi.bail@savoirfairelinux.com>
 F:	package/bayer2rgb-neon/
 F:	package/gstreamer1/gst1-plugins-bayer2rgb-neon/
diff --git a/package/openvpn/Config.in b/package/openvpn/Config.in
index 0a16755..254fe74 100644
--- a/package/openvpn/Config.in
+++ b/package/openvpn/Config.in
@@ -1,7 +1,6 @@
 config BR2_PACKAGE_OPENVPN
 	bool "openvpn"
 	depends on BR2_USE_MMU # fork()
-	select BR2_PACKAGE_OPENSSL
 	help
 	  OpenVPN is a full-featured SSL VPN solution which can
 	  accomodate a wide range of configurations, including road
@@ -14,6 +13,29 @@ config BR2_PACKAGE_OPENVPN
 
 if BR2_PACKAGE_OPENVPN
 
+choice
+	prompt "crypto backend"
+	default BR2_PACKAGE_OPENVPN_OPENSSL
+	help
+	  Select crypto backend (OpenSSL/LibreSSL or mbed TLS)
+
+config BR2_PACKAGE_OPENVPN_OPENSSL
+	bool "openssl"
+	select BR2_PACKAGE_OPENSSL
+	help
+	  OpenSSL/LibreSSL is a default crypto backend
+
+config BR2_PACKAGE_OPENVPN_MBEDTLS
+	bool "mbedtls"
+	select BR2_PACKAGE_MBEDTLS
+	help
+	  mbed TLS is a compact crypto backend
+
+	  https://community.openvpn.net/openvpn/wiki/Using-mbedtls
+
+endchoice
+
+
 config BR2_PACKAGE_OPENVPN_LZ4
 	bool "LZ4 compression"
 	default y
diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk
index 4234675..20cebf0 100644
--- a/package/openvpn/openvpn.mk
+++ b/package/openvpn/openvpn.mk
@@ -7,18 +7,31 @@
 OPENVPN_VERSION = 2.4.9
 OPENVPN_SOURCE = openvpn-$(OPENVPN_VERSION).tar.xz
 OPENVPN_SITE = http://swupdate.openvpn.net/community/releases
-OPENVPN_DEPENDENCIES = host-pkgconf openssl
+OPENVPN_DEPENDENCIES = host-pkgconf
+ifeq ($(BR2_PACKAGE_OPENVPN_MBEDTLS),y)
+OPENVPN_DEPENDENCIES += mbedtls
+else
+OPENVPN_DEPENDENCIES += openssl
+endif
+
 OPENVPN_LICENSE = GPL-2.0
 OPENVPN_LICENSE_FILES = COPYRIGHT.GPL
 OPENVPN_CONF_OPTS = \
 	--enable-iproute2 \
-	--with-crypto-library=openssl \
 	$(if $(BR2_STATIC_LIBS),--disable-plugins)
 OPENVPN_CONF_ENV = IFCONFIG=/sbin/ifconfig \
 	NETSTAT=/bin/netstat \
 	ROUTE=/sbin/route \
 	IPROUTE=/sbin/ip
 
+ifeq ($(BR2_PACKAGE_OPENVPN_MBEDTLS),y)
+OPENVPN_CONF_OPTS += \
+	--with-crypto-library=mbedtls
+else
+OPENVPN_CONF_OPTS += \
+	--with-crypto-library=openssl
+endif
+
 ifeq ($(BR2_PACKAGE_OPENVPN_SMALL),y)
 OPENVPN_CONF_OPTS += \
 	--enable-small \
-- 
2.26.2

^ permalink raw reply related	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL
  2020-05-11 22:31 [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL Ed Spiridonov
@ 2020-05-15 17:30 ` Ed Spiridonov
  2020-05-15 19:17   ` Heiko Thiery
  2020-05-15 20:10 ` Thomas Petazzoni
  1 sibling, 1 reply; 13+ messages in thread
From: Ed Spiridonov @ 2020-05-15 17:30 UTC (permalink / raw)
  To: buildroot

On Tue, May 12, 2020 at 1:31 AM Ed Spiridonov <edo.rus@gmail.com> wrote:
>
> Since 2.4 version, OpenVPN can be built using mbeb TLS as it's
> crypto backend, instead of OpenSSL.
>
> About 2 Mb of uncompressed image size can be saved by replacing
> OpenSSL with mbed TLS.

Is anybody interested in this patch?
I'm going to publish another patch to make some features optional
(server side, multihome, etc), but I guess it will be ignored like
this one.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL
  2020-05-15 17:30 ` Ed Spiridonov
@ 2020-05-15 19:17   ` Heiko Thiery
  2020-07-26 12:01     ` Ed Spiridonov
  0 siblings, 1 reply; 13+ messages in thread
From: Heiko Thiery @ 2020-05-15 19:17 UTC (permalink / raw)
  To: buildroot

Hi Ed,

Am Fr., 15. Mai 2020 um 19:30 Uhr schrieb Ed Spiridonov <edo.rus@gmail.com>:

> On Tue, May 12, 2020 at 1:31 AM Ed Spiridonov <edo.rus@gmail.com> wrote:
> >
> > Since 2.4 version, OpenVPN can be built using mbeb TLS as it's
> > crypto backend, instead of OpenSSL.
> >
> > About 2 Mb of uncompressed image size can be saved by replacing
> > OpenSSL with mbed TLS.
>
> Is anybody interested in this patch?
> I'm going to publish another patch to make some features optional
> (server side, multihome, etc), but I guess it will be ignored like
> this one.
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot


I think the maintainers are busy preparing the upcoming release. And on the
other hand the backlog [1] is full with more than 400 pending patches.

So please be patient ;-/

[1] https://patchwork.ozlabs.org/project/buildroot/list/
-- 
Heiko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20200515/0d35b63e/attachment.html>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL
  2020-05-11 22:31 [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL Ed Spiridonov
  2020-05-15 17:30 ` Ed Spiridonov
@ 2020-05-15 20:10 ` Thomas Petazzoni
  2020-05-15 20:39   ` Ed Spiridonov
  2020-05-18  1:45   ` Ed Spiridonov
  1 sibling, 2 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2020-05-15 20:10 UTC (permalink / raw)
  To: buildroot

Hello Ed,

On Tue, 12 May 2020 01:31:07 +0300
Ed Spiridonov <edo.rus@gmail.com> wrote:

> Since 2.4 version, OpenVPN can be built using mbeb TLS as it's
> crypto backend, instead of OpenSSL.
> 
> About 2 Mb of uncompressed image size can be saved by replacing
> OpenSSL with mbed TLS.
> 
> Signed-off-by: Ed Spiridonov <edo.rus@gmail.com>

Thanks for your contribution! See below for some comments.

> diff --git a/package/openvpn/Config.in b/package/openvpn/Config.in
> index 0a16755..254fe74 100644
> --- a/package/openvpn/Config.in
> +++ b/package/openvpn/Config.in
> @@ -1,7 +1,6 @@
>  config BR2_PACKAGE_OPENVPN
>  	bool "openvpn"
>  	depends on BR2_USE_MMU # fork()
> -	select BR2_PACKAGE_OPENSSL

Could you change this to:

	select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS

> +choice
> +	prompt "crypto backend"
> +	default BR2_PACKAGE_OPENVPN_OPENSSL
> +	help
> +	  Select crypto backend (OpenSSL/LibreSSL or mbed TLS)
> +
> +config BR2_PACKAGE_OPENVPN_OPENSSL
> +	bool "openssl"
> +	select BR2_PACKAGE_OPENSSL
> +	help
> +	  OpenSSL/LibreSSL is a default crypto backend
> +
> +config BR2_PACKAGE_OPENVPN_MBEDTLS
> +	bool "mbedtls"
> +	select BR2_PACKAGE_MBEDTLS
> +	help
> +	  mbed TLS is a compact crypto backend
> +
> +	  https://community.openvpn.net/openvpn/wiki/Using-mbedtls
> +
> +endchoice

Drop this new choice.

> diff --git a/package/openvpn/openvpn.mk b/package/openvpn/openvpn.mk
> index 4234675..20cebf0 100644
> --- a/package/openvpn/openvpn.mk
> +++ b/package/openvpn/openvpn.mk
> @@ -7,18 +7,31 @@
>  OPENVPN_VERSION = 2.4.9
>  OPENVPN_SOURCE = openvpn-$(OPENVPN_VERSION).tar.xz
>  OPENVPN_SITE = http://swupdate.openvpn.net/community/releases
> -OPENVPN_DEPENDENCIES = host-pkgconf openssl
> +OPENVPN_DEPENDENCIES = host-pkgconf
> +ifeq ($(BR2_PACKAGE_OPENVPN_MBEDTLS),y)
> +OPENVPN_DEPENDENCIES += mbedtls
> +else
> +OPENVPN_DEPENDENCIES += openssl
> +endif
> +
>  OPENVPN_LICENSE = GPL-2.0
>  OPENVPN_LICENSE_FILES = COPYRIGHT.GPL
>  OPENVPN_CONF_OPTS = \
>  	--enable-iproute2 \
> -	--with-crypto-library=openssl \
>  	$(if $(BR2_STATIC_LIBS),--disable-plugins)
>  OPENVPN_CONF_ENV = IFCONFIG=/sbin/ifconfig \
>  	NETSTAT=/bin/netstat \
>  	ROUTE=/sbin/route \
>  	IPROUTE=/sbin/ip
>  
> +ifeq ($(BR2_PACKAGE_OPENVPN_MBEDTLS),y)

Use BR2_PACKAGE_MBEDTLS here

> +OPENVPN_CONF_OPTS += \
> +	--with-crypto-library=mbedtls
> +else
> +OPENVPN_CONF_OPTS += \
> +	--with-crypto-library=openssl
> +endif

This way, we use mbedtls if available, otherwise we use OpenSSL.

Could you send an updated version that implements this?

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL
  2020-05-15 20:10 ` Thomas Petazzoni
@ 2020-05-15 20:39   ` Ed Spiridonov
  2020-05-15 20:47     ` Thomas Petazzoni
  2020-05-18  1:45   ` Ed Spiridonov
  1 sibling, 1 reply; 13+ messages in thread
From: Ed Spiridonov @ 2020-05-15 20:39 UTC (permalink / raw)
  To: buildroot

On Fri, May 15, 2020 at 11:10 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
> Could you change this to:
>
>         select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS

Ok. But I would rather use mbed TLS as the default option:
        select BR2_PACKAGE_MBEDTLS if !BR2_PACKAGE_OPENSSL

OpenVPN + mbed TLS combination is well tested (Android/iOS builds use mbed TLS).

> This way, we use mbedtls if available, otherwise we use OpenSSL.

BTW, there is "--disable-crypto" build option, but I'm unsure if anyone use it.

P.?S. What about other options? OpenWRT has lot of them
https://github.com/openwrt/openwrt/blob/master/package/network/services/openvpn/Config-openssl.in
This helps make the binary more compact.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL
  2020-05-15 20:39   ` Ed Spiridonov
@ 2020-05-15 20:47     ` Thomas Petazzoni
       [not found]       ` <CACm0Nn0WyTPDnSyA+7bj10GddAstx0YkyUAuERcRSLSf0CyzRA@mail.gmail.com>
  0 siblings, 1 reply; 13+ messages in thread
From: Thomas Petazzoni @ 2020-05-15 20:47 UTC (permalink / raw)
  To: buildroot

Hello Ed,

On Fri, 15 May 2020 23:39:09 +0300
Ed Spiridonov <edo.rus@gmail.com> wrote:

> On Fri, May 15, 2020 at 11:10 PM Thomas Petazzoni
> <thomas.petazzoni@bootlin.com> wrote:
> > Could you change this to:
> >
> >         select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS  
> 
> Ok. But I would rather use mbed TLS as the default option:
>         select BR2_PACKAGE_MBEDTLS if !BR2_PACKAGE_OPENSSL
> 
> OpenVPN + mbed TLS combination is well tested (Android/iOS builds use mbed TLS).

The idea of using select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS
was to keep the current behavior, i.e be backward compatible.

> > This way, we use mbedtls if available, otherwise we use OpenSSL.  
> 
> BTW, there is "--disable-crypto" build option, but I'm unsure if anyone use it.
> 
> P.?S. What about other options? OpenWRT has lot of them
> https://github.com/openwrt/openwrt/blob/master/package/network/services/openvpn/Config-openssl.in
> This helps make the binary more compact.

Feel free to add support for more options, patches welcome. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL
       [not found]       ` <CACm0Nn0WyTPDnSyA+7bj10GddAstx0YkyUAuERcRSLSf0CyzRA@mail.gmail.com>
@ 2020-05-15 21:18         ` Thomas Petazzoni
  0 siblings, 0 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2020-05-15 21:18 UTC (permalink / raw)
  To: buildroot

Hello,

On Sat, 16 May 2020 00:03:10 +0300
Ed Spiridonov <edo.rus@gmail.com> wrote:

> > The idea of using select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS
> > was to keep the current behavior, i.e be backward compatible.  
> 
> Does it make sense?
> If OpenSSL is selected, it will be used as a crypto backend. So any
> build based on an existing .config remains the same.

What you say will work if:

 (1) Your .mk file tests BR2_PACKAGE_OPENSSL and uses openssl if set,
     before using mbedtls

 (2) Users are using full .config and not defconfig files. Indeed, a
     defconfig file today that has BR2_PACKAGE_OPENVPN=y will not have
     BR2_PACKAGE_OPENSSL=y, because this is implied by
     BR2_PACKAGE_OPENVPN=y. So such users would transition from using
     OpenSSL as the crypto backend for openvpn to mbedtls.

I don't have a very strong feeling on this. I agree that on the other
hand, it's good to use a smaller crypto library by default if possible.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL
  2020-05-15 20:10 ` Thomas Petazzoni
  2020-05-15 20:39   ` Ed Spiridonov
@ 2020-05-18  1:45   ` Ed Spiridonov
  2020-05-18  5:15     ` Thomas Petazzoni
  1 sibling, 1 reply; 13+ messages in thread
From: Ed Spiridonov @ 2020-05-18  1:45 UTC (permalink / raw)
  To: buildroot

On Fri, May 15, 2020 at 11:10 PM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
> Could you change this to:
>
>         select BR2_PACKAGE_OPENSSL if !BR2_PACKAGE_MBEDTLS
>
> > +choice
> > +     prompt "crypto backend"
> > +     default BR2_PACKAGE_OPENVPN_OPENSSL
> > +     help
> > +       Select crypto backend (OpenSSL/LibreSSL or mbed TLS)
> > +
> > +config BR2_PACKAGE_OPENVPN_OPENSSL
> > +     bool "openssl"
> > +     select BR2_PACKAGE_OPENSSL
> > +     help
> > +       OpenSSL/LibreSSL is a default crypto backend
> > +
> > +config BR2_PACKAGE_OPENVPN_MBEDTLS
> > +     bool "mbedtls"
> > +     select BR2_PACKAGE_MBEDTLS
> > +     help
> > +       mbed TLS is a compact crypto backend
> > +
> > +       https://community.openvpn.net/openvpn/wiki/Using-mbedtls
> > +
> > +endchoice
>
> Drop this new choice.

I thought a bit about this. Any argument against the choice?

IMHO the choice is clear and understandable.
The user explicitly selects the crypto backend. He knows what is going on.

In the case proposed by you, OpenSSL is selected automagically without
ability to unselect (until mbed?TLS is selected manually).
How can the user find out that mbed?TLS could be used instead of OpenSSL?
Press help on OpenVPN item? Kconfig shows dependencies here, but not a
condition (if !BR2_PACKAGE_MBEDTLS).
Look into package/openvpn/Config.in?
Of course, detailed explanation could be added into OpenVPN help. But
nobody reads help for *all* selected items.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL
  2020-05-18  1:45   ` Ed Spiridonov
@ 2020-05-18  5:15     ` Thomas Petazzoni
  2020-05-23 18:38       ` Ed Spiridonov
  2020-07-10 18:39       ` Ed Spiridonov
  0 siblings, 2 replies; 13+ messages in thread
From: Thomas Petazzoni @ 2020-05-18  5:15 UTC (permalink / raw)
  To: buildroot

Hello Ed,

On Mon, 18 May 2020 04:45:35 +0300
Ed Spiridonov <edo.rus@gmail.com> wrote:

> In the case proposed by you, OpenSSL is selected automagically without
> ability to unselect (until mbed?TLS is selected manually).
> How can the user find out that mbed?TLS could be used instead of OpenSSL?
> Press help on OpenVPN item? Kconfig shows dependencies here, but not a
> condition (if !BR2_PACKAGE_MBEDTLS).
> Look into package/openvpn/Config.in?
> Of course, detailed explanation could be added into OpenVPN help. But
> nobody reads help for *all* selected items.

All what you're saying here is valid for a huge number of packages
where Buildroot automatically makes use of optional dependencies if
they are available.

For example:

ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
LIBGTK3_CONF_OPTS += --enable-xrandr
LIBGTK3_DEPENDENCIES += xlib_libXrandr
else
LIBGTK3_CONF_OPTS += --disable-xrandr
endif

libgtk3 will automatically have xrandr support when
BR2_PACKAGE_XLIB_LIBXRANDR is enabled. The user has no way to "know"
about it, except by reading libgtk3.mk.

But this allows to limit the number of Config.in options we have. We
already have thousands of them, and if we were to add such options for
each optional dependency of all packages, we would have tens of
thousands of Config.in options.

There are however some packages where we add explicit sub-options, for
various reasons, but that is not the general case.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL
  2020-05-18  5:15     ` Thomas Petazzoni
@ 2020-05-23 18:38       ` Ed Spiridonov
  2020-07-10 18:39       ` Ed Spiridonov
  1 sibling, 0 replies; 13+ messages in thread
From: Ed Spiridonov @ 2020-05-23 18:38 UTC (permalink / raw)
  To: buildroot

On Mon, May 18, 2020 at 8:15 AM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
> All what you're saying here is valid for a huge number of packages
> where Buildroot automatically makes use of optional dependencies if
> they are available.
>
> For example:
>
> ifeq ($(BR2_PACKAGE_XLIB_LIBXRANDR),y)
> LIBGTK3_CONF_OPTS += --enable-xrandr
> LIBGTK3_DEPENDENCIES += xlib_libXrandr
> else
> LIBGTK3_CONF_OPTS += --disable-xrandr
> endif
>
> libgtk3 will automatically have xrandr support when
> BR2_PACKAGE_XLIB_LIBXRANDR is enabled. The user has no way to "know"
> about it, except by reading libgtk3.mk.

I agree, that looks reasonable. If someone wants xrandr support, he
selects BR2_PACKAGE_XLIB_LIBXRANDR.

But in the case of choosing openvpn crypto backend, I would prefer an
explicit choice.
IMO mbed?TLS should be the default option because it is much more compact.
But someone could choose OpenSSL because it is more mature.

BTW, I tried "select BR2_PACKAGE_MBEDTLS if !BR2_PACKAGE_OPENSSL", it
doesn't work.
https://www.spinics.net/lists/linux-kbuild/msg25569.html
So I do not know how to make mbed?TLS the default choice.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL
  2020-05-18  5:15     ` Thomas Petazzoni
  2020-05-23 18:38       ` Ed Spiridonov
@ 2020-07-10 18:39       ` Ed Spiridonov
  2020-10-10  6:43         ` Ed Spiridonov
  1 sibling, 1 reply; 13+ messages in thread
From: Ed Spiridonov @ 2020-07-10 18:39 UTC (permalink / raw)
  To: buildroot

On Mon, May 18, 2020 at 8:15 AM Thomas Petazzoni
<thomas.petazzoni@bootlin.com> wrote:
> There are however some packages where we add explicit sub-options, for
> various reasons, but that is not the general case.

1. Is eliminating the explicit choice of a crypto backend required for
the patch approval?
2. Is it ok to provide Mbed TLS as the default choice?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL
  2020-05-15 19:17   ` Heiko Thiery
@ 2020-07-26 12:01     ` Ed Spiridonov
  0 siblings, 0 replies; 13+ messages in thread
From: Ed Spiridonov @ 2020-07-26 12:01 UTC (permalink / raw)
  To: buildroot

On Fri, May 15, 2020 at 10:17 PM Heiko Thiery <heiko.thiery@gmail.com> wrote:
>
> Hi Ed,
>> > About 2 Mb of uncompressed image size can be saved by replacing
>> > OpenSSL with mbed TLS.
>>
>> Is anybody interested in this patch?
>> I'm going to publish another patch to make some features optional
>> (server side, multihome, etc), but I guess it will be ignored like
>
> I think the maintainers are busy preparing the upcoming release. And on the other hand the backlog [1] is full with more than 400 pending patches.
>
> So please be patient ;-/

The situation doesn't seem to be improving. Now there are 500+ pending patches.

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL
  2020-07-10 18:39       ` Ed Spiridonov
@ 2020-10-10  6:43         ` Ed Spiridonov
  0 siblings, 0 replies; 13+ messages in thread
From: Ed Spiridonov @ 2020-10-10  6:43 UTC (permalink / raw)
  To: buildroot

I'm still waiting for some reply.


On Fri, Jul 10, 2020 at 9:39 PM Ed Spiridonov <edo.rus@gmail.com> wrote:
>
> On Mon, May 18, 2020 at 8:15 AM Thomas Petazzoni
> <thomas.petazzoni@bootlin.com> wrote:
> > There are however some packages where we add explicit sub-options, for
> > various reasons, but that is not the general case.
>
> 1. Is eliminating the explicit choice of a crypto backend required for
> the patch approval?
> 2. Is it ok to provide Mbed TLS as the default choice?

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-10-10  6:43 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-11 22:31 [Buildroot] [PATCH] package/openvpn: add option to use mbed TLS instead of OpenSSL Ed Spiridonov
2020-05-15 17:30 ` Ed Spiridonov
2020-05-15 19:17   ` Heiko Thiery
2020-07-26 12:01     ` Ed Spiridonov
2020-05-15 20:10 ` Thomas Petazzoni
2020-05-15 20:39   ` Ed Spiridonov
2020-05-15 20:47     ` Thomas Petazzoni
     [not found]       ` <CACm0Nn0WyTPDnSyA+7bj10GddAstx0YkyUAuERcRSLSf0CyzRA@mail.gmail.com>
2020-05-15 21:18         ` Thomas Petazzoni
2020-05-18  1:45   ` Ed Spiridonov
2020-05-18  5:15     ` Thomas Petazzoni
2020-05-23 18:38       ` Ed Spiridonov
2020-07-10 18:39       ` Ed Spiridonov
2020-10-10  6:43         ` Ed Spiridonov

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.