← Back to Pull requests

Bump github.com/policylabs/signer from 0.6.8 to 0.7.0 #4647

Closed
unknown closed this pull request without merging on Nov 30, 2026 06:56 UTC
View on GitHub
unknown unknown commented on Nov 30, 2026 01:53 UTC
Author

Bumps github.com/policylabs/signer from 0.6.8 to 0.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/policylabs/signer/releases">github.com/policylabs/signer's releases</a>.</em></p>
<blockquote>
<h2>v0.7.0</h2>
<h2>What's changed since v0.6.8</h2>
<h3>Features</h3>
<ul>
<li>
<p><strong>Sign and verify with SSH keys</strong> (<a href="https://redirect.github.com/policylabs/signer/issues/225">#225</a>): the key backend now handles SSH
keys next to bare keys and GPG. OpenSSH private keys and <code>.pub</code> public keys
are recognized by the key parser, so they work wherever other keys do
(<code>key.NewParser()</code>, <code>--signing-key</code>, <code>--key</code>). Signatures are made in the
SSH signature format, the one <code>ssh-keygen -Y sign</code> produces, over the DSSE
PAE. Ed25519, ECDSA and RSA (SHA-2 only) keys are supported; SSH
certificates are refused. See <a href="https://github.com/policylabs/signer/blob/HEAD/docs/ssh-keys.md">https://github.com/policylabs/signer/blob/HEAD/docs/ssh-keys.md</a>.</p>
</li>
<li>
<p>Signers are identified by the OpenSSH fingerprint of the key:
<code>key::ed25519::SHA256:…</code>.</p>
</li>
<li>
<p>Signing uses the <code>file</code> namespace unless changed with
<code>key.WithSSHNamespace</code> or <code>--signing-ssh-namespace</code>. Verification accepts
any namespace and reports it in <code>key.Public.SignatureNamespace</code>, so
envelopes signed by other tools verify too, such as gittuf's.</p>
</li>
<li>
<p><strong>Sign with keys held by an SSH agent</strong> (<a href="https://redirect.github.com/policylabs/signer/issues/226">#226</a>): the private key can stay in
<code>ssh-agent</code> or a password manager's agent. Name the key with the new
repeatable <code>--signing-ssh-agent-key</code> flag, by the path to its <code>.pub</code> file or
by its <code>SHA256:</code> fingerprint; the agent at <code>SSH_AUTH_SOCK</code> is used. Library
users get <code>key.SSHAgentKey</code> and <code>key.SSHAgentKeys</code>. Unix sockets only, so
not on Windows. Hardware-backed (<code>sk-</code>) keys are untested.</p>
<ul>
<li><strong>Choose the STS providers to use</strong> (<a href="https://redirect.github.com/policylabs/signer/issues/227">#227</a>): the new <code>STSProviders</code> signer
option and <code>--sigstore-sts-providers</code> flag limit the search for ambient
credentials to the providers named, in the order given. For example,
<code>s.Options.STSProviders = []string{&quot;actions&quot;}</code> signs only with the token of
a GitHub Actions workflow. Unknown names are an error. New in the <code>sts</code>
package: <code>Ordered</code>, <code>Select</code> and <code>Named</code>.</li>
</ul>
<h3>Behaviour changes</h3>
</li>
<li>
<p><strong>STS providers are tried in a fixed order</strong> (<a href="https://redirect.github.com/policylabs/signer/issues/227">#227</a>): <code>actions</code>, <code>gitlab</code>,
then <code>gcp</code>, followed by providers added with <code>sts.RegisterProvider</code> in
registration order. The order used to be random, so on a host where more
than one provider had credentials (a self-hosted GitHub Actions runner on
Google Cloud, for example) the signing identity could change between runs.
Such a job now always signs with its CI token; set <code>STSProviders</code> to
<code>gcp</code> to sign with the Google identity instead.</p>
<ul>
<li><strong>SSH fingerprints are compared exactly</strong> (<a href="https://redirect.github.com/policylabs/signer/issues/225">#225</a>): key ids that start with
<code>SHA256:</code> are case-sensitive when matching identities. Other key ids are
still compared ignoring case.</li>
</ul>
<h3>Reliability</h3>
</li>
<li>
<p><strong>More retries when signing</strong> (<a href="https://redirect.github.com/policylabs/signer/issues/228">#228</a>): requests to Fulcio, the timestamp
authority and Rekor are now tried up to four times, waiting 1, 2 and 4
seconds, where they were tried twice. Connections to Fulcio and the
timestamp authority that fail before an answer comes back are retried too;</p>
</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/policylabs/signer/commit/e69079688ff4974e2b2b3c8c293a0985297829d2"><code>e690796</code></a> Merge pull request <a href="https://redirect.github.com/policylabs/signer/issues/230">#230</a> from policylabs/cbn/tag-minor-20261125-020108</li>
<li><a href="https://github.com/policylabs/signer/commit/550b9ea1197f7d5333ab25580ce0b54706eff9f1"><code>550b9ea</code></a> Cut minor release</li>
<li><a href="https://github.com/policylabs/signer/commit/362c4e11a9766bd9c8d9adb90e1c748d42eb0d5d"><code>362c4e1</code></a> Merge pull request <a href="https://redirect.github.com/policylabs/signer/issues/228">#228</a> from policylabs/deterministic-providers</li>
<li><a href="https://github.com/policylabs/signer/commit/eaaa565f32c45297d851337591b06b18dbc7c23a"><code>eaaa565</code></a> Retry more when Fulcio, the TSA or Rekor fail</li>
<li><a href="https://github.com/policylabs/signer/commit/227389aa5ba0a9745383029c02a6dbadd349b8e1"><code>227389a</code></a> Merge pull request <a href="https://redirect.github.com/policylabs/signer/issues/227">#227</a> from policylabs/deterministic-providers</li>
<li><a href="https://github.com/policylabs/signer/commit/551caa99b57f53b5ceb25c7cab95f8291f36768e"><code>551caa9</code></a> Log which STS provider the ambient credentials come from</li>
<li><a href="https://github.com/policylabs/signer/commit/1809bf9ae557205a239a4d8bec21a388e368de52"><code>1809bf9</code></a> Let callers choose the STS providers to use</li>
<li><a href="https://github.com/policylabs/signer/commit/bbeb444650d1b0e43f211011ccd6a4886fe683cf"><code>bbeb444</code></a> Deterministic order tests</li>
<li><a href="https://github.com/policylabs/signer/commit/105b70bd3e84456439e47df50038d937bef093ef"><code>105b70b</code></a> Try the STS providers in a fixed order</li>
<li><a href="https://github.com/policylabs/signer/commit/ba9993b37ab299b2edca254414de2aed1f4a69e5"><code>ba9993b</code></a> Merge pull request <a href="https://redirect.github.com/policylabs/signer/issues/226">#226</a> from policylabs/agent</li>
<li>Additional commits viewable in <a href="https://github.com/policylabs/signer/compare/v0.6.8...v0.7.0">compare view</a></li>
</ul>
</details>
<br />

![Dependabot compatibility score](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR

  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it

  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency

  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)

  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • </details>

    Diff: 650 lines (+487 / -163) across 8 files Reviewer: cpanato Review duration: 303m
    All Vouch review confidence checks passed
    Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.52 · 650 lines diff across 8 files
    0.52
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.388
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #4647"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 52% (MEDIUM) · Higher = larger blast radius
    52%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 56.8% · Lower = rushed or shallow review
    56.8%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 22.5% · Safe to merge
    22.5%