Closed ericmarcos closed 5 years ago
The function generate_shared_secret expects the first argument "channel" in binary for Python 3, but it was passed as a string. That caused a TypeError: can only concatenate str (not "bytes") to str exception when using authenticate with encryption.
TypeError: can only concatenate str (not "bytes") to str
authenticate
Ah! Thank you @ericmarcos nice catch!
I'll add a test for it in a separate PR.
The function generate_shared_secret expects the first argument "channel" in binary for Python 3, but it was passed as a string. That caused a
TypeError: can only concatenate str (not "bytes") to str
exception when usingauthenticate
with encryption.