McKael/smartcrypto

Python version

dwerynith opened this issue · 2 comments

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.

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?

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.