Opened on Feb 7, 2018 at 7:58:25 PM
Closed on Feb 9, 2018 at 9:02:29 AM
#10217 closed defect (fixed)
Profiles using AWS Signature Version 4 can cause AuthenticationHeaderSignatureVersion exceptions
Reported by: | ilker | Owned by: | dkocher |
---|---|---|---|
Priority: | normal | Milestone: | 6.4.0 |
Component: | s3 | Version: | 6.3.4 |
Severity: | normal | Keywords: | |
Cc: | Architecture: | ||
Platform: |
Description (last modified by ilker)
Latest snapshot build of Cyberduck supports OCI Object Storage since ticket #10194.
It works however when downloading files from Object Storage to local folder, it gives the following error after the download is completed.
Unknown application error. No enum constant ch.cyberduck.core.s3.S3Protocol.AuthenticationHeaderSignatureVersion.AWS4.
Download succeeds and the file is copied to local destination if you simply cancel it. If you retry it, Transfer windows turns to red stating it is 0 bytes and "Incomplete" (downloaded file stays, uncorrupted).
I am using this profile.
Setting the Authorization key in configuration to AWS4-HMAC-SHA256 results in a similar error:
Unknown application error. No enum constant ch.cyberduck.core.s3.S3Protocol.AuthenticationHeaderSignatureVersion.AWS4-HMAC-SHA256.
Looking through the code and making some educated guesses, setting the Authorization key to AWS4HMACSHA256 works.
This is a little unintuitive and I couldn't find a reference in cyberduckprofile documentation.
So is this configuration with AWS4HMACSHA256 key correct and how it is supposed to be? If so, documenting it might be useful.
Change History (6)
comment:1 Changed on Feb 7, 2018 at 8:03:56 PM by ilker
- Description modified (diff)
comment:2 Changed on Feb 7, 2018 at 8:11:58 PM by ilker
- Summary changed from Downloads from OCI Objects Storage results in Unknown Application Error to Downloads from OCI Objects Storage results in AuthenticationHeaderSignatureVersion exceptions
comment:3 Changed on Feb 7, 2018 at 8:12:35 PM by ilker
- Description modified (diff)
comment:4 Changed on Feb 7, 2018 at 8:25:22 PM by dkocher
- Component changed from core to s3
- Milestone set to 6.4.0
- Owner set to dkocher
- Status changed from new to assigned
comment:5 Changed on Feb 7, 2018 at 8:53:27 PM by ilker
- Summary changed from Downloads from OCI Objects Storage results in AuthenticationHeaderSignatureVersion exceptions to Profiles using AWS Signature Version 4 can cause AuthenticationHeaderSignatureVersion exceptions
comment:6 Changed on Feb 9, 2018 at 9:02:29 AM by dkocher
- Resolution set to fixed
- Status changed from assigned to closed
I have updated the documentation. Fix in r43868.