Skip to content

Instantly share code, notes, and snippets.

@vdm
Created January 2, 2025 12:56
Show Gist options
  • Save vdm/5f299aa4c926e16e6379922b6fdf65db to your computer and use it in GitHub Desktop.
Save vdm/5f299aa4c926e16e6379922b6fdf65db to your computer and use it in GitHub Desktop.
x-amz-checksum-crc64nvme
$ curl -XPUT -H "x-amz-copy-source: /bucket/a" -H "x-amz-checksum-algorithm: CRC64NVME" --aws-sigv4 aws:amz:us-east-1:s3 --user AKIA...:...+ https://bucket.s3.amazonaws.com/key
<?xml version="1.0" encoding="UTF-8"?>
<CopyObjectResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LastModified>2024-12-29T19:43:21.000Z</LastModified><ETag>"590046f3c30d87cfc3bca4b2f376d08b"</ETag><ChecksumCRC64NVME>ZJWXR44J9Qk=</ChecksumCRC64NVME></CopyObjectResult>
$ curl -H "x-amz-checksum-mode: ENABLED" --head --aws-sigv4 aws:amz:us-east-1:s3 --user AKIA...:...+ https://bucket.s3.amazonaws.com/key
HTTP/1.1 200 OK
x-amz-id-2: 3LMcx6/LPR5MJGz0L7WUZ0g8dJ6aPrPewidxDdi/ed2smPCYbXc3gczebpfNs5INMOjvHCsvL10=
x-amz-request-id: 0EDJAYS0Y4MHZVN9
Date: Sun, 29 Dec 2024 19:58:36 GMT
Last-Modified: Sun, 29 Dec 2024 19:43:21 GMT
ETag: "590046f3c30d87cfc3bca4b2f376d08b"
x-amz-checksum-crc64nvme: ZJWXR44J9Qk=
x-amz-server-side-encryption: AES256
Accept-Ranges: bytes
Content-Type: binary/octet-stream
Content-Length: 29
Server: AmazonS3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment