Allow SSL connections to older devices by kad · Pull Request #1654 · python-kasa/python-kasa

@kad

With recent firmware updates for older devices (like C120)
the embedded SSL certificate on the deivce is RSA 1024 type,
which is considered insecure nowadays.

 0 s:CN=TPRI-DEVICE, O=TPRI, C=US
   i:CN=TPRI-DEVICE, O=TPRI, C=US
   a:PKEY: RSA, 1024 (bit); sigalg: sha256WithRSAEncryption
   v:NotBefore: Jan  1 00:00:00 2001 GMT; NotAfter: Dec 31 23:59:59 2070 GMT

This fix add cipher used by TP-Link to list of allowed ones.

Related: home-assistant/core#162498
Signed-off-by: Alexander D. Kanevskiy <kad@kad.name>