ibm-cloud-docs / cloud-object-storage

cloud-object-storage
16 stars 46 forks source link

generate different signature when using amazon sample data #27

Closed SteveLuo8 closed 6 years ago

SteveLuo8 commented 6 years ago

I am using the amazon sample data at https://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-query-string-auth.html and nodojs sample but I got the signature was 2c0c883c0a6117f50675ddb0b176cd495c7eeb6819878927c6850cffc21282bb and the amazon sample's signature is aeeed9bbccd4d02ee5c0109b86d86835f995330da4c265957d157751f604d404

nglange commented 6 years ago

Some of the AWS examples have incorrect calculations - I've had difficulty matching their examples as well. We added in a NodeJS example here: https://console.bluemix.net/docs/services/cloud-object-storage/hmac/presigned-urls.html