fwestenberg / reolink_dev

Home Assistant Reolink addon
MIT License
553 stars 101 forks source link

Fix ssl context for Python 3.10 #526

Closed danielkaiser closed 2 years ago

danielkaiser commented 2 years ago

As mentioned by multiple users in https://github.com/fwestenberg/reolink_dev/issues/525, due to the update of HA to 2022.7 and the thereof caused change to Python 3.10 the SSL communication with at least some Reolink cameras is broken.

This PR sets the options mentioned by @PeteRager here to allow cipher suites that are marked as insecure per default in Py3.10.