distribution/registry/storage/driver
Pierre-Yves Ritschard 775cc6d632 v2 signer: correctly sort headers
The current code determines the header order for the
"string-to-sign" payload by sorting on the concatenation
of headers and values, whereas it should only happen on the
key.

During multipart uploads, since `x-amz-copy-source-range` and
`x-amz-copy-source` headers are present, V2 signatures fail to
validate since header order is swapped.

This patch reverts to the expected behavior.

Signed-off-by: Pierre-Yves Ritschard <pyr@spootnik.org>
2016-11-02 17:01:34 +01:00
..
azure Update missing blob error checking with latest Azure API 2016-03-14 15:59:03 -07:00
base Implement regulator in filesystem driver 2016-05-03 09:33:22 -07:00
factory Add documentation for how to register new StorageDrivers 2016-03-29 14:42:19 -07:00
filesystem Don't wrap thead limits when using a negative int 2016-05-03 16:03:44 -07:00
gcs StorageDriver: GCS: allow Cancel on a closed FileWriter 2016-05-06 13:04:30 +01:00
inmemory Adds new storagedriver.FileWriter interface 2016-03-08 16:37:44 -08:00
middleware fix typos 2016-06-02 23:03:27 +08:00
oss Fix aliyun OSS Delete method's notion of subpaths 2016-10-17 09:43:15 -07:00
s3-aws v2 signer: correctly sort headers 2016-11-02 17:01:34 +01:00
s3-goamz Fix s3-goamz Delete method's notion of subpaths 2016-10-17 09:43:15 -07:00
swift Swift driver now bulk deletes in chunks specified by the server (#1915) 2016-08-24 10:09:25 -07:00
testdriver StorageDriver: Test case for #1698 2016-05-06 13:04:30 +01:00
testsuites Fix S3 Delete method's notion of subpaths 2016-10-06 11:21:55 -07:00
fileinfo.go Move storagedriver package to registry/storage/driver 2015-02-11 12:43:04 -08:00
storagedriver.go Remove the example 2016-03-29 14:42:28 -07:00