lazcad / homeassistant

Home Assistant Development
249 stars 83 forks source link

Encoded strings for pycrypto #27

Closed tdickman closed 7 years ago

tdickman commented 7 years ago

I ran into the same issue described in issue 25. The key and token getting passed to pycrypto is not properly encoded as a byte string properly.

The documentation indicates that these values should be passed as a bytestring.