The V2 auth was failing with AWS and KS3 when used with force_path_style = false (which is the default for both providers now). The V2 Auth needed the bucket prepended onto the string that gets signed. Note that endpoint must be set when using v2 auth with AWS. The code warns about this. This was worked out by observing the behaviour of s3cmd. |
||
---|---|---|
.. | ||
s3.go | ||
s3_test.go | ||
v2sign.go |