distribution/registry
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
..
api Document TOOMANYREQUESTS error code 2016-07-12 12:18:54 -06:00
auth Update to fix lint errors 2016-10-05 17:47:12 -07:00
client Rename CanonicalAddr -> canonicalAddr 2016-09-19 14:16:02 -07:00
handlers manifest: references should cover all children 2016-10-18 11:43:33 -07:00
listener
middleware Add support for blobAccessController middleware 2016-05-19 14:02:15 +02:00
proxy Satisfy the latest go lint rules 2016-10-14 17:03:08 -07:00
storage v2 signer: correctly sort headers 2016-11-02 17:01:34 +01:00
doc.go
registry.go Add configuration option to disable access logging 2016-09-14 14:33:30 -07:00
registry_test.go Allow registry clients to connect via http2 2016-08-13 22:07:42 -04:00
root.go Remove signature store from registry. Return a generated signature for manifest 2016-05-27 13:19:26 -07:00