diff options
| author | tkikuchi | 2007-02-22 11:02:21 +0000 |
|---|---|---|
| committer | tkikuchi | 2007-02-22 11:02:21 +0000 |
| commit | 8f9ab154c34e72223b4622052db2017d117cb489 (patch) | |
| tree | d4538c6dbe58fed9b33af7e9edcba89ceb9d5343 /Mailman/passwords.py | |
| parent | 8721c5131a01c7b922cde4cd7cd109a7d8f0b48d (diff) | |
| download | mailman-8f9ab154c34e72223b4622052db2017d117cb489.tar.gz mailman-8f9ab154c34e72223b4622052db2017d117cb489.tar.zst mailman-8f9ab154c34e72223b4622052db2017d117cb489.zip | |
Diffstat (limited to 'Mailman/passwords.py')
| -rw-r--r-- | Mailman/passwords.py | 2 |
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) |
