default code example key > value not byte array
robcordes opened this issue · comments
TypeError: key: expected bytes or bytearray, but got 'str'
I found the same. MacOS, python 3.7. Py37's hmac raises TypeError if the key isn't bytes or bytesarray. Simply encoding the key didn't seem to work, though I'm not sure, as I don't have a reference "good" call for this httpsig api to compare.
Thanks for reporting, this is now fixed.
Thank you!