-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: implementation of standard AWS signer #651
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix and ship.
edit: Also you are missing changelog entry!
// ktor-http-cio parser doesn't support parsing multiline headers since they are deprecated in RFC7230 | ||
"get-header-value-multiline", | ||
// ktor fails to parse with space in it (expects it to be a valid request already encoded) | ||
"get-space-normalized", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably address these as they are mostly limitations of the parser in use. In particular the space ones since IIRC rust had some issues with this. I don't think we need to block this PR over it but we should make a task for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep yep, created #653 and will note it in a TODO around these tests.
|
||
private const val PANGRAM = "The quick brown fox jumps over the lazy dog" | ||
|
||
class HmacTest { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix: We should really use more official test vectors like the ones provided in rfc-4231 section 4.
Sorry for not catching this before
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ooh great idea!
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Issue #
#617
Description of changes
Merge signer feature branch into main. All of these changes should've been reviewed in #635 and #637.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.