Repository navigation
deps: require ex_aws_auth ~> 1.5 - #1132
Merged
Merged
Conversation
ex_aws_auth 1.5.0 fixes SigV4 canonicalization bugs that can produce SignatureDoesNotMatch: canonical headers sorted by name:value instead of name, Host signed twice, whitespace in header values not collapsed, and multi-valued headers truncated by the Req plugin. Requiring 1.5 gives Bedrock IAM, STS and bidirectional streaming users those fixes. req_llm passes only :credentials and :service to AWSAuth.Req.attach/2 and builds the Bedrock URL from the credentials' region, so the stricter option validation and the new region precedence in 1.5 do not change its requests.
neilberkman
force-pushed
the
deps/ex-aws-auth-1-5
branch
from
October 21, 2026 17:31
dd9bf71 to
054e721
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Requires
ex_aws_auth ~> 1.5and locks 1.5.0. That release fixes SigV4 canonicalization bugs that can produceSignatureDoesNotMatch:name:valueinstead of by name.Hostcould be signed twice (SignedHeaders=host;host).hoston re-sign.Bedrock IAM credentials, STS and bidirectional streaming all sign through
ex_aws_auth, so requiring 1.5 gives those users the fixes.Three behaviour changes in 1.5 do not affect req_llm:
AWSAuth.Req.attach/2now rejects unknown options. req_llm passes only:credentialsand:service.credentials.region. req_llm builds the Bedrock URL from the credentials' region, so both agree.The README and the missing-dependency error message now name
~> 1.5.Type of Change
Breaking Changes
Projects that pin
ex_aws_authbelow 1.5 need to raise that pin.Testing
mix test): 5313 passed. One run had a timing failure inStreamServer.ErrorHandlingTest, which uses a 200 ms wait and passed on 5 isolated reruns.mix quality)These tests cover SigV4 signing with mocked HTTP. No live IAM-signed Bedrock request was made.
Checklist
CHANGELOG.md(it is auto-generated by git_ops)Related Issues
None filed.
Need help on this PR? Tag
@codesmith-botwith what you need.