rax-maas / dreadnot

deploy without dread
Apache License 2.0
631 stars 61 forks source link

hash.digest() makes auth fail in node v0.10 #53

Closed andris9 closed 10 years ago

andris9 commented 10 years ago

hash.digest([encoding]) uses Buffer as the output when encoding is not defined in node v0.10, while in node v0.8 used binary strings. This commit sets the default digest encoding to binary, so authentication can be used with node v0.10

meatballhat commented 10 years ago

:+1:

robert-chiniquy commented 10 years ago

Thanks for this change.