[Feature] 对已知哈希的文件下载任务跳过 SSL 证书校验

未关闭
#7,196 0 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
24/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
活跃
技术栈
java

调研方向

Start by locating the file download task code and its SSL certificate validation path. Check how known hashes and request headers are represented, then identify how local hash verification could fit without weakening checks for other downloads. The issue gives no files, tests, or acceptance criteria, so clarify the intended scope and security behavior before implementation.

由索引模型根据 Issue 内容生成。

描述

enhancement
概述 | Summary

对于特定的文件下载任务,比如下载 SHA-1 已知的文件且没有包含隐私信息的请求头时,我们可以不依靠 https 的信任链,而是通过本地校验来验证文件是否可信。

原因 | Reason

部分软件(比如 Steamcommunity 302)可能会导致大量 SSL 证书问题,在不必要的情况下跳过校验也许能改善启动器的可用性?

详情 | Description

No response

主要语言
Java
星标
10.9k
派生
1.3k
平均合并
13 小时 44 分钟
30 天内合并 PR
113

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

HMCL-dev/HMCL 的其他 Issue

查看 HMCL-dev/HMCL 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。