[Cyberduck-trac] [Cyberduck] #11038: PUTs fail to S3 with Request Error: Header "x-amz-content-sha256" set to the hex-encoded SHA256 hash ... AWS Version 4

Cyberduck trac at cyberduck.io
Tue Jun 9 20:08:25 UTC 2020


#11038: PUTs fail to S3 with Request Error: Header "x-amz-content-sha256" set to
the hex-encoded SHA256 hash ... AWS Version 4
-------------------------+----------------------
 Reporter:  jamshid      |         Owner:
     Type:  defect       |        Status:  new
 Priority:  normal       |     Milestone:
Component:  s3           |       Version:  7.3.1
 Severity:  major        |    Resolution:
 Keywords:               |  Architecture:
 Platform:  macOS 10.15  |
-------------------------+----------------------

Comment (by jamshid):

 Aha a breakthrough! It appears to be specific to certain files. Download
 this file (100M of NULs) then try uploading to an Amazon S3 bucket.
 https://jam.cloud.caringo.com/public/duck_100M
 You should now see the V4 signature error related to "x-amz-content-
 sha256".

 A colleague verified the same error with a 100MB random bytes file, so it
 seems more about the size than contents.
 {{{
 dd if=/dev/urandom of=Desktop/test-100M.out bs=1024k count=100
 }}}

 Hopefully you can see the bug now, let me know if you need anything.
 Thanks!

--
Ticket URL: <https://trac.cyberduck.io/ticket/11038#comment:5>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list