improve ergonomics of CA certificates when cross compiling
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 35/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 冷清
- 技术栈
- zig
- 领域
- build-system, security
调研方向
从 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,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
相似的 Issue
-
ci: nothing regenerates the Go contract types, so a hand-edit to types.gen.go passes可能已有人在做 @shaiknoorullah 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
shaiknoorullah/hg-mono#993 · 2 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 62/100
snakemake/snakemake#4341 · 2 条评论 ·
维护者通常 6 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
Countly/countly-sdk-ios#485 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
s4u/setup-maven-action#172 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 4 天内回复