Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1

- name: Install cosign
uses: sigstore/cosign-installer@398d4b0eeef1380460a10c8013a76f728fb906ac # v3
uses: sigstore/cosign-installer@6f9f17788090df1f26f669e9d70d6ae9567deba6 # v4.1.2

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [MEDIUM] v4 はメジャーアップグレードであり、cosign v3 系がインストールされるようになります。リリースノートにあるように cosign sign-blob を使う場合は --bundle フラグの追加が必要になるなどの破壊的変更があります。このワークフロー内で cosign を用いた署名処理(特に sign-blob)を行っている場合は、対応するコマンドの更新が必要か確認してください。

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ご指摘の sign-blob --bundle 要件は既に充足済みです(本 workflow は sign-blob/verify-blob とも --bundle を使用)。

ただし裏取りでより本質的な論点が判明: cosign-installer v4 は既定で cosign v3.0.6 を導入し、cosign v3 は --bundle既定 bundle 形式が新(Sigstore bundle)形式に変わります。影響:

  • workflow 内の sign→verify 自己チェックは同一 cosign(v3)同士なので pass する
  • しかし下流ユーザーの検証: 公開される SHA256SUMS.cosign.bundle が新形式になるため、検証側も cosign v3+ が必要(cosign v2 では検証不可の可能性)。README の検証手順は cosign バージョンを固定していないため、cosign v2 利用者が検証失敗しうる
  • かつ release.yml はタグ push 起動=実リリースでしか検証できない(0.4.1 で v2 署名は検証済み)

保留推奨。採用するなら「README に cosign v3+ 必須を明記+テストタグで実走検証」を伴う意図的な移行が望ましく、blind merge は避けるべきと判断。cosign v2 は現状問題なく動作中。


- name: Download all build artifacts
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4
Expand Down
Loading