Home Assistant release with the issue: 0.87.1
Last working Home Assistant release (if known): 0.85.1
Operating environment (Hass.io/Docker/Windows/etc.): RPI3B+ Hass.io
Component/platform: HomeKIt
Description of problem: Upon upgrade, (almost) all of my HomeKit devices have disappeared from HA. Current status of devices functionality (brand/status):
In 0.87.0, My Lifx bulbs worked, but not my Leviton switches. Since upgrading to 0.87.1, I have attempted many of the troubleshooting steps listed in the HomeKit page with no success.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
discovery:
enable:
- homekit
homekit:
Traceback (if applicable):
Error doing job: Future exception was never retrieved
Traceback (most recent call last):
File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/homekit_controller/__init__.py", line 367, in discovery_dispatch
device = HKDevice(hass, host, port, model, hkid, config_num, config)
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/homekit_controller/__init__.py", line 98, in __init__
self.accessory_setup()
File "/usr/local/lib/python3.6/site-packages/homeassistant/components/homekit_controller/__init__.py", line 112, in accessory_setup
data = self.pairing.list_accessories_and_characteristics()
File "/usr/local/lib/python3.6/site-packages/homekit/controller.py", line 272, in list_accessories_and_characteristics
self.session = Session(self.pairing_data)
File "/usr/local/lib/python3.6/site-packages/homekit/controller.py", line 604, in __init__
c2a_key, a2c_key = get_session_keys(conn, pairing_data)
File "/usr/local/lib/python3.6/site-packages/homekit/protocol/__init__.py", line 247, in get_session_keys
ios_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.
Additional information:
This is a duplicate of #20840. I'm looking into manageable workarounds but ultimately stuck waiting for HASS.io team (https://github.com/home-assistant/hassio/issues/903).
Good news, hopefully this means it is fixed very soon: https://github.com/home-assistant/hassio-base/pull/7
@Jc2k; you rock man. Thanks for jumping on these so quick.
Awesome, is there an eta for the next release with these changes?
I鈥檓 not sure what the HASS.io release process is. This is quite a large change so I鈥檓 not sure if it will be in the next point release.
The last couple of HASS.io releases have had the fix for this, so I think we can close this ticket now.
Most helpful comment
@Jc2k; you rock man. Thanks for jumping on these so quick.