a60ca038ce
This patch updates the cram-md5 auth. We include two steps: - Convert the password variable from string to bytes. This change is because in Python2 strings and bytes are the same, but not in Python3 - Updates the call to hmac.new, now the digestmod argument is mandatory. I used hashlib.md5, because we need md5 hash. Closes #19 Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>