Add support for X-Amz-Content-Sha256: STREAMING-UNSIGNED-PAYLOAD-TRAILER
#824
Labels
No labels
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
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.
`Invalid content sha256 hash` when using HTTPSto Add support for `X-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.