Doesn't work with python 3.8
In Python 3.8, the digestmod
parameter of the hmac.new
function is mandatory. cf. https://docs.python.org/release/3.8.5/library/hmac.html?highlight=hmac#hmac.new
Therefore, in cwclientlib/cwproxy.py
file, the line #69 should now be:
content_signed = hmac.new(self.secret.encode('utf-8'),
content_to_sign.encode('utf-8'),
digestmod="MD5").hexdigest()
or something similar.