Skip to content

Allow SSL connections to older devices#1654

Open
kad wants to merge 1 commit intopython-kasa:masterfrom
kad:rsa1024
Open

Allow SSL connections to older devices#1654
kad wants to merge 1 commit intopython-kasa:masterfrom
kad:rsa1024

Conversation

@kad
Copy link

@kad kad commented Feb 13, 2026

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

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>
@codecov
Copy link

codecov bot commented Feb 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.82%. Comparing base (122849f) to head (7277e03).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1654   +/-   ##
=======================================
  Coverage   92.82%   92.82%           
=======================================
  Files         157      157           
  Lines        9649     9649           
  Branches      976      976           
=======================================
  Hits         8957     8957           
  Misses        492      492           
  Partials      200      200           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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

Successfully merging this pull request may close these issues.

1 participant