minio / mint

Collection of tests to detect overall correctness of MinIO server.
Apache License 2.0
81 stars 50 forks source link

Add test for zero-size objects uploaded with SSE-C headers #257

Closed aead closed 6 years ago

aead commented 6 years ago

This is a tracking issue for adding a test case to check the bug reported at minio/minio#5493. The related fix is minio/minio#5525.

The test should upload a zero-size object with SSE-C headers and try to access the object with SSE-C headers. Empty objects are treated specially since they cannot be encrypted. So they are just marked as encrypted. The server behavior should be the same for empty and non-empty SSE-C objects.