You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by GitBox <gi...@apache.org> on 2021/12/16 13:41:42 UTC

[GitHub] [libcloud] murlock commented on a change in pull request #1633: Scaleway object storage driver

murlock commented on a change in pull request #1633:
URL: https://github.com/apache/libcloud/pull/1633#discussion_r770547664



##########
File path: libcloud/common/aws.py
##########
@@ -347,14 +347,15 @@ def _get_credential_scope(self, dt):
         )
 
     def _get_signed_headers(self, headers):
-        return ";".join([k.lower() for k in sorted(headers.keys())])
+        return ";".join([k.lower()

Review comment:
       Hi everyone
   We use only lower case header name:
   The data to check signature are setup at https://github.com/openstack-archive/swift3/blob/v1.11/swift3/request.py#L251
   and since there is mismatch while preparing data at https://github.com/openstack-archive/swift3/blob/53614c2da837a9a53016b7d3e9911cf96ab39c77/swift3/request.py#L255 a SignatureMismatch is raised




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@libcloud.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org