Improving supply chain / confidence
评估
这个 Issue 还没有评估数据。
描述
I do recognize this is open source and so I am not "demanding" that you spend your time on any of the things outlined below, especially since the current code appears to be working (besides what has open issues), but I do feel like this project does not fully recognize its role in the supply chain, so this issue should be more of a discussion what you think reasonable, or maybe tracking what was done or what could be done.
If I find the time to actually work on appimagetool (beyond just reviewing changes as they happen), I think my primary goals would be
- ensuring there is no undefined behaviour - make use of static analysis (-Wall -Wextra -Wconversion -Werror, maybe scan-build),
- checking hash or signature of all downloads[^1] - the runtime is not checked, mksquasfs is not checked,
- also printing hashes or versions of files involved that are only checked via signature or adding them to an SBOM,
- make use of gh attestation
- maybe trying to generate an SBOM
- maybe adding tests that run with ASAN and UBSAN and
- maybe trying to get rid of the C++ - while I don't think C++ is bad, I think that it adds very little value in its current use, but pulls in the libcpp, and the problem it tries to solve could be solved differently.
Additionally, I am already re-hosting the builds from this repo in tagged releases so we can pin them by hash in the "downstreams" I am involved in.
Somewhat related: The security considerations in type2-runtime look quite a bit better than the ones here. It is missing -Wextra, -Wconversion and maybe testing with ASAN and UBSAN as well though, which would all increase confidence in the correctness of the current code, any future code changes, and compiler compatibility. I do think the "one C file" requirement could be dropped by doing amalgamation in the Makefile, making it easier to test individual parts.
[^1]: Compromised SSL certs, compromised infra and compromised repositories could all lead to compromised files being fetched.
- 主要语言
- C
- 星标
- 462
- 派生
- 61
- 平均合并
- 20 分钟
- 30 天内合并 PR
- 8
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
AppImage/appimagetool 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 55/100
AppImage/appimagetool#141 · 1 条评论 ·
-
All my workflows are failing due to recent changes可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 3/5 1-2 天 新手友好度 45/100
AppImage/appimagetool#138 · 74 条评论 · 7 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 48/100
AppImage/appimagetool#136 · 2 条评论 ·
-
难度 5/5 一周以上 新手友好度 20/100
AppImage/appimagetool#132 ·
-
难度 3/5 1-2 天 新手友好度 45/100
AppImage/appimagetool#127 · 3 条评论 ·
查看 AppImage/appimagetool 的全部 Issue
相似的 Issue
-
[Android Auto] MU1017 (MHI2Q_JP_AUG22_P1017) cluster map works with a pinned profile — values inside未关闭
难度 1/5 1 小时以内 新手友好度 92/100
kamgurgul/mib2q-carplay#74 ·
-
Claude:NotNeeded GPT:NotABug triage
难度 2/5 1-3 小时 新手友好度 78/100
open5gs/open5gs#5195 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
FriendsofECCE/ECCE#1358 ·
-
`gamma` is log-gamma on Linux (glibc) but the gamma function elsewhere; gojq and jaq implement Γ未关闭
难度 2/5 1-3 小时 新手友好度 62/100
维护者通常 1 天内回复
-
documentation needs-triage
难度 2/5 1-3 小时 新手友好度 68/100
X11Libre/xserver#4255 · 2 条评论 ·
维护者通常 1 天内回复