Feature Request: support validation of additional git commit signature types
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
まず source-controller の既存の GPG 検証と、fluxcd/pkg PR 1141 の SSH 署名実装を確認します。実装前に、どの署名タイプ、signer または author の制約、証明書チェック、ツール設定を対象範囲とするかを maintainers と明確にします。選択したパスについて、合意済みの設計と検証カバレッジが整えば完了とします。
索引モデルが issue の本文から書いたものです。
説明
Hi,
I'm currently looking into improving the validation of git commit and tag signatures. SSH signature validation has now been implemented.
I would be happy to implement the support in the source-controller as well but had a few questions regarding the design of the implementation.
In general the GPG validation lacks the configuration options to define a list of valid commiters or authors. This is especially troublesome if an instance key is used to sign the commits (GitLab, GitHub).
To give users the option to use "signed web commits" I would propose following options and implementation:
- GPG and SSH:
- Verify signatures (GPG and SSH) with provided public keys
- Verify commit commiter against list of valid commiters, if provided via configuration
- Verify commit auther against list of valid authers, if provided via configuration
- x509:
- Verify signature certificate CN against list of valid commiters, if provided via configuration
- Verify signature certificate agains a CA certificate, if provided
- support implementations for smimesign and gitsign
- provide config option to pass further configuration to gitsign (rekor and fulcio configuration)
What are your thoughts on this?
Implementing this would enable our organisation to enforce signed Git commits for Kubernetes deployments. Then the user and organisation can choose which type of git signatures are used which level will be enforced.
- 主要言語
- Go
- スター
- 283
- フォーク
- 252
- 平均マージ
- 1時間 4分
- マージ済み PR(30日)
- 11
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
fluxcd/source-controller のほかの issue
-
area/docs good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
fluxcd/source-controller#666 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
area/oci area/security enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 68/100
fluxcd/source-controller#2167 · コメント 4 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area/git bug
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
fluxcd/source-controller#2165 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
fluxcd/source-controller#2150 ·
メンテナーはふだん 1 日以内に返信
-
GitRepository `.spec.ref.commit` + `.spec.ref.branch` does not shallow clone, contrary to the docsオープン
難易度 5/5 1週間以上 初心者へのやさしさ 42/100
fluxcd/source-controller#2146 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
fluxcd/source-controller の issue をすべて見る
似ている issue
-
automation models
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
txn2/mcp-data-platform#1984 ·
メンテナーはふだん 1 日以内に返信
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
kind/docs prio/P2
難易度 1/5 1時間未満 初心者へのやさしさ 95/100
agent-substrate/substrate#1986 ·
メンテナーはふだん 1 日以内に返信