Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Switch all config options that can be toggled to "=n" when not active from board configs

オープン
#2,202 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
shell
領域
security

調査の方向性

config-gui.sh と cbfs-init.sh から始め、次に board.cpio にパッケージ化されたボード設定ファイルを調べて、非アクティブ時にコメントアウトされるオプションを確認します。明示的な =n 値が必要な切り替え可能なオプションをすべて特定し、それを無効にした場合に、再起動後も config.user に実質的な変更がなく、改ざんレポートも生成されないことを検証します。

索引モデルが issue の本文から書いたものです。

説明

config-gui.sh is growing in features.

Current board configs either comment board options when deactivated or set them to option=n

The later is better, concrete example:

  • DEBUG is commented in board config, which is packed into CBFS through board.cpio. Since this is commented, the debug=x doesn't exist (not considered)
  • User toggles debugging into config gui. This sets debug=y into config.user overlay, which is applied on boot by cbfs-init.sh and considered when flashed to rom and rebooted.
  • Heads picks the change as tampering. User can reseal or not secrets, produce debug.log and upload for bug report.
  • User deactivated debug, expects logic to save as override which if the same as board config, produce no change and save, flash back to cbfs, reboot
  • since board config never had debug=n, but now config.user has debug=n, Heads measures config.user and sees a change, reports it as tampering.
  • User has to reseal secrets since debug=n was never set at the first place.

Tldr: if we want users to be able to test settings without resealing and rollback, options that are deactivated needs to be set to =n in board config so that when toggled back, Heads doesn't see a change because there are none.

主要言語
Makefile
スター
1.6k
フォーク
211
平均マージ
22時間 34分
マージ済み PR(30日)
5

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linuxboot/heads のほかの issue

linuxboot/heads の issue をすべて見る

似ている issue

Security の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。