s3cmd icon indicating copy to clipboard operation
s3cmd copied to clipboard

use v4 auth with CloudFront

Open nidi3 opened this issue 10 years ago • 2 comments

This is just a hack that works for me. I don't know Python nor s2cmd good enough to assure that it is fully correct.

nidi3 avatar Jan 15 '15 16:01 nidi3

Thanks for the attempt. I agree this is a bug; I don't think this is quite the right fix though. I don't understand why we need to change sign_string_v4(). hard-coded region string clearly isn't right.

mdomsch avatar Dec 08 '15 15:12 mdomsch

Sorry for the poor quality of the pull request. Surely, hardcoded region is wrong. One issue with sign_string_v4() is header values with spaces. As to why I take lower case of the header keys, I cannot remember :disappointed:

nidi3 avatar Dec 09 '15 16:12 nidi3