Closed dlovitch closed 6 years ago
Hi,
It seemed like the --encryption flag was no longer supported due to an issue with v2 of the AWS SDK.
--encryption
Googling around, I found https://github.com/thoughtbot/paperclip/wiki/Upgrade-Paperclip-4x-to-5x which mentions
Note that AWS no longer accepts :aes256 as an encryption value and will raise Aws::S3::Errors::InvalidArgument with the message The encryption method specified is not supported. The value should instead be "AES256".
...which also seems to be backed up by http://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Object.html
Possible values: AES256 aws:kms
Possible values:
AES256 aws:kms
I don't really know Ruby, but I updated :aes256 to "AES256" and --encryption seems to work for me, so I'm hoping this helps someone else.
:aes256
"AES256"
Hi,
It seemed like the
--encryption
flag was no longer supported due to an issue with v2 of the AWS SDK.Googling around, I found https://github.com/thoughtbot/paperclip/wiki/Upgrade-Paperclip-4x-to-5x which mentions
...which also seems to be backed up by http://docs.aws.amazon.com/sdkforruby/api/Aws/S3/Object.html
I don't really know Ruby, but I updated
:aes256
to"AES256"
and--encryption
seems to work for me, so I'm hoping this helps someone else.