Subject: | Digest-MD5 authentication is broken |
Hello Mark,
DIGEST-MD5 authentication is currently broken,
please apply the attached small patch.
Thomas
Subject: | Mail-IMAPClient-fix-digest_md5.patch |
diff -u -r -p Mail-IMAPClient-3.08/lib/Mail/IMAPClient.pm Mail-IMAPClient-3.08.digest_md5/lib/Mail/IMAPClient.pm
--- Mail-IMAPClient-3.08/lib/Mail/IMAPClient.pm Mon May 26 13:25:39 2008
+++ Mail-IMAPClient-3.08.digest_md5/lib/Mail/IMAPClient.pm Fri Aug 22 13:16:42 2008
@@ -2550,7 +2550,7 @@ sub authenticate
my $conn = $sasl->client_new('imap', 'localhost', '');
my $answer = $conn->client_step(decode_base64 $code);
- encode_base64($response, '')
+ encode_base64($answer, '')
if defined $answer;
};
}