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

OSSClient的generatePostPolicy和calculatePostSignature方法需要支持V4签名 #537

Open
Unmeltable-Ice opened this issue Jul 12, 2024 · 2 comments

Comments

@Unmeltable-Ice
Copy link

官方提出明年开始不再新开支持V1签名的bucket,给出了V4签名的方法,对比SDK代码后发现没有支持V4签名

@huiguangjun
Copy link
Contributor

fix in 6da9068

@Unmeltable-Ice
Copy link
Author

感谢对calculatePostSignature方法的支持。
现在仍需对generatePostPolicy方法进行修改,以支持在com.aliyun.oss.model.PolicyConditions中添加对应参数。
或者至少补充com.aliyun.oss.model.PolicyConditions的常量,由用户添加对应信息。

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

No branches or pull requests

2 participants