providing ACL fails with SignatureDoesNotMatch

未關閉
#1,605 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
4/5
預估耗時
3-5 天
新手友好度
25/100
Issue 類型
缺陷
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
aws, python
領域
cloud

研究方向

從儲存驅動程式的 upload_object 進入點開始,追蹤 S3 和 DigitalOcean Spaces 如何處理額外的字典。使用 extra={'acl': 'public-read'} 重現提供的上傳,並將其與僅包含中繼資料的上傳進行比較,然後確認 ACL 請求不再因 SignatureDoesNotMatch 而失敗。

由索引模型根據 Issue 內容生成。

描述

stale

Summary

When uploading a file to Storage (S3 or DigitalOcean Spaces), with the ACL header/parameter, the request fails with "SignatureDoesNotMatch" exception.

Detailed Information

Demo code:

container = ...
src = 'somefile.txt'
dst = 'somewhere/somefile.txt'
extra = {'acl': 'public-read'}
obj = driver.upload_object(src, container, dst, extra=extra)

Providing meta_data, and/or other information in the extra dict works just fine, it fails as soon as I provide any acl key/value.

  • Libcloud version: 3.3.1
  • Python version: 3.9.1

Screenshots:

AWS S3:

Screenshot_1

DigitalOcean Spaces:
Screenshot_4

主要語言
Python
星號
2.1k
分支
935
平均合併
5 天 3 小時
30 天內合併 PR
15

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

apache/libcloud 的其他 Issue

查看 apache/libcloud 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。