McKael / smartcrypto

SmartView2 handshake Golang library for Samsung Smart TV H/J (2014/2015) models
MIT License
8 stars 2 forks source link

Python version #1

Open dwerynith opened 5 years ago

dwerynith commented 5 years ago

Hello,

I'm looking for python version of the websocket protol. I almost have it but i can't get my ctx to match what i should have with Rijndael

thanks.

McKael commented 5 years ago

I'm not sure your issue is affected to the right project... The Python implementation of the handshake is there, isn't it what you want?

dwerynith commented 5 years ago

I am able to show the pin on my tv, and to check the pin But when i open the websocket and send the "1::" and "5::" messages the socket is closed. I have the right encoding since I checked it with yours (which works on my tv) But the ctx key that i get at the end of the handshake isn't correct.

The python version you sent me doesn't give aeskey needed to open the websocket and get the DUID.