Skip to content

Update SslAesTransport for older firmware versions #1362

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 35 commits into from
Jan 3, 2025

Conversation

sdb9696
Copy link
Collaborator

@sdb9696 sdb9696 commented Dec 10, 2024

Older firmware versions do not encrypt the payload.

Tested to work with C110 hw 2.0 fw 1.3.7 Build 230823 Rel.57279n(5553)

Copy link

codecov bot commented Dec 10, 2024

Codecov Report

Attention: Patch coverage is 96.72131% with 2 lines in your changes missing coverage. Please review.

Project coverage is 92.52%. Comparing base (63f4f82) to head (9e8f8dc).
Report is 82 commits behind head on master.

Files with missing lines Patch % Lines
kasa/transports/sslaestransport.py 96.66% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1362      +/-   ##
==========================================
+ Coverage   92.42%   92.52%   +0.09%     
==========================================
  Files         132      132              
  Lines        8203     8251      +48     
  Branches      839      848       +9     
==========================================
+ Hits         7582     7634      +52     
+ Misses        459      453       -6     
- Partials      162      164       +2     

☔ 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.

@sdb9696 sdb9696 added the enhancement New feature or request label Dec 11, 2024
@sdb9696 sdb9696 added this to the 0.9.0 milestone Dec 11, 2024
@sdb9696 sdb9696 marked this pull request as ready for review December 19, 2024 17:46
@sdb9696 sdb9696 removed this from the 0.9.0 milestone Dec 20, 2024
@sdb9696 sdb9696 marked this pull request as draft December 20, 2024 12:51
@sdb9696 sdb9696 added this to the 0.9.1 milestone Dec 23, 2024
@sdb9696 sdb9696 marked this pull request as ready for review January 3, 2025 09:38
Co-authored-by: Teemu R. <tpr@iki.fi>
@sdb9696 sdb9696 requested a review from rytilahti January 3, 2025 18:06
Copy link
Member

@rytilahti rytilahti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, let's merge it, thanks!

@rytilahti rytilahti merged commit 0a95a41 into master Jan 3, 2025
18 checks passed
@rytilahti rytilahti deleted the feat/smartcam_passthrough branch January 3, 2025 20:00
@sdb9696 sdb9696 mentioned this pull request Jan 6, 2025
sdb9696 added a commit that referenced this pull request Jan 6, 2025
## [0.9.1](https://github.com/python-kasa/python-kasa/tree/0.9.1) (2025-01-06)

[Full Changelog](0.9.0...0.9.1)

**Release summary:**

- Support for hub-attached wall switches S210 and S220
- Support for older firmware on Tapo cameras
- Bugfixes and improvements

**Implemented enhancements:**

- Add support for Tapo hub-attached switch devices [\#1421](#1421) (@sdb9696)
- Use repr\(\) for enum values in Feature.\_\_repr\_\_ [\#1414](#1414) (@rytilahti)
- Update SslAesTransport for older firmware versions [\#1362](#1362) (@sdb9696)

**Fixed bugs:**

- T310 not detected with H200 Hub [\#1409](#1409)
- Backoff after xor timeout and improve error reporting [\#1424](#1424) (@bdraco)
- Fix incorrect obd src echo [\#1412](#1412) (@rytilahti)
- Handle smartcam partial list responses [\#1411](#1411) (@sdb9696)

**Added support for devices:**

- Add S220 fixture [\#1419](#1419) (@rytilahti)
- Add S210 fixture [\#1418](#1418) (@rytilahti)

**Documentation updates:**

- Improve exception messages on credential mismatches [\#1417](#1417) (@rytilahti)

**Project maintenance:**

- Add C210 2.0 1.3.11 fixture [\#1406](#1406) (@sdb9696)
- Add HS210\(US\) 3.0 1.0.10 IOT Fixture [\#1405](#1405) (@ZeliardM)
- Change smartcam detection features to category config [\#1402](#1402) (@sdb9696)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants