Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

attestation extra allows sigstore 3.x, but signing needs sigstore 4.0

未关闭 适合新手
#606 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
security

调研方向

从 packages/darnit/pyproject.toml 中的 attestation 额外依赖项开始,它将 sigstore 的下限设为 3.0.0,然后找到调用 SigningContext.from_trust_config 的签名路径。检查现有测试是否真正执行了签名。完成的标准是:下限提高到 4.0.0,并且有一个测试要么使用允许的最低版本运行签名,要么断言 SigningContext.from_trust_config 存在。

由索引模型根据 Issue 内容生成。

描述

dependencies module-baseline needs triage

The attestation extra declares sigstore>=3.0.0 (packages/darnit/pyproject.toml), but the signing path calls SigningContext.from_trust_config, which first appears in sigstore 4.0.0. With sigstore 3.x installed, signing fails.

Raise the floor to sigstore>=4.0.0, and add a signing test that runs against the lowest allowed version, or at least asserts the API exists.

Found while removing the dead sigstore 1.x/2.x branches (branch ci-mypy-gate).

Drafted with Claude Code; reviewed and posted by me.

主要语言
Python
星标
22
派生
27
平均合并
1 天 19 小时
30 天内合并 PR
39

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

darnitdevorg/darnit 的其他 Issue

查看 darnitdevorg/darnit 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。