[PATCH 1/3] dropbear: create a submenu for public key algorithms

Adrian Schmutzler mail at adrianschmutzler.de
Tue Oct 13 11:52:04 EDT 2020


Hi,

> -----Original Message-----
> From: openwrt-devel [mailto:openwrt-devel-bounces at lists.openwrt.org]
> On Behalf Of Rui Salvaterra
> Sent: Dienstag, 13. Oktober 2020 14:54
> To: openwrt-devel at lists.openwrt.org
> Cc: Rui Salvaterra <rsalvaterra at gmail.com>
> Subject: [PATCH 1/3] dropbear: create a submenu for public key algorithms
> 
> This allows the user to select only the public key algorithms (s)he requires
> (e.g., disabling RSA and keeping only Ed25519). The default selection
> maintains the current functionality.
> 
> Additionally, make sure at least one public key algorithm is selected, lest the
> build would fail.
> 
> Dropbear executable sizes (ath79, -O2):
> 
> 	RSA + Ed25519:	210101 bytes
> 	RSA only:	197765 bytes
> 	Ed25519 only:	189637 bytes
> 
> Signed-off-by: Rui Salvaterra <rsalvaterra at gmail.com>
> ---
>  package/network/services/dropbear/Config.in   | 27 ++++++++++++++-----
>  package/network/services/dropbear/Makefile    | 23 +++++++++++-----
>  .../dropbear/files/dropbear.failsafe.ecc      |  8 ++++++
>  .../dropbear/files/dropbear.failsafe.ed25519  |  8 ++++++  ...ropbear.failsafe
> => dropbear.failsafe.rsa} |  0  ...nkey-fix-use-of-rsa-sha2-256-pubkeys.patch
> | 14 ++++++----
>  6 files changed, 63 insertions(+), 17 deletions(-)  create mode 100755
> package/network/services/dropbear/files/dropbear.failsafe.ecc
>  create mode 100755
> package/network/services/dropbear/files/dropbear.failsafe.ed25519
>  rename package/network/services/dropbear/files/{dropbear.failsafe =>
> dropbear.failsafe.rsa} (100%)

Do these really need execute bit?

Best

Adrian 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20201013/0599ac3f/attachment.sig>


More information about the openwrt-devel mailing list