rpi-fw-crypto: can the dependency on GnuTLS be optional instead?
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- c
- 領域
- embedded-iot
調査の方向性
Read the rpi-fw-crypto implementation, especially the sign command's hash_file() and the hmac command used by the initramfs; the issue names no source files or tests. Check how the binary links to GnuTLS and whether that dependency can be made optional for hmac. Done means hmac works without GnuTLS while sign retains its required hashing behavior.
索引モデルが issue の本文から書いたものです。
説明
Hi,
The initramfs that rpi-image-gen builds with the rpi-idp-luks2 layer runs rpi-fw-crypto hmac to unlock LUKS2. Because rpi-fw-crypto links against GnuTLS, the initramfs also has to carry GnuTLS and its dependencies: 2.28 MB at zstd -19, close to 25% of my small initramfs test. GnuTLS is only used by sign (in hash_file()), but the binary won’t load without it, even for hmac.
I saw that #203 was closed because GnuTLS is used elsewhere in RPi OS. In my initramfs, though, rpi-fw-crypto appears to be its only user, in this particular configuration I am testing.
The use case I’m considering is reducing churn in the generated boot.img, which affects OTA transfer size where those matters. I suppose the counterargument is that I could simply pin the package versions instead of always pulling the latest via apt.
- 主要言語
- C
- スター
- 351
- フォーク
- 103
- 平均マージ
- 1日 18分
- マージ済み PR(30日)
- 4
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
raspberrypi/utils のほかの issue
-
Compiler error (gcc-16.1.1) about vcgencmd with strncat対応中かも @popcornmix が 32 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
raspberrypi/utils#197 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 42/100
raspberrypi/utils#159 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
raspberrypi/utils#133 · コメント 1 件 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 30/100
raspberrypi/utils#131 · コメント 1 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
raspberrypi/utils#124 · コメント 1 件 · リアクション 1 件 ·
raspberrypi/utils の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
メンテナーはふだん 1 日以内に返信
-
bug core p3
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
RunanywhereAI/runanywhere-sdks#1258 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
rocketproplab/phoenix-fc-sensor-board#18 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
rolotrealanis98/open-apollo#126 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue no-disc-needed
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
Jstar269/nakagawa-recomp#1981 ·
メンテナーはふだん 1 日以内に返信