Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

improve ergonomics of CA certificates when cross compiling

未关闭
#9 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

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

调研方向

从 curl 的 SSL 证书文档、issue 32041 中关于 Zig 构建系统依赖项的讨论以及 std.crypto.Certificate.Bundle.rescan 开始,这些内容都由该 issue 引用。确定哪些证书源行为和构建选项属于范围;完成标准应包括已达成一致的文档或选项行为,以及可复现的交叉编译检查。

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

描述

When cross compiling, we cannot, by default, depend on the CA certificates provided by the host system because we need to guarantee a reproducible build that has no dependencies on the host system (hermetic builds).

Here is what can be done about it:

  • improve documentation so that upstream dependencies are aware of this issue. Curl has some useful docs on this
  • give an option to opt into always using the host system's CA certificates
  • give an option to opt into to built in certificates

Builtin certificates could, as an example, be sourced from https://curl.se/docs/caextract.html and fetched as a typical build system dependency. See https://codeberg.org/ziglang/zig/issues/32041 about fetching single file dependencies

AFAIK it is a non-goal for upstream curl to support runtime detection of certificates. It could be viable to fork upstream for this or at least provide some resources to dependant projects so that they can implement this on their side. std.crypto.Certificate.Bundle.rescan could be used as a reference.

主要语言
Zig
星标
14
派生
10
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

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

相似的 Issue

更多 Build System Issue

把新 issue 发到你的邮箱

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