Commit fa985b0
fix(sandbox): handle streaming SigV4 payload modes from boto3
Boto3 put_object sends x-amz-content-sha256 with the value
STREAMING-AWS4-HMAC-SHA256-PAYLOAD, which was rejected by
detect_payload_mode() because per-chunk signing is not supported.
Treat all streaming- variants as StreamingUnsignedTrailer: re-sign
headers only and stream the body through. The proxy cannot reproduce
per-chunk signatures, but AWS accepts unsigned streaming payloads
over HTTPS.
Refs #15761 parent 029e563 commit fa985b0
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1560 | 1560 | | |
1561 | 1561 | | |
1562 | 1562 | | |
1563 | | - | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
1564 | 1566 | | |
1565 | 1567 | | |
1566 | 1568 | | |
1567 | 1569 | | |
1568 | 1570 | | |
1569 | 1571 | | |
1570 | 1572 | | |
1571 | | - | |
| 1573 | + | |
1572 | 1574 | | |
1573 | 1575 | | |
1574 | 1576 | | |
1575 | | - | |
1576 | | - | |
1577 | | - | |
1578 | | - | |
| 1577 | + | |
| 1578 | + | |
| 1579 | + | |
1579 | 1580 | | |
1580 | 1581 | | |
1581 | 1582 | | |
| |||
0 commit comments