Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Despite #20432, ASUSWRT ssh is still broken in HASSIO. #914

Closed
deddc23efb opened this issue Feb 5, 2019 · 5 comments
Closed

Despite #20432, ASUSWRT ssh is still broken in HASSIO. #914

deddc23efb opened this issue Feb 5, 2019 · 5 comments

Comments

@deddc23efb
Copy link

Release 0.86.4
Despite the cryptic "bump aioasuswrt " fix 20432 and 20361, ASUSWRT ssh access in hassio is still broken. I couldn't find another open bug report so here you go.

@dukeofmuffins
Copy link

Same. Raspi3 B+, 0.86.4.
Traceback (most recent call last): File "/usr/local/lib/python3.6/site-packages/homeassistant/setup.py", line 145, in _async_setup_component hass, processed_config) File "/usr/local/lib/python3.6/site-packages/homeassistant/components/asuswrt.py", line 61, in async_setup await api.connection.async_connect() File "/usr/local/lib/python3.6/site-packages/aioasuswrt/connection.py", line 66, in async_connect self._client = await asyncssh.connect(self._host, **kwargs) File "/usr/local/lib/python3.6/site-packages/asyncssh/misc.py", line 182, in __await__ return (yield from self._coro) File "/usr/local/lib/python3.6/site-packages/asyncssh/connection.py", line 5454, in connect conn, _ = yield from create_connection(None, host, port, **kwargs) File "/usr/local/lib/python3.6/site-packages/asyncssh/connection.py", line 5110, in create_connection yield from auth_waiter File "/usr/local/lib/python3.6/site-packages/asyncssh/connection.py", line 627, in data_received while self._inpbuf and self._recv_handler(): File "/usr/local/lib/python3.6/site-packages/asyncssh/connection.py", line 847, in _recv_packet processed = handler.process_packet(pkttype, seq, packet) File "/usr/local/lib/python3.6/site-packages/asyncssh/packet.py", line 215, in process_packet self._packet_handlers[pkttype](self, pkttype, pktid, packet) File "/usr/local/lib/python3.6/site-packages/asyncssh/connection.py", line 1414, in _process_kexinit self._kex = get_kex(self, kex_alg) File "/usr/local/lib/python3.6/site-packages/asyncssh/kex.py", line 122, in get_kex return handler(alg, conn, hash_alg, *args) File "/usr/local/lib/python3.6/site-packages/asyncssh/kex_ecdh.py", line 47, in __init__ self._priv = ecdh_class(*args) File "/usr/local/lib/python3.6/site-packages/asyncssh/crypto/curve25519.py", line 31, in __init__ self._priv_key = x25519.X25519PrivateKey.generate() File "/usr/local/lib/python3.6/site-packages/cryptography/hazmat/primitives/asymmetric/x25519.py", line 39, in generate _Reasons.UNSUPPORTED_EXCHANGE_ALGORITHM cryptography.exceptions.UnsupportedAlgorithm: X25519 is not supported by this version of OpenSSL.

@quarcko
Copy link

quarcko commented Feb 7, 2019

+1. Same bug appears in homekit_controller as well. Please fix...

@deddc23efb
Copy link
Author

I've upgraded to hassio 0.87.0 and can confirm that the ASUSWRT presence detection is working again. I see positive detection from the AsusWrtDeviceScanner.

I can't comment on the general ASUS sensors, I don't seem to have any. I didn't use them for anything so I'm not sure whether they work or not.

If others are happy with this, I think the problem has been fixed.

@Jc2k
Copy link
Member

Jc2k commented Feb 11, 2019

Note that the current fix is a workaround until #903 is resolved and means that asyncssh is currently artificially locked at an old version - and we can no longer take security updates of asyncssh without introducing a regression again.

@pvizeli
Copy link
Member

pvizeli commented Feb 18, 2019

Should be fixed with new base images on alpine 3.9/ssl started with 0.88.0b0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants