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分
- マージ済み PR(30日)
- 8
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
AppImage/appimagetool のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
AppImage/appimagetool#141 · コメント 1 件 ·
-
All my workflows are failing due to recent changes対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
AppImage/appimagetool#138 · コメント 74 件 · リアクション 7 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
AppImage/appimagetool#136 · コメント 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 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 日以内に返信