LUKS volumes need configurable password and/or recovery keys
- 主要言語
- Rust
- スター
- 2.3k
- フォーク
- 230
- 平均マージ
- 3日 3時間
- マージ済み PR(30日)
- 36
説明
See problems described in #476 and #421 for context.
The `bootc install to-disk --block-setup tpm2-luks` feature needs to provision either a systemd-cryptenroll recovery key or a default/backup password for the root LUKS volume. This is a necessity to ensure systems can be booted and users are not locked out when TPM PCR hashes change (they can and will change over time as the system is maintained).
Sometimes TPM PCR hashes change -- this is an expected and intended thing that happens on any system used over a period of time since they measure aspects of the system (which can change over time). Solely relying on the TPM to unlock root volumes is risky and exposes users to a lockout/non bootable situation without a recovery key or password. A bad and completely avoidable experience.
コントリビューションガイド
調査の方向性
まず issue #476 と #421 を読み、次に `bootc install to-disk --block-setup tpm2-luks` の実装を調べてください。root LUKS ボリュームがどのようにプロビジョニングされているか、また systemd-cryptenroll のリカバリーキーまたはデフォルト/バックアップパスワードをどこで設定できるかを明らかにしてください。ユーザーが TPM を使わないリカバリー方法を利用でき、TPM PCR ハッシュが変更された場合でもシステムが起動可能なままであれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- linux, rust
- 領域
- operating-systems, security
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100