You need to enable JavaScript to run this app.
Torch Object Storage

Torch Object Storage

Copy page
Download PDF
15-ENCRYPT
0015-00000004
Copy page
Download PDF
0015-00000004
Problem description​
MD5 value of the key provided by SSE-C encryption is empty.​
Root cause​
When using SSE-C encryption, the Base64-encoded 128-bit MD5 digest of the encryption key is not provided.​
Example​
When uploading an object, the x-tos-server-side-encryption-customer-key-MD5 header is missing.​
​
PUT /object HTTP/1.1​
Host: <Bucket name>.<TOS endpoint>​
Date: Fri, 30 Jul 2021 13:59:18 GMT​
Authorization: authorization xxx​
x-tos-server-side-encryption-customer-algorithm: AES256​
x-tos-copy-source-server-side-encryption-customer-key: YWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWE=​
​
......​
​
Solution​
When using SSE-C encryption, use the x-tos-server-side-encryption-customer-key-MD5 header to provide TOS with the Base64-encoded 128-bit MD5 digest of the encryption key to ensure the key is transmitted correctly. For more information, see Server-Side Encryption with Customer-Provided Keys (SSE-C).​
Last updated: 2025.10.10 18:58:07