Gluon: enable more secure SSH algorithms und ciphers for dropbear

Created on 28 Oct 2014  路  9Comments  路  Source: freifunk-gluon/gluon

Please enable more secure SSH algorithms und ciphers hmac-sha2-256 and hmac-sha2-512 for dropbear recommed by BetterCrypto p.19 https://bettercrypto.org/static/applied-crypto-hardening.pdf.

A patch is available for OpenWrt at http://patchwork.openwrt.org/patch/6322/.

enhancement

Most helpful comment

curve25519-sha256 support is backported now.

All 9 comments

This is not critical as SSH is not used on Gluon by default. If OpenWrt decides to merge thoses patches, they'll make it into Gluon eventually.

I don't think @tcatm's argument is valid, as SSH many people use SSH with Gluon. We do so ourselves and we recommend others to do so.

The more interesting question is if the patch is important enough to include it even though OpenWrt hasn't so far. In my opionion it isn't, as HMAC-SHA1 is much stronger than SHA1 itself. Even HMAC-MD5 is considered quite secure despite MD5's weaknesses, with HMAC-SHA1 we'll be fine for many years.

So I agree with @tcatm's opinion to wait until these patches make it into OpenWrt.

time has passed, but current gluon versions dropbear still doesn't support modern cryptography?
also, this doesn't affect only MAC, but also KeyExchange, curve25519 or sha256 aren't supported there, either...

OpenWrt has enabled curve25519-sha256 by default since January, so I think we should backport that change now.

curve25519-sha256 support is backported now.

I have just tried to use my ssh-ed25519 key, but I was unable to log in. Is it supported?

@nomaster: no, ed25519 is not supported at all by the current dropbear version 2016.74, I don't know if it is in development. Also, we use the default dropbear config from LEDE, which disables ECDSA using the NIST curves to save space.

curve25519-sha256 is supported as a key exchange method, but that's as far as ECC support goes at the moment.

it is very unlikely that we will backport this. The OpenWrt team plans to do a new release soon and then we will benefit from those changes.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Nurtic-Vibe picture Nurtic-Vibe  路  5Comments

oszilloskop picture oszilloskop  路  5Comments

RalfJung picture RalfJung  路  5Comments

A-Kasper picture A-Kasper  路  4Comments

mweinelt picture mweinelt  路  3Comments