Skip to content
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

RSA encryption #40

Open
stefesciberras opened this issue Dec 26, 2021 · 1 comment
Open

RSA encryption #40

stefesciberras opened this issue Dec 26, 2021 · 1 comment

Comments

@stefesciberras
Copy link

I am working on improving somewhat this project, for the C6 v2 Archer, which seems to be using something similar to the C9 (Lua interface)

I have managed to implement logging into the router using RSA encryption, with some caveats.

REFERENCES

  1. RSA encryption uses this library: http://www-cs-students.stanford.edu/~tjw/jsbn/
    Using this, I can generate the approriate signatures. However, my python scripts do not correspond (yet to this protocol). Seems to be PKCS1 v1.5

  2. Tried the following: https://stackoverflow.com/questions/59063930/implementing-rsa-pkcs1-padding-in-python-3-x

  3. A lot on info on TPlink router: https://github.com/ocastejon/exploits OR https://the-hyperbolic.com/posts/hacking-the-tlwpa4220-part-3/

Also looking at https://github.com/marcnewlin/ax1500-crypto-client/blob/master/ax1500-poc.py

My problem so far is getting the RSA protocol right. Once this is done, I will post results here.

@AlexandrErohin
Copy link

@stefesciberras I have made component for C6 with sensors, switches and device tracker https://github.com/AlexandrErohin/home-assistant-tplink-router

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

No branches or pull requests

2 participants