summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Mailman/passwords.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/passwords.py b/Mailman/passwords.py
index 30c436a01..0e02c605c 100644
--- a/Mailman/passwords.py
+++ b/Mailman/passwords.py
@@ -97,7 +97,7 @@ class SSHAPasswordScheme(PasswordScheme):
@staticmethod
def check_response(challenge, response):
# Get the salt from the challenge
- challenge_bytes = decode(challenge)
+ challenge_bytes = decode(str(challenge))
digest = challenge_bytes[:20]
salt = challenge_bytes[20:]
h = sha.new(response)