You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CompleteMultipartUpload has fields to include several hash digests, it wouldn't be hard in streamUpload to compute these from the data coming into the conduit and including that at the end. This should be easy to do efficiently with a combination of cryptonite and some of the modules in amazonka-core.
One big benefit of this is making testing simpler, at the moment I upload a file to S3, download it and check the hash matches; if the hash is computed from the input data and not anything internal to buffers etc, then Amazon will do the work of checking that the hash matches for us, and hopefully return an error if we ever mess up uploading.
The text was updated successfully, but these errors were encountered:
CompleteMultipartUpload
has fields to include several hash digests, it wouldn't be hard instreamUpload
to compute these from the data coming into the conduit and including that at the end. This should be easy to do efficiently with a combination ofcryptonite
and some of the modules inamazonka-core
.One big benefit of this is making testing simpler, at the moment I upload a file to S3, download it and check the hash matches; if the hash is computed from the input data and not anything internal to buffers etc, then Amazon will do the work of checking that the hash matches for us, and hopefully return an error if we ever mess up uploading.
The text was updated successfully, but these errors were encountered: