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

A test starts real Sigstore signing (interactive OIDC login) when the attestation extra is installed

オープン 初心者向け
#604 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 2 日以内に返信

@mlieberman85 がすでに取り組んでいます。

2026年10月18日 から。

  • #629 @mlieberman85 による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
security, testing

調査の方向性

tests/darnit_baseline/attestation/test_generator.py の test_signed_without_dependencies から始め、sign=True のパスを darnit_baseline/attestation/signing.py で辿り、Issuer.identity_token() が呼び出される箇所まで進んでください。その箇所でトークンのソースまたは署名者をスタブに置き換え、テストが Sigstore に到達しないようにしてください。attestation エクストラがインストールされている場合にブラウザが開かないことも確認してください。エクストラをインストールした状態でテストが通り、対話的なログインが発生しなければ完了です。

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

説明

module-baseline needs triage testing

tests/darnit_baseline/attestation/test_generator.py::TestGenerateAttestationFromResults::test_signed_without_dependencies calls generate_attestation_from_results(sign=True). With the attestation extra installed (as with uv sync --all-extras), that reaches darnit_baseline/attestation/signing.py → Issuer.identity_token(), Sigstore's interactive OIDC login.

Locally, it opens browser sign-in tabs and hung three full-suite runs during PR review on 2026-10-15. In CI there's no browser, so the result depends on the runner.

The test should stub the signer (or the token source) so it never reaches Sigstore. A test that exercises real signing belongs behind the opt-in live marker.

This is the kind of leak the proposed hermetic-suite check in #578 (ENF-R1) is meant to catch.

Drafted with Claude Code; reviewed and posted by me.

主要言語
Python
スター
22
フォーク
27
平均マージ
2日 3時間
マージ済み PR(30日)
51

環境構築

はじめの一歩

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

darnitdevorg/darnit のほかの issue

darnitdevorg/darnit の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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