S3 Multipart Upload into ObjectLock enabled bucket (go, sdk-v2) #4839
-
My understanding is that when upload to ObjectLock enabled bucket it is required to provide precomputed md5 hash of the file.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Seems like the issue was in incorrect md5 lib usage, the following works: |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
Seems like the issue was in incorrect md5 lib usage, the following works:
hash := md5.New()
hash.Write(largeObject)
md5Hash := base64.StdEncoding.EncodeToString(hash.Sum(nil))