Add support for X-Amz-Content-Sha256: STREAMING-UNSIGNED-PAYLOAD-TRAILER
#824
Labels
No labels
action
check-aws
action
discussion-needed
action
for-external-contributors
action
for-newcomers
action
more-info-needed
action
need-funding
action
triage-required
kind
correctness
kind
ideas
kind
improvement
kind
performance
kind
testing
kind
usability
kind
wrong-behavior
prio
critical
prio
low
scope
admin-api
scope
background-healing
scope
build
scope
documentation
scope
k8s
scope
layout
scope
metadata
scope
ops
scope
rpc
scope
s3-api
scope
security
scope
telemetry
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#824
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When I configured HTTPS via Caddy I get this error when velero tries to upload a backup.
Response: error 400 Bad Request, Bad request: Invalid content sha256 hash: Invalid character 'S' at position 0
When I use HTTP it does not have this issue even through Caddy.
Here is the log before showing what request failed
PUT /404sys-ord/backups/test5/velero-backup.json?x-id=PutObject
I believe the problem here is related to
X-Amz-Content-Sha256: STREAMING-UNSIGNED-PAYLOAD-TRAILER
Turns out the aws library that Velero uses will use this type of content signing only with TLS connections, which is why this is not an issue on HTTP.
to Add support forInvalid content sha256 hash
when using HTTPSX-Amz-Content-Sha256: STREAMING-UNSIGNED-PAYLOAD-TRAILER
This seems to circumvent the issue on the velero side. Same problem seems to also be present in minio https://github.com/vmware-tanzu/velero/issues/7696#issuecomment-2078241888
Indeed, it's not implemented currently.