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

✨ [Feature] 添加下载文件的 checksums 校验机制 #42

Closed
2 tasks done
devhaozi opened this issue Oct 10, 2023 · 2 comments
Closed
2 tasks done

✨ [Feature] 添加下载文件的 checksums 校验机制 #42

devhaozi opened this issue Oct 10, 2023 · 2 comments
Milestone

Comments

@devhaozi
Copy link
Collaborator

devhaozi commented Oct 10, 2023

在提问之前 (Before Asking)

  • 我已经搜索了全部 Issues 和 Commits (I have searched all Issues and Commits)
  • 它们当中没有我将要提交的新功能 (None of them have new feature that I'm going to submit)

描述功能 (Describe Feature)

近期几个老牌脚本相继被挂马,虽然我们不大可能会受影响(云存储和CDN均由又拍云直接提供,同时强制HTTPS链接),但最好还是添加一下有备无患。

工作流程 (WorkFlow)

  1. 研究面板发版时计算 sha256
  2. 为云存储中的所有资源计算 sha256
  3. 实现下载文件时同时下载 sha256 文件并校验

还有别的吗 (Anything Else)

none

@devhaozi devhaozi added this to the 2.1.x milestone Oct 10, 2023
@github-actions
Copy link

Hi @devhaozi 👋

我们认为您的建议非常有价值!欢迎提交 PR,请包含相应的测试用例、文档等,并确保 CI 通过,感谢和期待您的贡献!
We think your suggestion is very valuable! Welcome to submit a PR, please include test cases, documentation, etc., and ensure that the CI is passed, thank you and look forward to your contribution!

aoligei

@devhaozi
Copy link
Collaborator Author

已添加,但是没做详细测试,如遇下载问题,请反馈。

@devhaozi devhaozi changed the title ✨ [Feature] 添加下载文件的 md5 校验机制 ✨ [Feature] 添加下载文件的 checksums 校验机制 Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant