• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / toolhive / 34218465998
70%

Build:
DEFAULT BRANCH: main
Ran 08 Sep 2026 11:08AM UTC
Jobs 1
Files 913
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 Sep 2026 11:00AM UTC coverage: 70.283% (-0.02%) from 70.302%
34218465998

push

github

web-flow
Verify key-signed plugin installs against a public key (#6524)

Verify plugin installs against a public key

Plugins had no key surface at all: a cosign key-pair-signed artifact
could only fail install-time verification, and `--allow-unsigned` could
not rescue it because the artifact is genuinely signed. Skills gained
the install-side key path in #6447; this transliterates it onto plugins,
so a key-signed plugin can be installed project-scoped by supplying the
matching public key, which is then pinned in the lock entry and reused.

The key is the only trust anchor a key-pair bundle can have — no
certificate, no transparency log — so it has to come from outside the
artifact, and dispatch is lock-first: a key-pinned entry verifies
against the key the lock records, and every disagreement with a supplied
key is refused rather than resolved by precedence.

Scope is install-only, matching skills v1: no `--public-key` on upgrade
or sync, and no in-place re-anchor.

Part of #6442

Signed-off-by: Samuele Verzi <samu@stacklok.com>

136 of 151 new or added lines in 6 files covered. (90.07%)

57 existing lines in 4 files now uncovered.

79433 of 113019 relevant lines covered (70.28%)

92.63 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
88.67
2.63% pkg/plugins/pluginsvc/verify.go
5
53.7
-0.84% cmd/thv/app/ai_plugin_install.go

Coverage Regressions

Lines Coverage ∆ File
45
59.63
-4.68% pkg/workloads/manager.go
6
72.34
-6.38% pkg/secrets/keyring/keyctl_linux.go
3
88.67
2.63% pkg/plugins/pluginsvc/verify.go
3
0.0
-100.0% pkg/workloads/sysproc_unix.go
Jobs
ID Job ID Ran Files Coverage
1 34218465998.1 08 Sep 2026 11:08AM UTC 913
70.28
GitHub Action Run
Source Files on build 34218465998
  • Tree
  • List 913
  • Changed 12
  • Source Changed 7
  • Coverage Changed 12
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #34218465998
  • 1e80f9de on github
  • Prev Build on main (#34215649859)
  • Next Build on main (#34220463460)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc