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

Use https by default for endpoint #273

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

xkdcc
Copy link
Contributor

@xkdcc xkdcc commented May 8, 2021

Using https by default is one of the security best practice rules nowadays.
Azure also have been using https by default, you can refer to _blob_client.py
Especially, the same function _normalize_endpoint in django-oss-storage also have been updated to use https by default, you can refer to django-oss-storage code

With this changes, the existing programs of customers might fail with CERTIFICATE_VERIFY_FAILED if they didn't specify http:// explicitly.
To avoid surprise from customers, should broadcast developers and customers in Aliyun community and relevant developer blogs before this changes.

Using https by default is one of the security best practice rules nowadays.
Azure also have been using https by default, you can refer to https://github.com/Azure/azure-sdk-for-python/blob/master/sdk/storage/azure-storage-blob/azure/storage/blob/_blob_client.py

With this changes, the existing programs of customers might fail with `CERTIFICATE_VERIFY_FAILED` if they didn't specify "http://" explicitly.
To avoid surprise from customers, please notify developers and customers in Aliyun community and guides before merge/release with this changes.
@CLAassistant
Copy link

CLAassistant commented May 8, 2021

CLA assistant check
All committers have signed the CLA.

@xkdcc
Copy link
Contributor Author

xkdcc commented May 8, 2021

May 08, 2021:
The CI failed due to issue #276.
Once the fix #275 to issue #276 got merged, the travis ci job of current PR should pass and other PRs impacted by the same issue as well.

July 13, 2021:
#275 has been merged, now I am going to re-trigger checks of this PR.

@xkdcc xkdcc closed this Jul 13, 2021
@xkdcc xkdcc reopened this Jul 13, 2021
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.

2 participants