alephdata / aleph

Search and browse documents and data; find the people and companies you look for.
http://docs.aleph.occrp.org
MIT License
2.04k stars 272 forks source link

Downloading Original File from S3 Results in KMS Key Error #1439

Open bryceandress opened 4 years ago

bryceandress commented 4 years ago

When trying to download original file from S3 using Aleph the following error is generated

` InvalidArgument

Requests specifying Server Side Encryption with AWS KMS managed keys require AWS Signature Version 4. Authorization null 6424A97880ACFC2B KQlcphIptjeEEUW9A6fVmVwG7OtaYBcdKIpL7FKzOaFdx9iy8ITRelOoaXgZ5WMfc1+LmfIn3DU=

`

Upon further troubleshooting it appears the url being generated is the filename.extenstion however in S3 all files have the name data.

When downloading the file from S3 manually it is the correct file and no KMS issues occur.

pudo commented 3 years ago

Is there any further advice on this? We just don't have AWS/S3 anywhere near our production, so it's not really on our agenda to debug.