Skip to content

Commit

Permalink
Fix boto3 s3 signature (CTFd#2041)
Browse files Browse the repository at this point in the history
  • Loading branch information
ColdHeat authored Jan 13, 2022
1 parent c1a2717 commit f89fcea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CTFd/utils/uploads/uploaders.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _get_s3_connection(self):
endpoint = get_app_config("AWS_S3_ENDPOINT_URL")
client = boto3.client(
"s3",
config=Config(signature_version="v4"),
config=Config(signature_version="s3v4"),
aws_access_key_id=access_key,
aws_secret_access_key=secret_key,
endpoint_url=endpoint,
Expand Down

0 comments on commit f89fcea

Please sign in to comment.