Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Add S3 SigV4 Presigning #2349

Merged
merged 1 commit into from
Jun 27, 2014
Merged

Conversation

danielgtaylor
Copy link
Member

This change fixes an issue with presigning when signature version 4 is used with S3. It also includes a minor fix for determining the signing region name for vhosted classic domains. Example output:

https://taylordt-v4test.s3-us-west-2.amazonaws.com/chicago.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=86400&X-Amz-SignedHeaders=host&X-Amz-Signature=48a81a59132d9b93bf81878a36f4aff38ea56107682face528b2a605886a1c33&X-Amz-Date=20140627T181333Z&X-Amz-Credential=AKIAIFM3UXOJ72EAMEYA%2F20140627%2Fus-west-2%2Fs3%2Faws4_request

@jamesls, please review.

@jamesls
Copy link
Member

jamesls commented Jun 27, 2014

:shipit:

danielgtaylor added a commit that referenced this pull request Jun 27, 2014
@danielgtaylor danielgtaylor merged commit 125c4ce into boto:develop Jun 27, 2014
@danielgtaylor danielgtaylor deleted the s3v4-presign branch June 27, 2014 18:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants