WindowsAzure/azure-sdk-for-node — pull request #45 by einaros (2012-02-04 19:26:05+00:00)
Title: Fix authentication issue with some keys

Fixes issue #36, as reported by @pofallon.

The original source would decode the base64 key to a string, which will work fine for most keys, but will fail for invalid utf8 sequences (and javascript / v8 has its share of those). Since node's crypto apis accept both strings and buffers as keys, the updated source will decode the key to a buffer instead, preserving all byte sequences, and pass that through to the the crypto api.