SonataMediaBundle icon indicating copy to clipboard operation
SonataMediaBundle copied to clipboard

Amazon AES256 not set property

Open mpoiriert opened this issue 2 years ago • 1 comments

The AES256 value is set via encryption but the configuration from Amazon is named ServerSideEncryption

https://github.com/sonata-project/SonataMediaBundle/blob/dd53b0a6f5c7df3eab29a7393b597a03a2298c9c/src/Metadata/AmazonMetadataBuilder.php#L104

From https://docs.aws.amazon.com/AmazonS3/latest/userguide/specifying-s3-encryption.html

$result = $s3->putObject([ 'Bucket' => $bucket, 'Key' => $keyname, 'SourceFile' => $filepath, 'ServerSideEncryption' => 'AES256', ]);

mpoiriert avatar Mar 11 '22 16:03 mpoiriert

HI @mpoiriert, can you provide a PR with the fix ? :)

VincentLanglet avatar Mar 31 '22 20:03 VincentLanglet

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar Sep 28 '22 09:09 github-actions[bot]