I'm trying to update the mtgox ruby gem to use the new authentication mechanism, but I can't seem to get it to work.
My request.rb with key and signature header generation is here:
https://github.com/yrral86/mtgox/blob/master/lib/mtgox/request.rbpost('/api/0/buyBTC.php', {:amount => amount, :price => price})
gives me:
{"error"=>"Must be logged in"}
I've also tried calling Base64.decode64 on the secret before passing it into the hash function. Same result.
Any MtGox API gurus out there? Even just an example secret, message, and hash tuple would be helpful to make sure the signature process is correct.