v1.9.0 Beta 7
Pre-release
Pre-release
Tuya Cloud login fix for S1 Pro
Includes JerryVDP's fix from PR #111: the Tuya API returns the RSA public key as a decimal string (pure digits, no a-f characters). The _is_hex detection now correctly identifies this, so the key size is computed from the modulus bit length — fixing the USER_PASSWD_WRONG error.
Changes since Beta 6
- Improved
_is_hex()to distinguish decimal vs hex public keys (#111 by @JerryVDP) - Removed debug logging noise from password encryption
- Fixed test suite for the new decimal key handling
Testing
@JerryVDP please confirm this works for your S1 Pro!