Skip to content
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

[Backport to 5.15] fixed signature calculations for cpp aws-sdk #7840

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

dannyzaken
Copy link
Contributor

@dannyzaken dannyzaken commented Feb 21, 2024

(cherry picked from commit ccf16e3)

Explain the changes

  1. Backport of fixed signature calculations for cpp aws-sdk #7829
  • AWS SDK for C++ sends the '=' character unencoded when it is in the "key" string but calculates the signature for the encoded '%3D' value.
  • fixed function _aws_request to first decode the pathname (to avoid reencoding of '%' characters) and then encode the path again.
  • added signature tests

Issues: Fixed #xxx / Gap #xxx

  1. https://bugzilla.redhat.com/show_bug.cgi?id=2265288

Testing Instructions:

  • Doc added/updated
  • Tests added

* AWS SDK for C++ sends the '=' character unencoded when it is in the "key" string but calculates the signature for the encoded '%3D' value.
* fixed `function _aws_request` to first decode the pathname (to avoid reencoding of '%' characters) and then encode the path again.

Signed-off-by: Danny Zaken <dannyzaken@gmail.com>

added signature tests

Signed-off-by: Danny Zaken <dannyzaken@gmail.com>
(cherry picked from commit ccf16e3)
Signed-off-by: Danny Zaken <dannyzaken@gmail.com>
@nimrod-becker nimrod-becker merged commit b9b15ee into noobaa:5.15 Feb 21, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants