When uploading a file with gof3r to our S3 compatible storage (gof3r v0.4.10 to use Signature Version 2 with Ceph, our setup doesn't support v4), the upload is successful but gof3r exits with the following error:
gof3r error: MD5 hash of part hashes comparison failed. Hash from multipart complete header:
baac207116c3c53ca4e2e2e7cc321c3. Calculated multipart hash: 5baac207116c3c53ca4e2e2e7cc321c3.
As you can see, the remote hash is missing the first character. Checking the code, the first character was always stripped, assuming it is always a quote (") however, this is not the case. Basically replaced the substring by simply trimming the quotes.
When uploading a file with
gof3r
to our S3 compatible storage (gof3r v0.4.10 to use Signature Version 2 with Ceph, our setup doesn't support v4), the upload is successful but gof3r exits with the following error:As you can see, the remote hash is missing the first character. Checking the code, the first character was always stripped, assuming it is always a quote (
"
) however, this is not the case. Basically replaced the substring by simply trimming the quotes.