]> git.ipfire.org Git - thirdparty/curl.git/commit
aws_sigv4: fall back to UNSIGNED-PAYLOAD for sign_as_s3
authorCasey Bodley <cbodley@redhat.com>
Wed, 15 Feb 2023 15:47:04 +0000 (10:47 -0500)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 14 Mar 2023 16:04:47 +0000 (17:04 +0100)
commit495d09810aa9ad6ed70ad0cf122e12007f2b8ae1
treecd94d3180d9b5eb2ca6bad3f861c9d4a21e745e1
parentebef55a61df0094b9790710a42f63c48e7de3c13
aws_sigv4: fall back to UNSIGNED-PAYLOAD for sign_as_s3

all s3 requests default to UNSIGNED-PAYLOAD and add the required
x-amz-content-sha256 header. this allows CURLAUTH_AWS_SIGV4 to correctly
sign s3 requests to amazon with no additional configuration

Signed-off-by: Casey Bodley <cbodley@redhat.com>
Closes #9995
16 files changed:
docs/libcurl/opts/CURLOPT_AWS_SIGV4.3
lib/http_aws_sigv4.c
tests/data/Makefile.inc
tests/data/test1970 [new file with mode: 0644]
tests/data/test1971 [new file with mode: 0644]
tests/data/test1972 [new file with mode: 0644]
tests/data/test1973 [new file with mode: 0644]
tests/data/test1974 [new file with mode: 0644]
tests/data/test1975 [new file with mode: 0644]
tests/libtest/Makefile.inc
tests/libtest/lib1970.c [new file with mode: 0644]
tests/libtest/lib1971.c [new file with mode: 0644]
tests/libtest/lib1972.c [new file with mode: 0644]
tests/libtest/lib1973.c [new file with mode: 0644]
tests/libtest/lib1974.c [new file with mode: 0644]
tests/libtest/lib1975.c [new file with mode: 0644]