The problem
Homekit bridge does not work.
Environment
Home Assistant 0.111.4
Raspbian (Linux 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux)
OpenSSL 1.1.1g (updated)
Problem-relevant configuration.yaml
homekit:
safe_mode: true
filter:
include_entities:
- sensor.a_co2
Traceback/Error logs
2020-06-29 01:44:16 INFO (Thread-7) [pyhap.hap_server] 10.1.1.21 - “POST /pair-setup HTTP/1.1” 200 -
2020-06-29 01:44:16 DEBUG (Thread-7) [pyhap.hap_server] Request POST from address ‘(‘10.1.1.21’, 49262)’ for path ‘/pair-setup’.
2020-06-29 01:44:16 DEBUG (Thread-7) [pyhap.hap_server] Pairing [2/5]
2020-06-29 01:44:17 DEBUG (MainThread) [aioesphomeapi.connection] 10.1.1.211: Got message of type <class ‘api_pb2.SensorStateResponse’>: key: 1512359121
2020-06-29 01:44:17 INFO (Thread-7) [pyhap.hap_server] 10.1.1.21 - “POST /pair-setup HTTP/1.1” 200 -
2020-06-29 01:44:18 DEBUG (Thread-7) [pyhap.hap_server] Request POST from address ‘(‘10.1.1.21’, 49262)’ for path ‘/pair-setup’.
2020-06-29 01:44:18 DEBUG (Thread-7) [pyhap.hap_server] Pairing [3/5]
2020-06-29 01:44:18 DEBUG (Thread-7) [pyhap.hap_server] finish_request: ChaCha20Poly1305 is not supported by this version of OpenSSL
Traceback (most recent call last):
File “/home/pi/homeassistant/lib/python3.7/site-packages/pyhap/hap_server.py”, line 939, in finish_request
self, self.accessory_handler)
File “/home/pi/homeassistant/lib/python3.7/site-packages/pyhap/hap_server.py”, line 164, in init
super(HAPServerHandler, self).init(sock, client_addr, server)
File “/usr/local/lib/python3.7/socketserver.py”, line 720, in init
self.handle()
File “/usr/local/lib/python3.7/http/server.py”, line 428, in handle
self.handle_one_request()
File “/usr/local/lib/python3.7/http/server.py”, line 414, in handle_one_request
method()
File “/home/pi/homeassistant/lib/python3.7/site-packages/pyhap/hap_server.py”, line 270, in dispatch
getattr(self, self.HANDLERS[self.command][path])()
File “/home/pi/homeassistant/lib/python3.7/site-packages/pyhap/hap_server.py”, line 295, in handle_pairing
self._pairing_three(tlv_objects)
File “/home/pi/homeassistant/lib/python3.7/site-packages/pyhap/hap_server.py”, line 359, in _pairing_three
cipher = ChaCha20Poly1305(hkdf_enc_key)
File “/home/pi/homeassistant/lib/python3.7/site-packages/cryptography/hazmat/primitives/ciphers/aead.py”, line 21, in init
exceptions._Reasons.UNSUPPORTED_CIPHER
cryptography.exceptions.UnsupportedAlgorithm: ChaCha20Poly1305 is not supported by this version of OpenSSL
2020-06-29 01:44:18 DEBUG (Thread-7) [pyhap.hap_server] Cleaning connection to (‘10.1.1.21’, 49262)
–>
Additional information
none