Comparing version 0.1.7 to 0.1.8
{ | ||
"name": "emailjs", | ||
"description": "send text/html emails and attachments from node.js to any smtp server", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"author": "eleith", | ||
@@ -6,0 +6,0 @@ "contributors": ["izuzak"], |
@@ -1,2 +0,2 @@ | ||
#v0.1.7 | ||
#v0.1.8 | ||
@@ -3,0 +3,0 @@ ### emailjs |
@@ -493,3 +493,7 @@ /* | ||
challenge = (new Buffer(challenge, "base64")).toString("ascii"); | ||
return (new Buffer(login.user + " " + crypto.createHMAC(login.password, challenge).digest('hex')).toString("base64")); | ||
var hmac = crypto.createHmac('md5', login.password); | ||
hmac.update(challenge); | ||
return (new Buffer(login.user + " " + hmac.digest('hex')).toString("base64")); | ||
}, | ||
@@ -496,0 +500,0 @@ |
42965
1391