Skip to content

aws javascript sdk v3 - signature mismatch error #14709

Answered by harshavardhana
beez-dev asked this question in Q&A
Discussion options

You must be logged in to vote

This is a stupid regression in aws-sdk-js-v3 @beez-dev they ignore the port passed to the endpoint as part of signature calculation

PUT
/myBucket/marbles.jpg
X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=minioadmin%2F20220411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220411T024038Z&X-Amz-Expires=10000&X-Amz-SignedHeaders=host&x-id=PutObject
host:localhost

host
UNSIGNED-PAYLOAD
http://localhost:9000/myBucket/marbles.jpg?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Content-Sha256=UNSIGNED-PAYLOAD&X-Amz-Credential=minioadmin%2F20220411%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20220411T024038Z&X-Amz-Expires=10000&X-Amz-Signature=512f93d4d6d3f85098a47d…

Replies: 4 comments 11 replies

Comment options

You must be logged in to vote
1 reply
@beez-dev
Comment options

Comment options

You must be logged in to vote
8 replies
@beez-dev
Comment options

@harshavardhana
Comment options

@beez-dev
Comment options

@beez-dev
Comment options

@beez-dev
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@phatj
Comment options

@oscarhermoso
Comment options

Answer selected by harshavardhana
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants