Star on GitHubStar1.1k stars

Case study

tuya-mobile: a Python reconstruction of Tuya app signing and API calls

tuya-mobile reconstructs Tuya mobile-app request signing, encrypted API calls and MQTT signaling credential derivation in Python. It replaces the app's native libthing_security.so signing step with HMAC-SHA256, SHA256 and MD5 calculations and includes versioned Smart Life and Tuya Smart profiles.

Targets
App · Protocol
Category
Independent reconstruction cases
Relationship
Independent reconstruction project
Sources reviewed

Requirements & limits

  • Prerequisites: Python 3.9 or newer with aiohttp and cryptography is required.
  • Prerequisites: Authenticated calls require application signing constants and account authentication; password login uses a selected application profile and account credentials.
  • Limits: Interactive captcha, MFA, QR and social logins raise typed exceptions instead of completing login.
  • License: MIT license.

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · AboveColin/tuya-mobile · Revision 8630117
  2. pyproject.toml GitHub · AboveColin/tuya-mobile · Revision 8630117

More in Apps

All 174 entries in AppsApps case studies (62)

↑↓ move↵ open⌘↵ new tab