Chung-En Lee created HDDS-17795:
-----------------------------------
Summary: Reject STREAMING-AWS4-ECDSA-P256-SHA256 payloads in S3
Gateway
Key: HDDS-17795
URL: https://issues.apache.org/jira/browse/HDDS-17795
Project: Apache Ozone
Issue Type: Sub-task
Reporter: Chung-En Lee
S3 Gateway accepts uploads whose x-amz-content-sha256 is
STREAMING-AWS4-ECDSA-P256-SHA256-PAYLOAD or
STREAMING-AWS4-ECDSA-P256-SHA256-PAYLOAD-TRAILER, but never verifies their
chunk signatures, so the upload succeeds as if the payload were signed.
Now that chunk signature verification for the HMAC-SHA256 streaming payloads is
nearly complete, HMAC is the only one that is actually verified. Silently
accepting ECDSA payloads makes users believe their data is protected when it is
not.
S3 Gateway should reject ECDSA streaming payloads and tell users this signing
method is not supported. The S3 docs (HDDS-17057), which say ECDSA uploads
succeed without verification, should be updated as well.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]