s3cmd icon indicating copy to clipboard operation
s3cmd copied to clipboard

Added x-amz-checksum-sha256 header for Object Lock support

Open AlexisPPLIN opened this issue 1 year ago • 2 comments

This is a follow-up of PR #1353 which is inactive since Dec 5, 2023

As asked I moved the sha256 digest to base64 string into a separate function into S3/Crypto.py

Fixes #1177

AlexisPPLIN avatar Aug 22 '24 09:08 AlexisPPLIN

Sorry for the long delay of my reply. As you can see with the failed tests, you forgot the import for base64 in crypto. In fact, as it is done for encodestring, you can directly import the function that you want to use.

fviard avatar Sep 10 '24 23:09 fviard

Hi ! No worries for the delay

I fixed my import like you advised me to. I also rebased my PR on master.

AlexisPPLIN avatar Sep 12 '24 13:09 AlexisPPLIN