Skip to content

Conversation

@markan
Copy link
Contributor

@markan markan commented Jun 11, 2019

Description

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

  • I have read the CONTRIBUTING document.
  • I have run the pre-merge tests locally and they pass.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • All commits have been signed-off for the Developer Certificate of Origin.

markan added 2 commits June 10, 2019 22:19
Signed-off-by: Mark Anderson <mark@chef.io>
Signed-off-by: Mark Anderson <mark@chef.io>

%% AWS V4 requires sorting;
%% Each header is terminated with a "\n"
make_header_string(Headers) ->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Arguably this could called from canonicalize_headers' instead of make_v4_canonical_request since as amazon describes the canonical header it itself as both sorted and lowercase

Signed-off-by: Mark Anderson <mark@chef.io>
@PrajaktaPurohit
Copy link
Contributor

We decided to support only v4 signing since support for sig_V2 has now ended and all the old sig_v2 buckets should also support sig_V4. https://aws.amazon.com/blogs/aws/amazon-s3-update-sigv2-deprecation-period-extended-modified/ (Will reopen if required) REF to sig_V4 work: chef/chef-server#2097

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants